aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* RouteSet does not raise ActionController::RoutingError when no routes match ↵Carl Lerche2010-04-304-18/+35
| | | | anymore. Instead, it follows the X-Cascade convention. ShowExceptions checks for X-Cascade so that the routing error page can still be displayed.
* Fix a bug in the generators from the previous commitCarl Lerche2010-04-301-1/+1
|
* It would be nice to actually commit test fixturesCarlhuda2010-04-303-0/+16
|
* Provide a mechanism for overriding the entire generator via a class that ↵Carlhuda2010-04-302-95/+181
| | | | handles the individual elements of generating a new Rails application
* Set up app generator class to make it easier to for alt-stacks to override ↵Carlhuda2010-04-302-104/+221
| | | | targeted areas
* Merge remote branch 'technoweenie/http_token_authentication'Jeremy Kemper2010-04-304-0/+274
|\ | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * add HTTP Token Authorization support to complement Basic and Digest ↵rick2010-04-303-0/+272
| | | | | | | | Authorization.
* | after_(commit|rollback) rdoc, edit passXavier Noria2010-04-301-5/+5
| |
* | guides index: punctuationXavier Noria2010-04-301-1/+1
| |
* | Add generators to the guides and break out an extensions sectionwycats2010-04-302-12/+24
| |
* | Merge branch 'master' of github.com:rails/railswycats2010-04-3091-1419/+3072
|\|
| * Depend on the I18n 0.4.0.beta.José Valim2010-04-301-1/+1
| |
| * Delegate Inflector.transliterate to i18n. [#4508 state:resolved]Norman Clarke2010-04-303-89/+101
| | | | | | | | | | | | | | Ancillary changes: Moved Chars#normalize into a class method; removed unused UTF_PAT constant. Signed-off-by: José Valim <jose.valim@gmail.com>
| * to_xml with :include should skip_instruct on the included records [#4506 ↵Lawrence Pit2010-04-303-2/+11
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * removing the extra assignment statement [#4432 state:resolved]Neeraj Singh2010-04-301-1/+0
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * test cases for record.to_xml [#458 state:resolved]Neeraj Singh2010-04-304-0/+28
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Updated the generators guide.José Valim2010-04-301-20/+14
| |
| * Update generators to use thor 0.13.6 with simpler source_root handling.José Valim2010-04-306-32/+30
| |
| * Reorganize the mailer generator a bit.José Valim2010-04-304-2/+2
| |
| * Update after_commit and after_rollback docs and tests to use new style API ↵Brian Durand2010-04-292-11/+6
| | | | | | | | | | | | | | | | with an :on options instead of on_* suffix. [#2991] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Move ActionMailer generator to AMCarlhuda2010-04-295-2/+7
| |
| * Update thor dependency to 0.13.5José Valim2010-04-292-2/+2
| |
| * Add after_commit and after_rollback callbacks to ActiveRecord that are ↵Brian Durand2010-04-295-28/+466
| | | | | | | | | | | | | | | | called after transactions either commit or rollback on all records saved or destroyed in the transaction. [#2991 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Fix docs typo: app.middlewares -> app.middlewareJeremy Kemper2010-04-291-1/+1
| |
| * Add missing deprecation requiresJeremy Kemper2010-04-293-0/+3
| |
| * making rake:migrate VERSION=0 a noop called in succession. [#2137 ↵Neeraj Singh2010-04-292-3/+26
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fix form builder and form helpers inconsistencies [#4432 state:resolved]Neeraj Singh2010-04-293-64/+115
| | | | | | | | | | | | | | | | * datetime_select and select_datetime should be consistent as much as possible * date_select and select_date should be consistent as much as possible * time_select and select_time should be consistent as much as possible Signed-off-by: José Valim <jose.valim@gmail.com>
| * ActiveRecord middlewares should be inserted before AD::Cascade [#4493 ↵José Valim2010-04-293-11/+6
| | | | | | | | state:resolved].
| * warn user if options are given before application name [#3435 state:resolved]Ravinder Singh2010-04-292-0/+6
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * ActionCachingTestController rescues from all exceptions. Making sure that ↵Neeraj Singh2010-04-292-1/+32
| | | | | | | | | | | | all the tests check for valid response. [#4468 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵José Valim2010-04-2913-336/+255
| | | | | | | | | | | | both Hash and Array depends on. Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array.
| * Ops. Rename performance to profiler.José Valim2010-04-291-1/+1
| |
| * array.to_xml should be able to handle all types of data elements [#4490 ↵Neeraj Singh2010-04-297-72/+84
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * The rake task :environment now loads config/environment.rb instead of ↵José Valim2010-04-2912-78/+90
| | | | | | | | initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
| * 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 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
| | |
| * | readability fixes to two paras in Refactorizationrohit2010-04-281-2/+2
| | |
| * | replaced <b> tag with <strong> tag in samplesrohit2010-04-281-29/+29
| | |