aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Fix eager loading of associations causing table name collisionsErnie Miller2010-04-284-49/+111
| | | | | | | | | | | | | | | | | | [#4463 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| | * object_id may be negative, producing an invalid symbol. h/t Markus SchirpJeremy Kemper2010-04-281-1/+1
| | |
| | * Fix failing test.José Valim2010-04-282-1/+1
| | |
| | * failing test for: validates_acceptance_of overrides database fieldsSantiago Pastorino2010-04-281-0/+33
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| | * Makes validates_acceptance_of to not override database fields [#4460 ↵Santiago Pastorino2010-04-283-2/+11
| | | | | | | | | | | | | | | | | | state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Merge branch 'master' of github.com:rails/railswycats2010-04-2689-818/+814
| |\ \
| * | | Allow :remote => false to be passed to link_toNicolas Sanguinetti2010-04-223-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | And add tests for `button_to` and `form_tag` which currently behave as expected, so we avoid a regression. Signed-off-by: wycats <wycats@gmail.com>
* | | | fix formateparreno2010-04-301-30/+30
| | | |
* | | | Add generators to the guides and break out an extensions sectionwycats2010-04-302-12/+24
| | | |
* | | | more fixes and updated the changelogrohit2010-04-301-4/+5
| | | |
* | | | fixes to tags sectionrohit2010-04-301-4/+13
| | | |
* | | | Rewrote Security para and a minor fixrohit2010-04-301-2/+2
| | | |
* | | | Rewrote para for clarity and better readingRohit Arondekar2010-04-291-1/+1
| | | |
* | | | Small grammatical fix.Ben Orenstein2010-04-291-1/+1
| | | |
* | | | Make output match code.Ben Orenstein2010-04-291-1/+1
| | | |
* | | | Fix sentence fragment and improve wording in generated README.Ben Orenstein2010-04-291-2/+2
| | | |
* | | | as changes named routes, path is the appropriate option in this caseSantiago Pastorino2010-04-291-1/+1
| | | |
* | | | Change %5b ([) to %5d (]) in escaped URLTore Darell2010-04-291-1/+1
| | | |
* | | | Replace send_data with send_file in "Sending files" exampleTore Darell2010-04-291-1/+1
| | | |
* | | | revert back to <b> tags instead of <strong> tags in the getting started guiderohit2010-04-291-29/+29
| |_|/ |/| |
* | | Merge commit 'rails/master'Xavier Noria2010-04-28121-1408/+2408
|\ \ \
| * | | Bundle json and yajl-ruby gems for AS::JSON testingJeremy Kemper2010-04-281-0/+3
| | | |
| * | | Fix BigDecimal JSON encoding test. [#4495 state:resolved]Cezary Baginski2010-04-281-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | | Fix prototype grep depending on JSON encoding regexp as JavaScript regexpJeremy Kemper2010-04-271-1/+1
| | | |
| * | | Destroy respects optimistic locking.Curtis Hawthorne2010-04-274-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now works with :dependent => :destroy and includes unit tests for that case. Also includes better error messages when updating/deleting stale objects. [#1966 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | | Only run load hooks once a file has been fully loaded.Nathan Weizenbaum2010-04-272-4/+3
| | | | | | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | | Switch driver to pg. [#3635 state:resolved]Jeremy Kemper2010-04-271-5/+5
| | | |
| * | | ActiveSupport::Cache refactoringBrian Durand2010-04-279-509/+1403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All Caches * Add default options to initializer that will be sent to all read, write, fetch, exist?, increment, and decrement * Add support for the :expires_in option to fetch and write for all caches. Cache entries are stored with the create timestamp and a ttl so that expiration can be handled independently of the implementation. * Add support for a :namespace option. This can be used to set a global prefix for cache entries. * Deprecate expand_cache_key on ActiveSupport::Cache and move it to ActionController::Caching and ActionDispatch::Http::Cache since the logic in the method used some Rails specific environment variables and was only used by ActionPack classes. Not very DRY but there didn't seem to be a good shared spot and ActiveSupport really shouldn't be Rails specific. * Add support for :race_condition_ttl to fetch. This setting can prevent race conditions on fetch calls where several processes try to regenerate a recently expired entry at once. * Add support for :compress option to fetch and write which will compress any data over a configurable threshold. * Nil values can now be stored in the cache and are distinct from cache misses for fetch. * Easier API to create new implementations. Just need to implement the methods read_entry, write_entry, and delete_entry instead of overwriting existing methods. * Since all cache implementations support storing objects, update the docs to state that ActiveCache::Cache::Store implementations should store objects. Keys, however, must be strings since some implementations require that. * Increase test coverage. * Document methods which are provided as convenience but which may not be universally available. MemoryStore * MemoryStore can now safely be used as the cache for single server sites. * Make thread safe so that the default cache implementation used by Rails is thread safe. The overhead is minimal and it is still the fastest store available. * Provide :size initialization option indicating the maximum size of the cache in memory (defaults to 32Mb). * Add prune logic that removes the least recently used cache entries to keep the cache size from exceeding the max. * Deprecated SynchronizedMemoryStore since it isn't needed anymore. FileStore * Escape key values so they will work as file names on all file systems, be consistent, and case sensitive * Use a hash algorithm to segment the cache into sub directories so that a large cache doesn't exceed file system limits. * FileStore can be slow so implement the LocalCache strategy to cache reads for the duration of a request. * Add cleanup method to keep the disk from filling up with expired entries. * Fix increment and decrement to use file system locks so they are consistent between processes. MemCacheStore * Support all keys. Previously keys with spaces in them would fail * Deprecate CompressedMemCacheStore since it isn't needed anymore (use :compress => true) [#4452 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | | use ordinary syntax for options to be well-formed in 1.8Xavier Noria2010-04-271-1/+1
| | |/ | |/|
| * | JSON: encode objects that don't have a native JSON representation using ↵Jeremy Kemper2010-04-263-7/+43
| | | | | | | | | | | | to_hash, if available, instead of instance_values (the old fallback) or to_s (other encoders' default). Encode BigDecimal and Regexp encode as strings to conform with other encoders. Try to transcode non-UTF-8 strings.
| * | Update CHANGELOG for include_root_in_json.Jeremy Kemper2010-04-261-0/+5
| | |
| * | Reuse Active Model serialization in Active Resource. [#2584 state:committed]Santiago Pastorino2010-04-262-69/+25
| | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Use explicit source encoding rather than forced UTF-8 from US-ASCII.Santiago Pastorino2010-04-264-5/+4
| | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved]Anil Wadghule2010-04-269-9/+17
| | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Make db console work for all versions of ruby on Windows.unknown2010-04-261-1/+2
| | | | | | | | | | | | | | | | | | [#3999 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | extract ActionController::TestCase::BehaviorDavid Chelimsky2010-04-261-126/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this makes it possible for other test frameworks to hook into testing facilities provided by Rails without having to subclass AC::TestCase. [#4474 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | No need to require test and rdoc tasks.José Valim2010-04-261-3/+0
| | |
| * | Ensure application rake tasks and generators are loaded after the ones ↵José Valim2010-04-264-2/+29
| | | | | | | | | | | | specified in railties/engines/rails. [#4471 state:resolved]
| * | Refactor tests by moving all middleware tests to the same place.José Valim2010-04-264-120/+117
| | |
| * | Revert "create option to include_root_in_json for ActiveResource [#2584 ↵Jeremy Kemper2010-04-252-32/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | state:committed]" This reverts commits 72f89b5d971b48a133c4c0af56fbeda35d738dae, 137d8e0b2fe9fcc4fdac6cbbd44ca010784e5972. Should reuse Active Model. [#2584 state:incomplete]
| * | Action Pack: fix tests with -K*, work around Ruby 1.9.1 constant lookup.Cezary Baginski2010-04-253-6/+6
| | | | | | | | | | | | | | | | | | [#4473 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Support fixtures for namespaced models [#2965 state:resolved]Andrew White2010-04-259-7/+45
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Fix validates_numericaly_of only integer error message [#4406 state:resolved]reu2010-04-253-20/+28
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | allow unsubscribe by name or subscription [#4433 state:resolved]David Chelimsky2010-04-243-5/+38
| | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Missed commit: explicit source encodingJeremy Kemper2010-04-241-1/+1
| | |
| * | Explicit source encodingJeremy Kemper2010-04-241-0/+1
| | |
| * | Remove quoted_string_prefix entirely since PostgreSQL was the only database ↵Jeremy Kemper2010-04-242-9/+5
| | | | | | | | | | | | adapter relying on it.
| * | Add a test for assert_recognizes on ActionDispatch::IntegrationTest [#4390 ↵Santiago Pastorino2010-04-242-1/+13
| | | | | | | | | | | | | | | | | | state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Make assert_recognizes work in IntegrationTest [#4390 state:committed]Matthew Rudy Jacobs2010-04-241-1/+3
| | | | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | PostgreSQL: always rely on pg driver for escape/unescape and quoting dutiesJeremy Kemper2010-04-241-88/+7
| | |