aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests for rack response content typePratik Naik2008-07-161-0/+21
|
* Run callbacks from object's metaclass [#575 state:resolved]Joshua Peek2008-07-153-1/+35
|
* Added Object#metaclassJoshua Peek2008-07-153-0/+17
|
* Add tests for CgiRequest#content_typePratik Naik2008-07-161-0/+12
|
* RackRequest#content_type should return Mime::TypePratik Naik2008-07-162-1/+13
|
* Improved test coverage for fragment cache helperJoshua Peek2008-07-154-13/+63
|
* JavaScriptGenerator should only sets output_buffer for the duration of the ↵Jeremy Kemper2008-07-154-12/+22
| | | | update block
* Observers not longer add an after_find method to the observed class.Stefan Kaes2008-07-152-7/+14
| | | | [#625 state:resolved]
* requiring rubygems version 1.1.1David Lowenfels2008-07-151-4/+4
|
* update_counters should update nil values.miloops2008-07-153-3/+21
| | | | | | This allows counter columns with default null instead of requiring default 0. [#493 state:resolved]
* Give more info on missing gems and abort instead of printing a warning. App ↵Jeremy Kemper2008-07-151-5/+10
| | | | can begin in incomplete state otherwise.
* Move performance test helper settings to railtiesPratik Naik2008-07-152-6/+7
|
* Get buffer for fragment cache from template's @output_bufferJoshua Peek2008-07-1511-260/+198
|
* Move the transaction counter to the connection object rather than ↵Jonathan Viney2008-07-155-21/+48
| | | | | | | maintaining it on the current Thread. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#533 state:resolved]
* Try to get more useful errors out of the test_line_offset failuresMichael Koziarski2008-07-151-10/+10
|
* Ruby 1.9 compat: only eval with block.binding in 1.9, uses more memory than ↵Jeremy Kemper2008-07-151-6/+12
| | | | eval with block
* 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
|