Jeffrey Hardy
|
caad6c634c
|
Restore require of 'active_record/fixtures' for Rake tasks that use them
|
2010-01-06 13:58:27 -05:00 |
|
Jeffrey Hardy
|
894ce15534
|
Use better defaults for fixtures: transactional=true, instantiated=false
These reflect the settings that were previously included in the default
test_helper.rb, removed in d7d9173.
|
2010-01-06 13:38:11 -05:00 |
|
Jeffrey Hardy
|
891ba18d65
|
Update db:migrate error message to reflect the removal of config.frameworks
|
2010-01-06 13:37:45 -05:00 |
|
Joshua Peek
|
e5ed62deea
|
Autoload AR test case
|
2010-01-04 16:50:01 -06:00 |
|
Joshua Peek
|
2601a16ede
|
Autoload AS test case
|
2010-01-04 16:22:46 -06:00 |
|
David Heinemeier Hansson
|
5e94d3e3ea
|
Merge
|
2010-01-03 22:27:28 -08:00 |
|
David Heinemeier Hansson
|
1459c8cc1d
|
Changed ActiveRecord::Base.store_full_sti_class to be true by default reflecting the previously announced Rails 3 default [DHH]
|
2010-01-03 19:30:28 -08:00 |
|
José Valim
|
eca11bfdb5
|
Merge branch 'master' of git://github.com/rails/rails
|
2010-01-04 01:05:19 +01:00 |
|
José Valim
|
3990310a2b
|
Use underscore in notification namespaces.
|
2010-01-04 00:03:56 +01:00 |
|
Pratik Naik
|
a68165833a
|
Add Relation#create_with to explictily specify create scope
|
2010-01-04 03:50:16 +05:30 |
|
Pratik Naik
|
a115b5d79a
|
Ensure using proper engine for Arel::Table
|
2010-01-04 02:05:18 +05:30 |
|
José Valim
|
6fbe9ef2ff
|
Use namespaces in notifications.
|
2010-01-03 20:39:42 +01:00 |
|
Pratik Naik
|
00f3f6dc31
|
Relation#merge and Relation#except should respect locks
|
2010-01-03 21:25:19 +05:30 |
|
Pratik Naik
|
3db876cb76
|
Relation#merge and Relation#except should respect havings
|
2010-01-03 20:50:04 +05:30 |
|
Pratik Naik
|
af5e1b4cc6
|
Add Relation#except
|
2010-01-03 19:43:29 +05:30 |
|
Pratik Naik
|
22bfd8b098
|
Rename a variable name for consistency
|
2010-01-03 19:20:40 +05:30 |
|
Pratik Naik
|
8edfa8f82f
|
Move Relation#spawn and Relation#merge to a separate module
|
2010-01-03 18:57:57 +05:30 |
|
Pratik Naik
|
3eca0ab838
|
Give preference to the second relation's order when merging
|
2010-01-03 18:52:30 +05:30 |
|
Pratik Naik
|
4939f95c9b
|
Reapply "Remove optional join_dependency argument as Relation always supplies it" - Now without syntax errors
|
2010-01-03 11:08:57 +05:30 |
|
Jeremy Kemper
|
8571aa613f
|
Revert "Remove optional join_dependency argument as Relation always supplies it"
This reverts commit 8e57deed8b.
|
2010-01-02 18:39:36 -08:00 |
|
Pratik Naik
|
8e57deed8b
|
Remove optional join_dependency argument as Relation always supplies it
|
2010-01-03 04:09:36 +05:30 |
|
Pratik Naik
|
47da00e94b
|
Further simplify Relation#references_eager_loaded_tables?
|
2010-01-03 03:58:34 +05:30 |
|
Pratik Naik
|
e9ebf8b898
|
Cache Relation#to_sql
|
2010-01-03 03:56:21 +05:30 |
|
Pratik Naik
|
0d1a2a3c22
|
Remove unused code from association.rb now that Relation takes care of checking the referenced tables
|
2010-01-03 03:49:10 +05:30 |
|
Pratik Naik
|
eb7fdb9464
|
Make Relation#includes behave exactly like the existing :include option
|
2010-01-03 03:46:08 +05:30 |
|
Pratik Naik
|
6f5f23aaa7
|
Add Relation#includes to be an equivalent of current finder option :include
|
2010-01-03 03:24:28 +05:30 |
|
Pratik Naik
|
c51347152a
|
Get rid of Model.construct_finder_arel_with_includes. Use construct_finder_arel instead
|
2010-01-03 03:08:01 +05:30 |
|
Pratik Naik
|
a9c790e10f
|
Simply methods for checking eager loaded tables references in the query
|
2010-01-03 03:00:30 +05:30 |
|
José Valim
|
7cc0a4cfa1
|
Use activerecord.errors.format as in Rails 2.3.5.
|
2010-01-02 22:27:02 +01:00 |
|
José Valim
|
5fdd0e80a4
|
Be sure to convert namespaced names to we have 'Parrots name' instead of 'Parrots.name' in error messages.
|
2010-01-02 22:27:02 +01:00 |
|
José Valim
|
dcafe995bf
|
Make nested attributes behave like in 2.3.5 and add a sanity test for it with I18n.
|
2010-01-02 22:27:02 +01:00 |
|
Pratik Naik
|
ac1df91e5e
|
Implement Relation#create and Relation#create!
|
2010-01-03 00:16:14 +05:30 |
|
Pratik Naik
|
65200d2933
|
Implement Relation#new
|
2010-01-03 00:08:59 +05:30 |
|
Pratik Naik
|
32b48bf419
|
Use arel predicates instead of strings wherever possible when merging relations
|
2010-01-02 22:43:40 +05:30 |
|
Pratik Naik
|
f1acf1cc74
|
Give higher preference to second relation's equality predicates when merging
|
2010-01-02 21:16:16 +05:30 |
|
Pratik Naik
|
3e6e3e90ef
|
Remove the test which was testing a non-existing method, always failing on 1.9 and never even running on 1.8
|
2010-01-02 16:12:01 +05:30 |
|
Pratik Naik
|
7ff131f740
|
Make sure not to spalt string arguments
|
2010-01-02 13:43:50 +05:30 |
|
Pratik Naik
|
4a7a14b0e1
|
Use relations to build uniqueness conditions
|
2010-01-02 03:46:08 +05:30 |
|
Pratik Naik
|
498fddc714
|
Fix join string for the WHERE clause
|
2010-01-02 03:20:52 +05:30 |
|
Pratik Naik
|
b35873a575
|
Rename Model.arel_table to Model.active_relation
|
2010-01-02 00:25:29 +05:30 |
|
Pratik Naik
|
d2c4b3b672
|
Rename Model.engine to active_relation_engine. Cache arel_table and the method takes no arguments now
|
2010-01-02 00:03:20 +05:30 |
|
Pratik Naik
|
5971842d2d
|
Use Arel::Table instead of ActiveRecord::Relation from HABTM and has_many#delete_records
|
2010-01-01 23:42:13 +05:30 |
|
Pratik Naik
|
fc94c03c1d
|
Remove unncessary arguments passed to arel_table
|
2010-01-01 23:34:15 +05:30 |
|
Pratik Naik
|
d200d08004
|
Use arel for building the STI type condition
|
2010-01-01 23:15:48 +05:30 |
|
Jeremy Kemper
|
9790f0eda5
|
Merge commit 'josevalim/inheritance'
|
2009-12-31 18:24:45 -08:00 |
|
José Valim
|
8c5fe60ec8
|
Simplify repair_validations on AR and make it work with new callbacks.
|
2010-01-01 03:20:38 +01:00 |
|
Pratik Naik
|
58ad656769
|
Make sure association proxy does not pass quoted table name to sanitize_sql
|
2010-01-01 04:37:19 +05:30 |
|
Pratik Naik
|
8a32d37967
|
Handle Range with excluded end
|
2010-01-01 04:33:56 +05:30 |
|
Pratik Naik
|
c62e88a5ab
|
Try using cached attribute before creating a new one
|
2010-01-01 04:17:56 +05:30 |
|
Pratik Naik
|
77c23b2104
|
Use PredicateBuilder for sql hash sanitization
|
2010-01-01 04:17:56 +05:30 |
|