Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ruby 1.9 compat: account for different String#hash | Jeremy Kemper | 2008-07-15 | 1 | -1/+2 |
| | |||||
* | Ruby 1.9 compat: call Proc#binding explicitly. [#623 state:resolved] | 松田 明 | 2008-07-15 | 1 | -1/+1 |
| | |||||
* | Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping. [#579 ↵ | Adrian Mugnolo | 2008-07-15 | 3 | -6/+97 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | SQLite: rename_column raises if the column doesn't exist. | Tarmo Tänav | 2008-07-14 | 1 | -0/+3 |
| | | | | [#622 state:resolved] | ||||
* | Fixed postgresql limited eager loading for the case where scoped :order was ↵ | Tarmo Tänav | 2008-07-14 | 1 | -3/+8 |
| | | | | present | ||||
* | Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, ↵ | gbuesing | 2008-07-14 | 3 | -1/+9 |
| | | | | because Ruby's marshaling of Time instances doesn't respect the zone | ||||
* | Append a "_" to memoized instance variables | Joshua Peek | 2008-07-14 | 1 | -3/+4 |
| | |||||
* | Some performance tweaks to ActiveSupport::Memoizable | Tarmo Tänav | 2008-07-14 | 2 | -2/+8 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | memorize typo | Joshua Peek | 2008-07-14 | 5 | -15/+15 |
| | |||||
* | Include Memoizable in ActionView::Template | Joshua Peek | 2008-07-14 | 3 | -43/+27 |
| | |||||
* | Added Memoizable mixin for caching simple lazy loaded attributes | Joshua Peek | 2008-07-14 | 4 | -0/+80 |
| | |||||
* | Use sub instead of gsub | Tarmo Tänav | 2008-07-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Eager load Partial variable_name and counter_name. Tidy up ↵ | Joshua Peek | 2008-07-14 | 4 | -45/+49 |
| | | | | render_partial_collection. | ||||
* | Fix integer quoting issues in association preload. [#602 state:resolved] | Tiago Macedo | 2008-07-14 | 2 | -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 Silveira | 2008-07-14 | 2 | -7/+18 |
| | | | | | | Record test suite. [#325 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Move dead recompile_template? also | Jeremy Kemper | 2008-07-14 | 2 | -17/+2 |
| | |||||
* | Remove dead code from merge | Jeremy Kemper | 2008-07-14 | 1 | -30/+0 |
| | |||||
* | Fixed mysql change_column_default to not make the column always nullable. | Tarmo Tänav | 2008-07-14 | 4 | -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 PostgreSQL | Tarmo Tänav | 2008-07-14 | 1 | -1/+7 |
| | | | | | | Also fixed ability to run migration_test.rb alone [#616 state:resolved] | ||||
* | PostgreSQL: don't dump :limit => 4 for integers | Jeremy Kemper | 2008-07-14 | 1 | -1/+0 |
| | |||||
* | Fix bad merge | Jeremy Kemper | 2008-07-14 | 1 | -2/+2 |
| | |||||
* | Faster and clearer value_to_boolean | Jeremy Kemper | 2008-07-14 | 1 | -5/+4 |
| | |||||
* | Cache Module#parent_name | Jeremy Kemper | 2008-07-14 | 1 | -6/+17 |
| | |||||
* | Cache template loading for performance tests | Jeremy Kemper | 2008-07-14 | 1 | -0/+1 |
| | |||||
* | Use instance_method(...) to check whether the method exists | Jeremy Kemper | 2008-07-14 | 1 | -2/+44 |
| | |||||
* | Restore the more readable before_ and after_filters methods since they ↵ | Jeremy Kemper | 2008-07-14 | 1 | -10/+2 |
| | | | | aren't called frequently | ||||
* | Fixed that create database statements would always include "DEFAULT NULL" ↵ | David Heinemeier Hansson | 2008-07-14 | 3 | -1/+42 |
| | | | | (Nick Sieger) [#334 status:committed] | ||||
* | Added db:charset support to PostgreSQL. [#556 state:resolved] | Sebastian A. Espindola | 2008-07-14 | 4 | -1/+22 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Make script/plugin install <plugin> -r <revision> option work with git based ↵ | Tim Pope | 2008-07-14 | 2 | -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 Dollar | 2008-07-14 | 6 | -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 Dew | 2008-07-14 | 2 | -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 Sutphin | 2008-07-14 | 2 | -3/+33 |
| | | | | | | [#124 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Enable loading fixtures from arbitrary locations. [#586 state:resolved] | Jacek Becela | 2008-07-14 | 1 | -4/+7 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Slightly faster DateTime#to_json. [#598 state:resolved] [Alex Zepeda] | Pratik Naik | 2008-07-14 | 1 | -1/+1 |
| | |||||
* | Ensure :index works with fields_for select methods. [#518 state:resolved] | rsl | 2008-07-14 | 2 | -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ós | 2008-07-13 | 1 | -10/+10 |
| | | | | | | [#612 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Check first render format and extension. Fixes failing ActionMailer test. | Joshua Peek | 2008-07-13 | 1 | -1/+1 |
| | |||||
* | Small tweak to e0fef66 | Joshua Peek | 2008-07-13 | 1 | -3/+3 |
| | |||||
* | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 8 | -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 Peek | 2008-07-12 | 4 | -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 Peek | 2008-07-12 | 21 | -467/+356 |
| | | | | a refactored Template class. | ||||
* | Set global ActionController::Base.view_paths for test cases | Joshua Peek | 2008-07-12 | 15 | -49/+4 |
| | |||||
* | Removed a few implementation specific view path tests | Joshua Peek | 2008-07-12 | 1 | -14/+0 |
| | |||||
* | Improve test coverage and create fixtures for ↵ | Joshua Peek | 2008-07-12 | 6 | -0/+14 |
| | | | | RenderPartialWithRecordIdentificationTests | ||||
* | Ensure script/generate finds generators from symlinked plugins. [#449 ↵ | Daniel Guettler | 2008-07-12 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Restore support for partial matches in assert_redirected_to | Michael Koziarski | 2008-07-12 | 2 | -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ørensen | 2008-07-12 | 2 | -1/+2 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure MysqlAdapter allows SSL connection when only sslca is supplied. [#253 ↵ | Micah Wedemeyer | 2008-07-11 | 1 | -2/+5 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Changed ActionView::TemplateHandler#render API method signature to ↵ | Joshua Peek | 2008-07-11 | 7 | -13/+14 |
| | | | | render(template, local_assigns = {}) | ||||
* | Use require_dependency 'application' not require in the console bootstraps ↵ | Michael Koziarski | 2008-07-11 | 1 | -1/+1 |
| | | | | to avoid requiring application.rb twice |