Commits

Author Commit Message Labels Comments Date
Tyler Rick
Regenerated gemspec for version 0.2.0
Tyler Rick
Version bump to 0.2.0
Tyler Rick
Made it so that find, first, last, and any missing methods (this would include the "dynamic" finders such as find_by_name) called on the collection_with_deferred_save collection are passed on to the collection_without_deferred_save collection. (Which means they will operate strictly on what's in the database and not take into account what's in unsaved_collection.)
Tyler Rick
Added tests to ensure that include? works as expected
Tyler Rick
Rewrote tests in rspec with fewer dependencies and ensured they were passing. Changed the Readme to markdown format and updated it slightly. Added a gemspec.
Tyler Rick
Moved all files up to the root of the repository
Alessio Caiazza
FIX: delete all the assocation into the join table after obj.destroy
Alessio Caiazza
FIX: test if unsaved_collection in initialized in before_save_with_deferred_save_for_collection
Alessio Caiazza
fix the access to collection_singular_ids and allows to use collection.includes?(obj) with SigleTableInheritance w/out :select => :type Accessing collection_singular_ids with Rails 2.3.4 no longer causes the loaded? NoMethodError. If you use a collection with SigleTableInheritance and with :select option, but you didn't select the type attribute, the collection.include?(obj) method will not find any inherited object.
Alessio Caiazza
This patch allows the use of more than one has_and_belongs_to_many_with_deferred_save per Model
tyler.rick
Removing unneeded files git-svn-id: https://habtm-with-deferred-save.googlecode.com/svn/trunk@6 e8f5f159-813c-0410-8c33-cd1931e36101
tyler.rick
Accidentally called it has_and_belong_to_many_with_deferred_save/ git-svn-id: https://habtm-with-deferred-save.googlecode.com/svn/trunk@5 e8f5f159-813c-0410-8c33-cd1931e36101
tyler.rick
tyler.rick
Imported tests I'd originally written... Made sure test still passes. git-svn-id: https://habtm-with-deferred-save.googlecode.com/svn/trunk@3 e8f5f159-813c-0410-8c33-cd1931e36101
tyler.rick
Initial import git-svn-id: https://habtm-with-deferred-save.googlecode.com/svn/trunk@2 e8f5f159-813c-0410-8c33-cd1931e36101
(no author)
Initial directory structure. git-svn-id: https://habtm-with-deferred-save.googlecode.com/svn/trunk@1 e8f5f159-813c-0410-8c33-cd1931e36101