Jeremy Kemper
|
c91088cd13
|
Expand tabs and strip trailing whitespace.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2965 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-10 06:24:33 +00:00 |
|
Jeremy Kemper
|
b84a7beb98
|
acts_as_list plays nicely with inheritance by remembering the class which declared it. Closes #2811.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2964 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-10 06:19:50 +00:00 |
|
David Heinemeier Hansson
|
bc7ec23f4e
|
Fixed acts_as_list for definitions without an explicit :order #2803 [jonathan@bluewire.net.nz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-09 12:50:35 +00:00 |
|
Marcel Molina
|
c8e364a93f
|
Add ability to get all siblings, including the current child, with acts_as_tree. Recloses #2140.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-09 18:51:30 +00:00 |
|
David Heinemeier Hansson
|
1472bf273d
|
Fix tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 06:25:17 +00:00 |
|
David Heinemeier Hansson
|
0439769324
|
Refactored away all the legacy validate_options calls and replaced them with Hash#assert_valid_keys
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-09 08:32:47 +00:00 |
|
David Heinemeier Hansson
|
b063067321
|
Added the instance methods #root and #ancestors on acts_as_tree and fixed siblings to not include the current node #2142, #2140 [coffee2code]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-09 08:01:44 +00:00 |
|
Jamis Buck
|
85c603fc9e
|
Make acts_as_list work for insert_at(1) #1966 [hensleyl@papermountain.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-14 08:35:08 +00:00 |
|
Jamis Buck
|
d886ad5c8b
|
Fix acts_as_list such that moving next-to-last item to the bottom does not result in duplicate positions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-20 12:47:55 +00:00 |
|
David Heinemeier Hansson
|
3dfa56ccfb
|
Updated all references to the old find_first and find_all to use the new style #1511 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-26 11:25:32 +00:00 |
|
Jamis Buck
|
2c0fa32088
|
Do not use instantiated fixtures (in general) in tests. Also, support the use of transactional fixtures by setting the AR_TX_FIXTURES environment variable to "yes".
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-10 14:58:02 +00:00 |
|
David Heinemeier Hansson
|
339f4956b3
|
Added acts_as_nested_set #1000 [wschenk]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 09:52:12 +00:00 |
|
David Heinemeier Hansson
|
ed46cc3058
|
Added insert_at(position) to acts_as_list #1083 [DeLynnB]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 06:50:17 +00:00 |
|
David Heinemeier Hansson
|
9a5321fccf
|
Added tests for acts_as_list with scope is null #378 [Tim Bates]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-31 16:58:50 +00:00 |
|
David Heinemeier Hansson
|
edbeec91ba
|
Fixed mixin test and fixtures to work with postgresql #353 [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-22 14:14:45 +00:00 |
|
David Heinemeier Hansson
|
356f16006b
|
Added higher_item and lower_item as public methods for acts_as_list #342 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 13:01:47 +00:00 |
|
David Heinemeier Hansson
|
6860db61f5
|
Renamed Mixins to Acts to resemble the change from include ActiveRecord::Mixins::List to acts_as_list and renamed @@default_error_messagess to @@default_error_messages
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 16:23:59 +00:00 |
|
David Heinemeier Hansson
|
c5d6aa2b18
|
Added option for turning off the automated timestamps
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 15:21:16 +00:00 |
|
David Heinemeier Hansson
|
87297f1c4b
|
Added assumption that a Symbol-based scope should end in _id unless it does so already and that you can pass vanilla string-based scopes as a parameter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 13:42:21 +00:00 |
|
David Heinemeier Hansson
|
4d6bfc7a36
|
Added assumption that a Symbol-based scope should end in _id unless it does so already and that you can pass vanilla string-based scopes as a parameter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 13:37:06 +00:00 |
|
David Heinemeier Hansson
|
1f916a119c
|
Added that Active Records will automatically record creation and/or update timestamps of database objects if fields of the names created_at/created_on or updated_at/updated_on are present. [Tobias Luetke] Added acts_as_tree that can decorates an existing class with a many to many relationship with itself. Added acts_as_list that can decorates an existing class with methods like move_higher/lower, move_to_top/bottom.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 02:49:18 +00:00 |
|
David Heinemeier Hansson
|
95314be65b
|
Added tree mixin and unit tests for all the mixins
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-15 00:46:26 +00:00 |
|