Commit message (Expand) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid warning spam by flipping to the new callbacks mechanism. These callbac... | Michael Koziarski | 2009-10-15 | 1 | -1/+1 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks | Joshua Peek | 2009-10-12 | 4 | -12/+12 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a :limit option to specify the maximum number of records that can be proc... | Pratik Naik | 2009-10-09 | 1 | -1/+14 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store entire options hash in the class var rather than just the reject_if pro... | Pratik Naik | 2009-10-09 | 1 | -12/+15 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use indifferent access attributes instead of stringifying them | Pratik Naik | 2009-10-08 | 1 | -2/+2 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow accepts_nested_attributes_for :reject_if option accept symbols for usin... | Pratik Naik | 2009-10-07 | 1 | -6/+33 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call initialize_copy when cloning [#3164 state:resolved] | Paul Gillard | 2009-10-06 | 1 | -27/+38 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make has_one with :conditions hash scope build or creation of the associated ... | Luciano G Panaro | 2009-09-28 | 2 | -1/+12 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instrument process_action, render and sql. | José Valim | 2009-09-20 | 1 | -13/+9 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract class-finder method from instantiate | Jeremy Kemper | 2009-09-17 | 1 | -27/+19 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Collapse nested conditional | Jeremy Kemper | 2009-09-17 | 1 | -15/+13 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable use of MySQL stored procedures by default. | Justin Bailey | 2009-09-17 | 1 | -1/+4 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 1.9 compat: corrected instance_methods check | sdsykes | 2009-09-13 | 1 | -1/+2 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the version of ActiveRecord::Base#destroyed? that was added in a44a12... | Eloy Duran | 2009-09-12 | 1 | -5/+0 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed some superfluous conditionals from the autosave association validatio... | Eloy Duran | 2009-09-12 | 1 | -5/+3 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define autosave association validation methods only when needed. [#3161 state... | Alexey Kovyrin | 2009-09-12 | 1 | -3/+10 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added some documentation about setting :autosave => false on an association. | Eloy Duran | 2009-09-12 | 1 | -3/+4 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During autosave, ignore records that already have been destroyed. [#2537 stat... | Eloy Duran | 2009-09-12 | 1 | -2/+4 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix has_one with foreign_key and primary_key association bug which caused the... | Graeme Porteous | 2009-09-12 | 1 | -3/+6 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename nested attributes _delete to _destroy to reflect its actual behavior a... | José Valim | 2009-09-12 | 1 | -21/+32 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix autosave association to skip validation if it is marked for destruction. ... | Dmitry Polushkin | 2009-09-12 | 1 | -7/+5 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitely setting `autosave => false' should override new_record autosaving... | Eloy Duran | 2009-09-12 | 1 | -3/+3 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't cascade autosave validation to destroyed children. [#2761 state:resolved] | Lance Ivy | 2009-09-12 | 2 | -0/+7 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raise an exception with friendlier error message when attempting to build a p... | Mike Breen | 2009-09-12 | 1 | -1/+6 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix habtm associations when using multiple databases | sdsykes | 2009-09-12 | 1 | -2/+2 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Allow frameworks to be required by their gem name" | Jeremy Kemper | 2009-09-12 | 1 | -1/+0 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the copyright notice not to show it in the result of 'ri ActiveRecord'. | Shugo Maeda | 2009-09-11 | 1 | -22/+0 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor new callbacks and AR implementation. | José Valim | 2009-09-08 | 1 | -59/+20 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed ActiveRecord to use new callbacks and speed up observers by only noti... | José Valim | 2009-09-08 | 5 | -189/+185 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix warnings in AMo | Joshua Peek | 2009-09-05 | 1 | -1/+1 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Assert primary key does not exist in habtm when the association is de... | Jeremy Kemper | 2009-09-02 | 2 | -11/+27 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't try to log protected attribute removal if there's no logger defined [#3... | Jeffrey Hardy | 2009-09-02 | 1 | -1/+3 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assert primary key does not exist in habtm when the association is defined, i... | José Valim | 2009-09-01 | 2 | -28/+12 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I added this feature so that a Map of changed fields could be retrieved | Josh Sharpe | 2009-08-31 | 1 | -2/+9 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use AR::Base.connection for fixture column quoting. Use the connection ... | Jeffrey Hardy | 2009-08-26 | 1 | -7/+9 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allow ActiveRecord#RecordInvalid exception message to be localized | Sven Fuchs | 2009-08-26 | 2 | -1/+3 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove support for SQLite 2. | Pratik Naik | 2009-08-17 | 2 | -42/+3 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix calculation tests on sqlite2 [#3053 state:resolved] | Jay Pignata | 2009-08-15 | 1 | -1/+1 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Break up concerns for choosing what attributes should be serialized and the a... | Joshua Peek | 2009-08-13 | 3 | -64/+49 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary scoping for creating hm:t join record | Pratik Naik | 2009-08-10 | 1 | -3/+4 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary scoping and validation checks from hm:t#create | Pratik Naik | 2009-08-10 | 1 | -1/+1 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unify hm:t#create and create! implementation | Pratik Naik | 2009-08-10 | 1 | -17/+13 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract common dirty tracking methods in AMo | Joshua Peek | 2009-08-10 | 1 | -114/+9 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AMo overrides alias_attribute and manages aliasing all known attribute method... | Joshua Peek | 2009-08-10 | 1 | -17/+0 | |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use table prefix and suffix for schema_migrations index. | Tim Peters | 2009-08-09 | 1 | -1/+1 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce validates_with to encapsulate attribute validations in a class. | Jeff Dean | 2009-08-09 | 2 | -0/+69 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PostgreSQL: XML datatype support | Leonardo Borges | 2009-08-09 | 2 | -13/+36 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raises an exception on habtm join table inserts if join table contains a prim... | Jaime Bellmyer | 2009-08-09 | 1 | -2/+14 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raises exception (ActiveRecord::ConfigurationError with message) on habtm ass... | Jaime Bellmyer | 2009-08-09 | 5 | -0/+36 | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix that creating a table whose primary key prefix type is :table_name genera... | Morgan Schweers | 2009-08-09 | 1 | -1/+1 |