aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ruby 1.9 compat: account for different String#hashJeremy Kemper2008-07-151-1/+2
|
* Ruby 1.9 compat: call Proc#binding explicitly. [#623 state:resolved]松田 明2008-07-151-1/+1
|
* Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping. [#579 ↵Adrian Mugnolo2008-07-153-6/+97
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* SQLite: rename_column raises if the column doesn't exist.Tarmo Tänav2008-07-141-0/+3
| | | | [#622 state:resolved]
* Fixed postgresql limited eager loading for the case where scoped :order was ↵Tarmo Tänav2008-07-141-3/+8
| | | | present
* Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, ↵gbuesing2008-07-143-1/+9
| | | | because Ruby's marshaling of Time instances doesn't respect the zone
* Append a "_" to memoized instance variablesJoshua Peek2008-07-141-3/+4
|
* Some performance tweaks to ActiveSupport::MemoizableTarmo Tänav2008-07-142-2/+8
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* memorize typoJoshua Peek2008-07-145-15/+15
|
* Include Memoizable in ActionView::TemplateJoshua Peek2008-07-143-43/+27
|
* Added Memoizable mixin for caching simple lazy loaded attributesJoshua Peek2008-07-144-0/+80
|
* Use sub instead of gsubTarmo Tänav2008-07-141-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Eager load Partial variable_name and counter_name. Tidy up ↵Joshua Peek2008-07-144-45/+49
| | | | render_partial_collection.
* Fix integer quoting issues in association preload. [#602 state:resolved]Tiago Macedo2008-07-142-3/+19
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add assert_sql helper method to check for specific SQL output in Active ↵Gabe da Silveira2008-07-142-7/+18
| | | | | | Record test suite. [#325 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move dead recompile_template? alsoJeremy Kemper2008-07-142-17/+2
|
* Remove dead code from mergeJeremy Kemper2008-07-141-30/+0
|
* Fixed mysql change_column_default to not make the column always nullable.Tarmo Tänav2008-07-144-7/+86
| | | | | | Also added change_column_null to both mysql and sqlite to keep the api features closer to postgresql. [#617 state:resolved]
* Fixed test_rename_nonexistent_column for PostgreSQLTarmo Tänav2008-07-141-1/+7
| | | | | | Also fixed ability to run migration_test.rb alone [#616 state:resolved]
* PostgreSQL: don't dump :limit => 4 for integersJeremy Kemper2008-07-141-1/+0
|
* Fix bad mergeJeremy Kemper2008-07-141-2/+2
|
* Faster and clearer value_to_booleanJeremy Kemper2008-07-141-5/+4
|
* Cache Module#parent_nameJeremy Kemper2008-07-141-6/+17
|
* Cache template loading for performance testsJeremy Kemper2008-07-141-0/+1
|
* Use instance_method(...) to check whether the method existsJeremy Kemper2008-07-141-2/+44
|
* Restore the more readable before_ and after_filters methods since they ↵Jeremy Kemper2008-07-141-10/+2
| | | | aren't called frequently
* Fixed that create database statements would always include "DEFAULT NULL" ↵David Heinemeier Hansson2008-07-143-1/+42
| | | | (Nick Sieger) [#334 status:committed]
* Added db:charset support to PostgreSQL. [#556 state:resolved]Sebastian A. Espindola2008-07-144-1/+22
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make script/plugin install <plugin> -r <revision> option work with git based ↵Tim Pope2008-07-142-15/+37
| | | | | | plugins. [#257 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add :accessible option to Associations for allowing mass assignments using ↵David Dollar2008-07-146-5/+149
| | | | | | | | | | | | | | | | | | | | | | | | | hash. [#474 state:resolved] Allows nested Hashes (i.e. from nested forms) to hydrate the appropriate ActiveRecord models. class Post < ActiveRecord::Base belongs_to :author, :accessible => true has_many :comments, :accessible => true end post = Post.create({ :title => 'Accessible Attributes', :author => { :name => 'David Dollar' }, :comments => [ { :body => 'First Post!' }, { :body => 'Nested Hashes are great!' } ] }) post.comments << { :body => 'Another Comment' } Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add block syntax to HasManyAssociation#build. [#502 state:resolve]Jason Dew2008-07-142-3/+37
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make fixture accessors work when fixture name is not same as the table name. ↵Rhett Sutphin2008-07-142-3/+33
| | | | | | [#124 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Enable loading fixtures from arbitrary locations. [#586 state:resolved]Jacek Becela2008-07-141-4/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Slightly faster DateTime#to_json. [#598 state:resolved] [Alex Zepeda]Pratik Naik2008-07-141-1/+1
|
* Ensure :index works with fields_for select methods. [#518 state:resolved]rsl2008-07-142-4/+889
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use full path in database tasks so commands will work outside of Rails root ↵Tapajós2008-07-131-10/+10
| | | | | | [#612 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Check first render format and extension. Fixes failing ActionMailer test.Joshua Peek2008-07-131-1/+1
|
* Small tweak to e0fef66Joshua Peek2008-07-131-3/+3
|
* Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-138-23/+25
| | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved]
* Set config.action_view.warn_cache_misses = true to receive a warning if you ↵Joshua Peek2008-07-124-5/+36
| | | | perform an action that results in an expensive disk operation that could be cached
* Refactor template preloading. New abstractions include Renderable mixins and ↵Joshua Peek2008-07-1221-467/+356
| | | | a refactored Template class.
* Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-1215-49/+4
|
* Removed a few implementation specific view path testsJoshua Peek2008-07-121-14/+0
|
* Improve test coverage and create fixtures for ↵Joshua Peek2008-07-126-0/+14
| | | | RenderPartialWithRecordIdentificationTests
* Ensure script/generate finds generators from symlinked plugins. [#449 ↵Daniel Guettler2008-07-121-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Restore support for partial matches in assert_redirected_toMichael Koziarski2008-07-122-2/+14
| | | | If both the actual redirection and the asserted redirection are hashes, succeed if the asserted redirection is a strict subset of the actual redirection.
* Ensure mail_to label is obfuscated for javascript encoding. [#294 ↵Johan Sørensen2008-07-122-1/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure MysqlAdapter allows SSL connection when only sslca is supplied. [#253 ↵Micah Wedemeyer2008-07-111-2/+5
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Changed ActionView::TemplateHandler#render API method signature to ↵Joshua Peek2008-07-117-13/+14
| | | | render(template, local_assigns = {})
* Use require_dependency 'application' not require in the console bootstraps ↵Michael Koziarski2008-07-111-1/+1
| | | | to avoid requiring application.rb twice