Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove useless InnerJoinDependency, inner joins are performed through | Emilio Tagua | 2009-08-19 | 1 | -1/+1 |
| | | | | Arel::InnerJoin. | ||||
* | Remove now unused quote_table_name, ARel does that quoting now. | Emilio Tagua | 2009-08-18 | 1 | -7/+0 |
| | |||||
* | Call to_sql method on ActiveRecord::Relation instance not it's relation | Emilio Tagua | 2009-08-18 | 1 | -1/+1 |
| | | | | attribute.' | ||||
* | Cache arel_table when possible, use class method arel_table instead | Emilio Tagua | 2009-08-18 | 1 | -10/+7 |
| | | | | instance method. | ||||
* | Cache #arel_able when possible. | Emilio Tagua | 2009-08-18 | 1 | -2/+5 |
| | |||||
* | Use immutable relation objects to generate queries. | Emilio Tagua | 2009-08-18 | 1 | -17/+17 |
| | |||||
* | Use finder options as relation method names to provide more familiar | Emilio Tagua | 2009-08-18 | 1 | -16/+15 |
| | | | | | naming. Use bang methods convention in methods that alter the relation. | ||||
* | Use ARel's joins when building a query for finding records with included | Emilio Tagua | 2009-08-14 | 1 | -6/+15 |
| | | | | associations. | ||||
* | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 1 | -10/+18 |
|\ | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
| * | Prevent overwriting of table name in merging SQL conditions [#2949 ↵ | Tristan Dunn | 2009-08-10 | 1 | -1/+3 |
| | | | | | | | | state:resolved] | ||||
| * | Model#human_attribute_name now accept symbols [#3025 status:resolved] | Arthur Zapparoli | 2009-08-09 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Make sure association conditions work with :include and :joins [#358 ↵ | Vladimir Meremyanin | 2009-08-09 | 1 | -3/+5 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | With multiparameter date attributes, the behaviour when empty fields are ↵ | Hugo Peixoto | 2009-08-09 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | present is now coherent with the one described in the date_select documentation. [#1715 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-08 | 1 | -0/+7 |
|\| | | | | | | | | | | | Conflicts: activerecord/test/cases/adapter_test.rb activerecord/test/cases/method_scoping_test.rb | ||||
| * | Add destroyed? to ActiveRecord, include tests for polymorphic urls for ↵ | José Valim | 2009-08-07 | 1 | -0/+7 |
| | | | | | | | | destroyed objects and refactor mime responds tests and documentation. | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-05 | 1 | -5/+0 |
|\| | |||||
| * | Extract generic attribute method generation to AMo | Joshua Peek | 2009-08-04 | 1 | -5/+0 |
| | | |||||
* | | Don't use local vars before testing its conditional. | Emilio Tagua | 2009-08-03 | 1 | -6/+6 |
| | | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-31 | 1 | -100/+45 |
|\| | | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb | ||||
| * | Start separating primary key concerns | Joshua Peek | 2009-07-30 | 1 | -65/+1 |
| | | |||||
| * | Move id attribute methods into their related concern | Joshua Peek | 2009-07-30 | 1 | -29/+0 |
| | | |||||
| * | Restore DangerousAttributeError | Joshua Peek | 2009-07-30 | 1 | -0/+4 |
| | | |||||
| * | Wrap up attribute method reset concerns in 'undefine_attribute_methods' | Joshua Peek | 2009-07-30 | 1 | -2/+2 |
| | | |||||
| * | Generate methods for all suffixes | Joshua Peek | 2009-07-30 | 1 | -4/+0 |
| | | |||||
| * | Concernify AR AttributeMethods | Joshua Peek | 2009-07-30 | 1 | -1/+3 |
| | | |||||
| * | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -3/+39 |
| | | |||||
* | | Added ActiveRecord::Relation tests. Allow Relation to accept conditional | Emilio Tagua | 2009-07-31 | 1 | -2/+6 |
| | | | | | | | | hashes and arrays like #find does. | ||||
* | | Performance: cache/reload arel relation when possible to speed up things. | Emilio Tagua | 2009-07-21 | 1 | -4/+5 |
| | | |||||
* | | Removed unused local variable. | Emilio Tagua | 2009-07-21 | 1 | -1/+0 |
| | | |||||
* | | Introduced ActiveRecord::Relation, a layer between an ARel relation and an ↵ | Emilio Tagua | 2009-07-21 | 1 | -37/+19 |
| | | | | | | | | AR relation | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-21 | 1 | -7/+1 |
|\| | |||||
| * | AMo conversion helper | Joshua Peek | 2009-07-21 | 1 | -7/+1 |
| | | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-20 | 1 | -0/+7 |
|\| | |||||
| * | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 1 | -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#create | Emilio Tagua | 2009-07-20 | 1 | -3/+4 |
| | | |||||
* | | Added ActiveRecord::Base#(where|join|project|group|order|take|skip) methods. | Emilio Tagua | 2009-07-16 | 1 | -32/+51 |
| | | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-01 | 1 | -0/+7 |
|\| | |||||
| * | Added AR:B#dup method for duplicationg object without frozen attributes ↵ | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -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 Tagua | 2009-07-01 | 1 | -14/+15 |
| | | |||||
* | | Small refactor to update_all. | Emilio Tagua | 2009-07-01 | 1 | -3/+3 |
| | | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-06-30 | 1 | -2/+2 |
|\| | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb | ||||
| * | Changed ActiveRecord::Base.human_name to underscore the class name before it ↵ | Justin French | 2009-06-30 | 1 | -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 Tagua | 2009-06-30 | 1 | -0/+19 |
|\| | | | | | | | | | Conflicts: activerecord/test/cases/adapter_test.rb | ||||
| * | Make sure the wrapped exceptions also have the original exception available. | Michael Koziarski | 2009-06-26 | 1 | -2/+13 |
| | | | | | | | | [#2419 state:committed] | ||||
| * | Translate foreign key violations to ActiveRecord::InvalidForeignKey exceptions. | Michael Schuerig | 2009-06-26 | 1 | -0/+4 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
| * | Translate adapter errors that indicate a violated uniqueness constraint to ↵ | Michael Schuerig | 2009-06-26 | 1 | -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 Tagua | 2009-06-23 | 1 | -6/+4 |
| | | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-06-23 | 1 | -0/+1 |
|\| | |||||
| * | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+1 |
| | | |||||
* | | Removed unused methods. | Emilio Tagua | 2009-06-23 | 1 | -67/+1 |
| | |