aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge commit 'rails/master'Emilio Tagua2009-07-311-100/+45
|\| | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb
| * Start separating primary key concernsJoshua Peek2009-07-301-65/+1
| |
| * Move id attribute methods into their related concernJoshua Peek2009-07-301-29/+0
| |
| * Restore DangerousAttributeErrorJoshua Peek2009-07-301-0/+4
| |
| * Wrap up attribute method reset concerns in 'undefine_attribute_methods'Joshua Peek2009-07-301-2/+2
| |
| * Generate methods for all suffixesJoshua Peek2009-07-301-4/+0
| |
| * Concernify AR AttributeMethodsJoshua Peek2009-07-301-1/+3
| |
| * Merge docrailsPratik Naik2009-07-251-3/+39
| |
* | Added ActiveRecord::Relation tests. Allow Relation to accept conditionalEmilio Tagua2009-07-311-2/+6
| | | | | | | | hashes and arrays like #find does.
* | Performance: cache/reload arel relation when possible to speed up things.Emilio Tagua2009-07-211-4/+5
| |
* | Removed unused local variable.Emilio Tagua2009-07-211-1/+0
| |
* | Introduced ActiveRecord::Relation, a layer between an ARel relation and an ↵Emilio Tagua2009-07-211-37/+19
| | | | | | | | AR relation
* | Merge commit 'rails/master'Emilio Tagua2009-07-211-7/+1
|\|
| * AMo conversion helperJoshua Peek2009-07-211-7/+1
| |
* | Merge commit 'rails/master'Emilio Tagua2009-07-201-0/+7
|\|
| * Define ActiveModel API ComplianceYehuda Katz2009-07-201-0/+7
| | | | | | | | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
* | Performance boost for AR#createEmilio Tagua2009-07-201-3/+4
| |
* | Added ActiveRecord::Base#(where|join|project|group|order|take|skip) methods.Emilio Tagua2009-07-161-32/+51
| |
* | Merge commit 'rails/master'Emilio Tagua2009-07-011-0/+7
|\|
| * Added AR:B#dup method for duplicationg object without frozen attributes ↵Yehuda Katz + Carl Lerche2009-07-011-0/+7
| | | | | | | | | | [#2859 state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* | Create is now powered by Arel. Removed methods that are no longer used.Emilio Tagua2009-07-011-14/+15
| |
* | Small refactor to update_all.Emilio Tagua2009-07-011-3/+3
| |
* | Merge commit 'rails/master'Emilio Tagua2009-06-301-2/+2
|\| | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb
| * Changed ActiveRecord::Base.human_name to underscore the class name before it ↵Justin French2009-06-301-3/+3
| | | | | | | | | | | | | | | | | | humanizes it This gives you 'Post comment' rather than 'Postcomment' by default. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2120 state:committed]
* | Merge commit 'rails/master'Emilio Tagua2009-06-301-0/+19
|\| | | | | | | | | Conflicts: activerecord/test/cases/adapter_test.rb
| * Make sure the wrapped exceptions also have the original exception available.Michael Koziarski2009-06-261-2/+13
| | | | | | | | [#2419 state:committed]
| * Translate foreign key violations to ActiveRecord::InvalidForeignKey exceptions.Michael Schuerig2009-06-261-0/+4
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Translate adapter errors that indicate a violated uniqueness constraint to ↵Michael Schuerig2009-06-261-0/+4
| | | | | | | | | | | | ActiveRecord::RecordNotUnique exception derived from ActiveReecord::StatementInvalid. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* | Refactoring: Calculations now use construct_finder_sql instead they own method.Emilio Tagua2009-06-231-6/+4
| |
* | Merge commit 'rails/master'Emilio Tagua2009-06-231-0/+1
|\|
| * Move model naming into ActiveModelJoshua Peek2009-06-171-0/+1
| |
* | Removed unused methods.Emilio Tagua2009-06-231-67/+1
| |
* | Removed old commented codeEmilio Tagua2009-06-231-21/+0
| |
* | Forget about auto scope, it's always explicit.Emilio Tagua2009-06-171-7/+6
| |
* | Merge commit 'rails/master'Emilio Tagua2009-06-161-1/+2
|\|
| * uses Object#metaclass and Object#class_eval in a few spotsXavier Noria2009-06-121-1/+2
| | | | | | | | | | | | [#2797 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Merge commit 'rails/master'Emilio Tagua2009-06-121-1/+1
|\|
| * Integrate ActiveModel::Observing into ActiveRecordJoshua Peek2009-06-101-1/+1
| |
* | Merge commit 'rails/master'Emilio Tagua2009-06-101-8/+8
|\|
| * Whitelist the methods which are called by multiparameter attribute assignment.Michael Koziarski2009-06-101-8/+8
| | | | | | | | This prevents users from causing NoMethodErrors and the like by editing the parameter names, and closes a potential exploit of CVE-2009-1904.
* | Merge branch 'update_all'Emilio Tagua2009-06-101-10/+28
|\ \
| * | Initial update_all migrationEmilio Tagua2009-06-101-10/+28
| | |
* | | Use array of orders instead of string concatenationEmilio Tagua2009-06-101-7/+5
|/ /
* | Revert "Use ARel in SQL generation through associations"Emilio Tagua2009-06-101-28/+10
| | | | | | | | This reverts commit 7be3e3ba0547587313d87bccb788a8466a62628a.
* | Use ARel in SQL generation through associationsEmilio Tagua2009-06-101-10/+28
| |
* | Set ActiveRecord as Arel engine on load.Emilio Tagua2009-06-021-2/+2
| |
* | Refactors to work with latest Arel implementation.Emilio Tagua2009-06-021-4/+8
| |
* | Merge commit 'rails/master'Emilio Tagua2009-05-261-1/+1
|\|
| * Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-201-1/+1
| |
* | Merge commit 'rails/master'Emilio Tagua2009-05-181-3/+4
|\| | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record.rb Updated: Arel submodule