Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-15 | 1 | -141/+131 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb | |||||
| * | remove accidental raise! | Aaron Patterson | 2011-02-14 | 1 | -1/+0 | |
| | | ||||||
| * | removing irrelevant test | Aaron Patterson | 2011-02-14 | 1 | -0/+1 | |
| | | ||||||
| * | remove unused methods | Aaron Patterson | 2011-02-14 | 1 | -35/+0 | |
| | | ||||||
| * | extract database activity out of Fixtures instances | Aaron Patterson | 2011-02-14 | 1 | -7/+23 | |
| | | ||||||
| * | extract rows that should be inserted to a method | Aaron Patterson | 2011-02-14 | 1 | -12/+12 | |
| | | ||||||
| * | fixtures will return a list of tables that may be effected, delete existing ↵ | Aaron Patterson | 2011-02-14 | 1 | -6/+25 | |
| | | | | | | | | fixtures will delete those tables | |||||
| * | HabtmFixtures class is no longer needed | Aaron Patterson | 2011-02-14 | 1 | -31/+22 | |
| | | ||||||
| * | key habtm fixtures off table name | Aaron Patterson | 2011-02-11 | 1 | -5/+5 | |
| | | ||||||
| * | Fixture class no longer needs a reference to the database connection | Aaron Patterson | 2011-02-11 | 1 | -16/+4 | |
| | | ||||||
| * | convert fixtures to a list of hashes to insert | Aaron Patterson | 2011-02-11 | 1 | -2/+6 | |
| | | ||||||
| * | Fixtures class constantizes this value, so no need to do it twice | Aaron Patterson | 2011-02-11 | 1 | -3/+3 | |
| | | ||||||
| * | database quoting should take care of this, no need to gsub | Aaron Patterson | 2011-02-11 | 1 | -1/+1 | |
| | | ||||||
| * | calculate model class on construction | Aaron Patterson | 2011-02-11 | 1 | -16/+11 | |
| | | ||||||
| * | clear cache for all connections when resetting | Aaron Patterson | 2011-02-11 | 1 | -4/+3 | |
| | | ||||||
| * | avoid side effects from method calls, localize ivar assignment | Aaron Patterson | 2011-02-11 | 1 | -3/+4 | |
| | | ||||||
| * | create fixtures always returns a list, so build a hash from the list | Aaron Patterson | 2011-02-11 | 1 | -10/+2 | |
| | | ||||||
| * | create_fixtures() should always return a list | Aaron Patterson | 2011-02-11 | 1 | -4/+4 | |
| | | ||||||
| * | fixing variable names | Aaron Patterson | 2011-02-11 | 1 | -4/+10 | |
| | | ||||||
| * | use hash defaults to dry up ||= calls | Aaron Patterson | 2011-02-11 | 1 | -27/+22 | |
| | | ||||||
| * | refactor fixtures to do less work in the constructor | Aaron Patterson | 2011-02-11 | 1 | -10/+23 | |
| | | ||||||
| * | favor composition over inheritence. use AS::OrderedHash rather than omap | Aaron Patterson | 2011-02-11 | 1 | -19/+24 | |
| | | ||||||
| * | load and prefer psych as the YAML parser when it is available | Aaron Patterson | 2011-01-21 | 1 | -0/+6 | |
| | | ||||||
| * | Have a proper AssociationReflection#foreign_type method rather than using ↵ | Jon Leighton | 2011-01-03 | 1 | -8/+3 | |
| | | | | | | | | options[:foreign_type] | |||||
| * | Rename AssociationReflection#primary_key_name to foreign_key, since the ↵ | Jon Leighton | 2010-12-31 | 1 | -1/+1 | |
| | | | | | | | | options key which it relates to is :foreign_key | |||||
* | | IdentityMap - misc fixes | Marcin Raczkowski | 2010-11-19 | 1 | -1/+3 | |
|/ | | | | | | - Added IdentityMap to be included into AR::Base - Fixed bug with Mysql namespace missing when running tests only for sqlite - Added sqlite as default connection | |||||
* | use new skool Ruby instead of Ruby Classic™ | Aaron Patterson | 2010-09-27 | 1 | -5/+3 | |
| | ||||||
* | replacing superclass_delegating_accessor with class_attribute | Neeraj Singh | 2010-08-31 | 1 | -6/+6 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -18/+18 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | Removing most of the symbol to proc usage in Active Record | Prem Sichanugrist | 2010-08-13 | 1 | -2/+2 | |
| | | | | This will hopefully make Active Record run a bit more faster. | |||||
* | Raising exception if fixture file can't be found | Paul Hieromnimon | 2010-08-11 | 1 | -0/+4 | |
| | ||||||
* | ensuring that description does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 1 | -20/+30 | |
| | ||||||
* | Make use of redefine_method, removed some more redefining warnings | Łukasz Strzałkowski | 2010-07-19 | 1 | -1/+1 | |
| | ||||||
* | primary_key_name already checks for the model_class | Aaron Patterson | 2010-07-14 | 1 | -2/+2 | |
| | ||||||
* | use array intersection for dry / faster code | Aaron Patterson | 2010-07-14 | 1 | -3/+2 | |
| | ||||||
* | Clarify Fixture#key_ and value_list | Jeremy Kemper | 2010-06-08 | 1 | -7/+5 | |
| | ||||||
* | prevent to run fixture accessor (e.g. test_foos for TestFoo model) as a test ↵ | Nobuhiro IMAI | 2010-05-16 | 1 | -0/+1 | |
| | | | | | | | case [#2992 state:resolved] Signed-off-by: Wijnand Wiersma <wijnand@videre.net> Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | AR: fixed postgres fixture tests [#4519 state:resolved] | Cezary Baginski | 2010-05-01 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Support fixtures for namespaced models [#2965 state:resolved] | Andrew White | 2010-04-25 | 1 | -4/+5 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Use Array.wrap to quiet 1.8.8 deprecation | Jeremy Kemper | 2010-04-24 | 1 | -3/+4 | |
| | ||||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+1 | |
| | ||||||
* | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-01-17 | 1 | -4/+3 | |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/flash.rb | |||||
| * | reduce max size of fixture IDs to fix sqlite2 tests, because sqlite2 was ↵ | Chad Woolley | 2010-01-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | getting negative and changing values for ID field. See http://www.sqlite.org/datatypes.html Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
| * | Use better defaults for fixtures: transactional=true, instantiated=false | Jeffrey Hardy | 2010-01-06 | 1 | -2/+2 | |
| | | | | | | | | | | These reflect the settings that were previously included in the default test_helper.rb, removed in d7d9173. | |||||
| * | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 | |
| | | ||||||
* | | revises an example in docs about habtm & fixtures | Xavier Noria | 2009-12-03 | 1 | -2/+1 | |
|/ | ||||||
* | Don't use AR::Base.connection for fixture column quoting. Use the connection ↵ | Jeffrey Hardy | 2009-08-26 | 1 | -7/+9 | |
| | | | | | | | | given to Fixtures.new [#3104 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 | |
| | ||||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 1 | -1/+1 | |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | |||||
* | Reimplement Fixtures.identify so that it consistently generates identities ↵ | Ken Collins | 2009-05-18 | 1 | -4/+5 | |
| | | | | | | | | across ruby versions. [#2633 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |