| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Make sure that without_locking reverts AR::Base.lock_optimistically to its ↵rails_2 | Hongli Lai (Phusion) | 2009-03-23 | -3/+30 |
| | | | | | old value even if the given block raises an exception. | |||
| * | Remove the test_version_has_unique_created_at unit test, which is no longer ↵ | Hongli Lai (Phusion) | 2009-03-23 | -7/+0 |
| | | | | | needed because of commit d7c0da03. | |||
| * | Remove created_at and created_on from the default non_versioned_columns | Ngoc Dao | 2009-02-15 | -1/+1 |
| | | | | Signed-off-by: rick <technoweenie@gmail.com> | |||
| * | Change the create_versioned_table class method to ask the connection if ↵ | Ken Collins | 2009-02-09 | -1/+1 |
| | | | | | | table_exists?. Fixes a bug that allows adapters that allow user owned prefixes for table names. Signed-off-by: rick <technoweenie@gmail.com> | |||
| * | configure gem | Brian Johnson | 2009-01-21 | -0/+33 |
| | | | | Signed-off-by: rick <technoweenie@gmail.com> | |||
| * | Do not force updated_at | Ngoc Dao | 2009-01-10 | -6/+0 |
| | | | | Signed-off-by: rick <technoweenie@gmail.com> | |||
| * | Avoid error with model preload | Ngoc Dao | 2009-01-10 | -2/+0 |
| | | | | Signed-off-by: rick <technoweenie@gmail.com> | |||
| * | fix method name: not 'create_index' but 'add_index' | maiha | 2009-01-05 | -2/+2 |
| | | | | Signed-off-by: rick <technoweenie@gmail.com> | |||
| * | add extra LockedPage field so that it would save even if LockedPage#title ↵ | rick | 2008-10-03 | -1/+3 |
| | | | | | had not updated | |||
| * | fix bug so that create_versioned_table doesn't attempt to create duplicate ↵ | rick | 2008-10-03 | -1/+1 |
| | | | | | tables | |||
| * | Merge branch 'master' of git://github.com/francis/acts_as_versioned | rick | 2008-10-03 | -29/+31 |
| |\ | ||||
| | * | create version table on the fly if missing, use proper version column name ↵ | Francis Sullivan | 2008-09-30 | -1/+8 |
| | | | | | | | | | when checking for existence, and add index automatically | |||
| | * | cleanup deprecated comments, and map if_changed fields up front one time | Francis Sullivan | 2008-09-25 | -8/+3 |
| | | | ||||
| | * | allow non_versioned_columns to be passed in as an option | Francis Sullivan | 2008-09-24 | -1/+1 |
| | | | ||||
| | * | clean up use of class attribute | Francis Sullivan | 2008-09-23 | -5/+5 |
| | | | ||||
| | * | tweaks to make the version_column name work on both the parent and version table | Francis Sullivan | 2008-09-23 | -18/+18 |
| | | | ||||
| * | | Gem::manage_gems is deprecated, (rubygems 1.3, ↵ | GuillaumeGentil | 2008-09-30 | -2/+0 |
| |/ | | | | http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0) | |||
| * | do not version #created_at or #created_on | rick | 2008-09-03 | -2/+12 |
| | | ||||
| * | #save_version? is always false in after_save | rick | 2008-06-25 | -3/+3 |
| | | ||||
| * | favor after_save callbacks, its easier to force tasks to run before or after ↵ | rick | 2008-06-25 | -27/+32 |
| | | | | | after_save callbacks | |||
| * | fixed the problem where if_changed only triggered if all listed columns were ↵ | Pelle Braendgaard | 2008-06-23 | -1/+25 |
| | | | | | changed | |||
| * | * (16 Jun 2008) Backwards Compatibility is overrated (big updates for rails 2.1) | rick | 2008-06-16 | -82/+29 |
| | | | | | | | | * Remove last traces of #non_versioned_fields * Remove AR::Base.find_version and AR::Base.find_versions, rely on AR association proxies and named_scope * Remove #versions_count, rely on AR association counter caching. * Remove #versioned_attributes, basically the same as AR::Base.versioned_columns | |||
| * | re-remove default order by clause, see 177276643fce38c752004fd81614b8af5ac1587f | rick | 2008-06-08 | -10/+10 |
| | | ||||
| * | Modified acts_as_versioned to work with ActiveRecord's dirty attribute checking. | Asa Calow | 2008-05-29 | -10/+9 |
| | | ||||
| * | Modified acts_as_versioned to work with ActiveRecord's dirty attribute checking. | Asa Calow | 2008-05-29 | -9/+12 |
| | | ||||
| * | Modified acts_as_versioned to work with ActiveRecord's dirty attribute checking. | Asa Calow | 2008-05-29 | -12/+9 |
| | | ||||
| * | My changes to date | Asa Calow | 2008-05-29 | -34/+9 |
| | | ||||
| * | Merge branch 'master' of git://github.com/asacalow/acts_as_versioned | rick | 2008-05-23 | -21/+26 |
| |\ | ||||
| | * | Renamed :changed_attributes to :altered attributes to prevent clashes with ↵ | unknown | 2008-05-23 | -10/+10 |
| | | | | | | | | | new dirty attribute checking in ActiveRecord. | |||
| | * | Updated the tests to run on rails 2.1 | unknown | 2008-05-23 | -11/+16 |
| | | | ||||
| * | | Prevents conflicting order by clauses, e.g. "ORDER BY version desc, version" | Jim Van Fleet | 2008-04-30 | -2/+1 |
| |/ | ||||
| * | Merge branch 'master' of git@activereload.net:acts_as_versioned | rick | 2008-03-10 | -0/+0 |
| |\ | ||||
| | * | Merge branch 'master' of git@activereload.net:acts_as_versioned | rick | 2008-01-22 | -0/+0 |
| | |\ | ||||
| | | * | merge | rick | 2008-01-11 | -0/+0 |
| | | |\ | ||||
| | | | * | add test so that #create_versioned_table creates decimal columns properly. ↵ | rick | 2008-01-10 | -6/+23 |
| | | | | | | | | | | | | | | | | | Add code to selectively load active_record from gems in tests | |||
| | | * | | fix type_col typo [MoisesMachado] | rick | 2008-01-11 | -4/+7 |
| | | | | | ||||
| * | | | | Added test coverage for RecordNotFound raising. | Joshua Peek | 2008-03-06 | -0/+3 |
| | | | | | ||||
| * | | | | Added test coverage for versions_count and find_version. | Joshua Peek | 2008-03-06 | -0/+16 |
| | | | | | ||||
| * | | | | Kill more whitespace! | Joshua Peek | 2008-03-06 | -44/+44 |
| | | | | | ||||
| * | | | | Raise RecordNotFound on find_version. | Joshua Peek | 2008-03-04 | -3/+8 |
| | | | | | ||||
| * | | | | find_version returns latest record if version is nil. Added versions_count ↵ | Joshua Peek | 2008-03-04 | -1/+16 |
| | | | | | | | | | | | | | | | | | delegate Versioned model. | |||
| * | | | | Kill Whitespace! | Joshua Peek | 2008-03-04 | -35/+35 |
| |/ / / | ||||
| * | | | fix typo [Malesca] | technoweenie | 2008-01-22 | -1/+1 |
| | | | | | | | | | | | | | git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@3092 567b1171-46fb-0310-a4c9-b4bef9110e78 | |||
| * | | | fix type_col typo [MoisesMachado] | technoweenie | 2008-01-11 | -4/+7 |
| |/ / | | | | | | | git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@3089 567b1171-46fb-0310-a4c9-b4bef9110e78 | |||
| * / | add test so that #create_versioned_table creates decimal columns properly. ↵ | technoweenie | 2008-01-11 | -6/+23 |
| |/ | | | | | | Add code to selectively load active_record from gems in tests git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@3088 567b1171-46fb-0310-a4c9-b4bef9110e78 | |||
| * | make some fixes for edge rails, and use the model accessor method to clone ↵ | technoweenie | 2007-10-12 | -5/+5 |
| | | | | | | | methods instead of accessing #attributes directly git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@2992 567b1171-46fb-0310-a4c9-b4bef9110e78 | |||
| * | remove debug msg | technoweenie | 2007-08-13 | -1/+0 |
| | | | | | git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@2948 567b1171-46fb-0310-a4c9-b4bef9110e78 | |||
| * | add methods for paging between versions, like ↵ | technoweenie | 2007-08-13 | -22/+74 |
| | | | | | | | @page.versions.before(@page_version) or @page_version.previous git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@2947 567b1171-46fb-0310-a4c9-b4bef9110e78 | |||
| * | rework abstract_unit so tests pass | technoweenie | 2007-08-13 | -25/+19 |
| | | | | | git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@2946 567b1171-46fb-0310-a4c9-b4bef9110e78 | |||
| * | tweak the way #without_revision works so that it doesnt clobber overridden ↵ | technoweenie | 2007-04-08 | -8/+4 |
| | | | | | | | callback methods git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@2837 567b1171-46fb-0310-a4c9-b4bef9110e78 | |||
