acts_as_list 0.7.4 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +5 -13
  2. data/.github/FUNDING.yml +3 -0
  3. data/.github/dependabot.yml +6 -0
  4. data/.github/workflows/ci.yml +123 -0
  5. data/.gitignore +1 -0
  6. data/.travis.yml +50 -12
  7. data/Appraisals +39 -6
  8. data/CHANGELOG.md +565 -148
  9. data/Gemfile +19 -14
  10. data/README.md +206 -19
  11. data/Rakefile +4 -4
  12. data/acts_as_list.gemspec +16 -11
  13. data/gemfiles/rails_4_2.gemfile +18 -9
  14. data/gemfiles/rails_5_0.gemfile +31 -0
  15. data/gemfiles/rails_5_1.gemfile +31 -0
  16. data/gemfiles/rails_5_2.gemfile +31 -0
  17. data/gemfiles/rails_6_0.gemfile +31 -0
  18. data/gemfiles/rails_6_1.gemfile +31 -0
  19. data/gemfiles/rails_7_0.gemfile +31 -0
  20. data/init.rb +2 -0
  21. data/lib/acts_as_list/active_record/acts/active_record.rb +5 -0
  22. data/lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb +11 -0
  23. data/lib/acts_as_list/active_record/acts/aux_method_definer.rb +11 -0
  24. data/lib/acts_as_list/active_record/acts/callback_definer.rb +19 -0
  25. data/lib/acts_as_list/active_record/acts/list.rb +299 -306
  26. data/lib/acts_as_list/active_record/acts/no_update.rb +125 -0
  27. data/lib/acts_as_list/active_record/acts/position_column_method_definer.rb +101 -0
  28. data/lib/acts_as_list/active_record/acts/scope_method_definer.rb +77 -0
  29. data/lib/acts_as_list/active_record/acts/sequential_updates_method_definer.rb +28 -0
  30. data/lib/acts_as_list/active_record/acts/top_of_list_method_definer.rb +15 -0
  31. data/lib/acts_as_list/version.rb +3 -1
  32. data/lib/acts_as_list.rb +11 -14
  33. data/test/database.yml +18 -0
  34. data/test/helper.rb +50 -2
  35. data/test/shared.rb +3 -0
  36. data/test/shared_array_scope_list.rb +21 -4
  37. data/test/shared_list.rb +86 -12
  38. data/test/shared_list_sub.rb +63 -2
  39. data/test/shared_no_addition.rb +50 -2
  40. data/test/shared_quoting.rb +23 -0
  41. data/test/shared_top_addition.rb +36 -13
  42. data/test/shared_zero_based.rb +13 -0
  43. data/test/test_default_scope_with_select.rb +33 -0
  44. data/test/test_joined_list.rb +61 -0
  45. data/test/test_list.rb +601 -84
  46. data/test/test_no_update_for_extra_classes.rb +131 -0
  47. data/test/test_no_update_for_scope_destruction.rb +69 -0
  48. data/test/test_no_update_for_subclasses.rb +56 -0
  49. data/test/test_scope_with_user_defined_foreign_key.rb +42 -0
  50. metadata +56 -22
  51. data/gemfiles/rails_3_2.gemfile +0 -24
  52. data/gemfiles/rails_4_1.gemfile +0 -24
data/CHANGELOG.md CHANGED
@@ -1,241 +1,658 @@
1
- # Change Log
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
2
3
 
3
- ## [v0.7.3](https://github.com/swanandp/acts_as_list/tree/v0.7.3) (2016-04-14)
4
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.7.1...v0.7.3)
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## Unreleased
8
+
9
+ ## v1.1.0 - 2023-02-01
10
+
11
+ ### Fixed (Possibly Breaking)
12
+ - Use `after_save` instead of `after_commit` for `clear_scope_changed` callback [\#407](https://github.com/brendon/acts_as_list/pull/407) ([@Flixt](https://github.com/Flixt))
13
+ - Rename `add_to_list_top` and `add_to_list_bottom` private methods to `avoid_collision` that handles both cases as well as the case where `:add_new_at` is `nil`. Setting an explicit position when `:add_new_at` is `nil` will now shuffle other items out of the way if necessary. *This may break existing workarounds you have in place to deal with this bug*. [\#411](https://github.com/brendon/acts_as_list/pull/411). ([brendon])
14
+
15
+ ## v1.0.4 - 2021-04-20
16
+
17
+ ### Fixed
18
+ - Add Tests ruby 2.7 and 3.0 [\#393](https://github.com/brendon/acts_as_list/pull/393) ([QWYNG])
19
+
20
+ ## v1.0.3 - 2020-12-24
21
+
22
+ ### Fixed
23
+ - Silence deprecation warnings in Rails 6 [\#384](https://github.com/brendon/acts_as_list/pull/384) ([h-lame])
24
+ - Add explicit requirement of ActiveSupport::Inflector [\#387](https://github.com/brendon/acts_as_list/pull/387) ([rdvdijk])
25
+
26
+ ## v1.0.2 - 2020-09-14
27
+
28
+ ### Fixed
29
+ - Get foreign key from reflections when possible [\#383](https://github.com/brendon/acts_as_list/pull/383) ([jefftsang])
30
+
31
+ ### Removed
32
+ - gemspec: Drop defunct `rubyforge_project` directive [\#373](https://github.com/brendon/acts_as_list/pull/373) ([olleolleolle])
33
+
34
+ [olleolleolle]: https://github.com/olleolleolle
35
+ [jefftsang]: https://github.com/jefftsang
36
+
37
+ ## v1.0.1 - 2020-02-27
38
+
39
+ ### Fixed
40
+ - Invert order when incrementing to circumvent unique index violations (#368)
41
+
42
+ ## [v1.0.0](https://github.com/swanandp/acts_as_list/tree/v1.0.0) - 2019-09-26
43
+ [Full Changelog](https://github.com/swanandp/acts_as_list/compare/v0.9.19...v1.0.0)
44
+ ### Removed
45
+ - **BREAKING CHANGE**: Support for Rails 3.2 > 4.1 has been removed. 0.9.19 is the last version that supports
46
+ these Rails versions
47
+
48
+ ### Added
49
+ - Added *Troubleshooting Database Deadlock Errors* section to `README.md`
50
+ - Added support for Rails 6.0 in testing
51
+ - Various README fixes
52
+ - A new method called `current_position` now exists and returns the integer position of the item it's
53
+ called on, or `nil` if the position isn't set.
54
+
55
+ ## [v0.9.19](https://github.com/swanandp/acts_as_list/tree/v0.9.19) - 2019-03-12
56
+ [Full Changelog](https://github.com/swanandp/acts_as_list/compare/v0.9.18...v0.9.19)
57
+ ### Added
58
+ - Allow `acts_as_list_no_update` blocks to be nested [@conorbdaly](https://github.com/conorbdaly)
59
+
60
+ ## [v0.9.18](https://github.com/swanandp/acts_as_list/tree/v0.9.18) - 2019-03-08
61
+ [Full Changelog](https://github.com/swanandp/acts_as_list/compare/v0.9.17...v0.9.18)
62
+
63
+ ### Added
64
+ - Added additional gemspec metadata [@boone](https://github.com/boone)
65
+ - Add gem version badge to README [@joshuapinter](https://github.com/joshuapinter)
66
+ - Add touch on update configuration [@mgbatchelor](https://github.com/mgbatchelor)
67
+
68
+ ### Changed
69
+ - Let's start a new direction with the CHANGELOG file [@mainameiz](https://github.com/mainameiz)
70
+
71
+ ### Fixed
72
+ - Fix sqlite3 gem pinning breaking tests
73
+
74
+ ## [v0.9.17](https://github.com/brendon/acts_as_list/tree/v0.9.17) (2018-10-29)
75
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.16...v0.9.17)
5
76
 
6
77
  **Closed issues:**
7
78
 
8
- - DEPRECATION WARNING: Passing string to define callback on Rails 5 beta 3 [\#191](https://github.com/swanandp/acts_as_list/issues/191)
9
- - Why is `add\_to\_list\_bottom` private? [\#187](https://github.com/swanandp/acts_as_list/issues/187)
10
- - Ordering of children when there are two possible parent models. [\#172](https://github.com/swanandp/acts_as_list/issues/172)
11
- - Fix the jruby and rbx builds [\#169](https://github.com/swanandp/acts_as_list/issues/169)
12
- - Unable to run tests [\#162](https://github.com/swanandp/acts_as_list/issues/162)
13
- - shuffle\_positions\_on\_intermediate\_items is creating problems [\#134](https://github.com/swanandp/acts_as_list/issues/134)
14
- - introduce Changelog file to quickly track changes [\#68](https://github.com/swanandp/acts_as_list/issues/68)
15
- - Mongoid support? [\#52](https://github.com/swanandp/acts_as_list/issues/52)
79
+ - Inconsistent behavior [\#330](https://github.com/brendon/acts_as_list/issues/330)
80
+ - Using `top\_of\_list` set to 1 and setting a record to index 0 triggers a `PG::UniqueViolation` [\#322](https://github.com/brendon/acts_as_list/issues/322)
81
+
82
+ **Merged pull requests:**
83
+
84
+ - Feature/add exception to wrong position [\#323](https://github.com/brendon/acts_as_list/pull/323) ([TheNeikos](https://github.com/TheNeikos))
85
+ - Methods move\_to\_bottom and move\_to\_top should not fail when there are unique constraints [\#320](https://github.com/brendon/acts_as_list/pull/320) ([faucct](https://github.com/faucct))
86
+
87
+ ## [v0.9.16](https://github.com/brendon/acts_as_list/tree/v0.9.16) (2018-08-30)
88
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.15...v0.9.16)
89
+
90
+ **Closed issues:**
91
+
92
+ - Re-ordering at specific position [\#318](https://github.com/brendon/acts_as_list/issues/318)
93
+ - `no\_update` is not applied to subclasses [\#314](https://github.com/brendon/acts_as_list/issues/314)
94
+ - NoMethodError: undefined method `acts\_as\_list' [\#303](https://github.com/brendon/acts_as_list/issues/303)
95
+ - Cannot create item at position 0 [\#297](https://github.com/brendon/acts_as_list/issues/297)
96
+
97
+ **Merged pull requests:**
98
+
99
+ - Unscope `select` to avoid PG::UndefinedFunction [\#283](https://github.com/brendon/acts_as_list/pull/283) ([donv](https://github.com/donv))
100
+
101
+ ## [v0.9.15](https://github.com/brendon/acts_as_list/tree/v0.9.15) (2018-06-11)
102
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.14...v0.9.15)
103
+
104
+ **Merged pull requests:**
105
+
106
+ - Fix \#314: `no\_update` is not applied to subclasses [\#315](https://github.com/brendon/acts_as_list/pull/315) ([YoranBrondsema](https://github.com/YoranBrondsema))
107
+
108
+ ## [v0.9.14](https://github.com/brendon/acts_as_list/tree/v0.9.14) (2018-06-05)
109
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.13...v0.9.14)
110
+
111
+ **Closed issues:**
112
+
113
+ - `insert\_at` saves invalid ActiveRecord objects [\#311](https://github.com/brendon/acts_as_list/issues/311)
114
+
115
+ **Merged pull requests:**
116
+
117
+ - \#311 Don't insert invalid ActiveRecord objects [\#312](https://github.com/brendon/acts_as_list/pull/312) ([seanabrahams](https://github.com/seanabrahams))
118
+
119
+ ## [v0.9.13](https://github.com/brendon/acts_as_list/tree/v0.9.13) (2018-06-05)
120
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.12...v0.9.13)
16
121
 
17
122
  **Merged pull requests:**
18
123
 
19
- - Add filename/line number to class\_eval call [\#193](https://github.com/swanandp/acts_as_list/pull/193) ([hfwang](https://github.com/hfwang))
20
- - Use a symbol as a string to define callback [\#192](https://github.com/swanandp/acts_as_list/pull/192) ([brendon](https://github.com/brendon))
21
- - Pin changelog generator to a working version [\#190](https://github.com/swanandp/acts_as_list/pull/190) ([fabn](https://github.com/fabn))
22
- - Fix bug, position is recomputed when object saved [\#188](https://github.com/swanandp/acts_as_list/pull/188) ([chrisortman](https://github.com/chrisortman))
23
- - Update bundler before running tests, fixes test run on travis [\#179](https://github.com/swanandp/acts_as_list/pull/179) ([fabn](https://github.com/fabn))
24
- - Changelog generator, closes \#68 [\#177](https://github.com/swanandp/acts_as_list/pull/177) ([fabn](https://github.com/fabn))
25
- - Updating README example [\#175](https://github.com/swanandp/acts_as_list/pull/175) ([ryanbillings](https://github.com/ryanbillings))
26
- - Adds description about various options available with the acts\_as\_list method [\#168](https://github.com/swanandp/acts_as_list/pull/168) ([udit7590](https://github.com/udit7590))
27
- - Small changes to DRY up list.rb [\#163](https://github.com/swanandp/acts_as_list/pull/163) ([Albin-Willman](https://github.com/Albin-Willman))
28
- - Only swap changed attributes which are persistable, i.e. are DB columns. [\#152](https://github.com/swanandp/acts_as_list/pull/152) ([ludwigschubert](https://github.com/ludwigschubert))
124
+ - Fix unique index constraint failure on item destroy [\#313](https://github.com/brendon/acts_as_list/pull/313) ([yjukaku](https://github.com/yjukaku))
29
125
 
30
- ## [0.7.2](https://github.com/swanandp/acts_as_list/tree/0.7.2) (2015-05-06)
31
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.7.1...0.7.2)
126
+ ## [v0.9.12](https://github.com/brendon/acts_as_list/tree/v0.9.12) (2018-05-02)
127
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.11...v0.9.12)
32
128
 
33
- ## [0.7.1](https://github.com/swanandp/acts_as_list/tree/0.7.1) (2015-05-06)
34
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.7.0...0.7.1)
129
+ **Closed issues:**
130
+
131
+ - acts\_as\_list methods on has\_many through [\#308](https://github.com/brendon/acts_as_list/issues/308)
132
+ - Travis badge [\#307](https://github.com/brendon/acts_as_list/issues/307)
133
+ - Unscoping breaks STI subclasses, but is soon to be fixed in Rails [\#291](https://github.com/brendon/acts_as_list/issues/291)
134
+ - Refactor string eval for scope\_condition [\#227](https://github.com/brendon/acts_as_list/issues/227)
35
135
 
36
136
  **Merged pull requests:**
37
137
 
38
- - Update README.md [\#159](https://github.com/swanandp/acts_as_list/pull/159) ([tibastral](https://github.com/tibastral))
138
+ - mocha/minitest, not mocha/mini\_test now. [\#310](https://github.com/brendon/acts_as_list/pull/310) ([jmarkbrooks](https://github.com/jmarkbrooks))
39
139
 
40
- ## [0.7.0](https://github.com/swanandp/acts_as_list/tree/0.7.0) (2015-05-01)
41
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.6.0...0.7.0)
140
+ ## [v0.9.11](https://github.com/brendon/acts_as_list/tree/v0.9.11) (2018-03-19)
141
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.10...v0.9.11)
42
142
 
43
143
  **Closed issues:**
44
144
 
45
- - Problem with reordering scoped list items [\#154](https://github.com/swanandp/acts_as_list/issues/154)
46
- - Can no longer load acts\_as\_list in isolation if Rails is installed [\#145](https://github.com/swanandp/acts_as_list/issues/145)
145
+ - Setting `position: nil` on update returns `Column 'position' cannot be null` instead of putting the item at the start or the end of the list, like it does on create. [\#302](https://github.com/brendon/acts_as_list/issues/302)
146
+ - Switching to Semaphore [\#301](https://github.com/brendon/acts_as_list/issues/301)
147
+ - Dropping jruby support [\#300](https://github.com/brendon/acts_as_list/issues/300)
148
+ - Rails 5.2.0 [\#299](https://github.com/brendon/acts_as_list/issues/299)
149
+ - Cannot update record position when scoped to enum [\#298](https://github.com/brendon/acts_as_list/issues/298)
150
+ - `add\_new\_at: :top` does not work [\#296](https://github.com/brendon/acts_as_list/issues/296)
151
+ - remove\_from\_list causing "wrong number of arguments \(given 2, expected 0..1\)" [\#293](https://github.com/brendon/acts_as_list/issues/293)
152
+ - Passing raw strings to reorder deprecated in Rails 5.2 [\#290](https://github.com/brendon/acts_as_list/issues/290)
47
153
 
48
154
  **Merged pull requests:**
49
155
 
50
- - Fix regression with using acts\_as\_list on base classes [\#147](https://github.com/swanandp/acts_as_list/pull/147) ([botandrose](https://github.com/botandrose))
51
- - Don't require rails when loading [\#146](https://github.com/swanandp/acts_as_list/pull/146) ([botandrose](https://github.com/botandrose))
156
+ - Fix Test Suite [\#306](https://github.com/brendon/acts_as_list/pull/306) ([brendon](https://github.com/brendon))
157
+ - Add frozen\_string\_literal pragma to ruby files [\#305](https://github.com/brendon/acts_as_list/pull/305) ([krzysiek1507](https://github.com/krzysiek1507))
158
+ - Use symbols instead of SQL strings for reorder \(for Rails 5.2\) [\#294](https://github.com/brendon/acts_as_list/pull/294) ([jhawthorn](https://github.com/jhawthorn))
52
159
 
53
- ## [0.6.0](https://github.com/swanandp/acts_as_list/tree/0.6.0) (2014-12-24)
54
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.5.0...0.6.0)
160
+ ## [v0.9.10](https://github.com/brendon/acts_as_list/tree/v0.9.10) (2017-11-19)
161
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.9...v0.9.10)
55
162
 
56
163
  **Closed issues:**
57
164
 
58
- - Deprecation Warning: sanitize\_sql\_hash\_for\_conditions is deprecated and will be removed in Rails 5.0 [\#143](https://github.com/swanandp/acts_as_list/issues/143)
59
- - Release a new gem version [\#136](https://github.com/swanandp/acts_as_list/issues/136)
165
+ - Make insert\_at respect position when creating a new record [\#287](https://github.com/brendon/acts_as_list/issues/287)
166
+ - Why does acts\_as\_list override rails validation on it's own field? [\#269](https://github.com/brendon/acts_as_list/issues/269)
167
+
168
+ **Merged pull requests:**
169
+
170
+ - Change error classes parents [\#288](https://github.com/brendon/acts_as_list/pull/288) ([alexander-lazarov](https://github.com/alexander-lazarov))
171
+
172
+ ## [v0.9.9](https://github.com/brendon/acts_as_list/tree/v0.9.9) (2017-10-03)
173
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.8...v0.9.9)
60
174
 
61
175
  **Merged pull requests:**
62
176
 
63
- - Fix sanitize\_sql\_hash\_for\_conditions deprecation warning in Rails 4.2 [\#140](https://github.com/swanandp/acts_as_list/pull/140) ([eagletmt](https://github.com/eagletmt))
64
- - Simpler method to find the subclass name [\#139](https://github.com/swanandp/acts_as_list/pull/139) ([brendon](https://github.com/brendon))
65
- - Rails4 enum column support [\#130](https://github.com/swanandp/acts_as_list/pull/130) ([arunagw](https://github.com/arunagw))
66
- - use eval for determing the self.class.name useful when this is used in an abstract class [\#123](https://github.com/swanandp/acts_as_list/pull/123) ([flarik](https://github.com/flarik))
177
+ - Added fixed values option for scope array [\#286](https://github.com/brendon/acts_as_list/pull/286) ([smoyth](https://github.com/smoyth))
178
+
179
+ ## [v0.9.8](https://github.com/brendon/acts_as_list/tree/v0.9.8) (2017-09-28)
180
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.7...v0.9.8)
181
+
182
+ **Closed issues:**
183
+
184
+ - Deadlocking in update\_positions count query [\#285](https://github.com/brendon/acts_as_list/issues/285)
185
+ - Updating the position fails uniqueness constraint. [\#275](https://github.com/brendon/acts_as_list/issues/275)
186
+
187
+ ## [v0.9.7](https://github.com/brendon/acts_as_list/tree/v0.9.7) (2017-07-06)
188
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.6...v0.9.7)
67
189
 
68
- ## [0.5.0](https://github.com/swanandp/acts_as_list/tree/0.5.0) (2014-10-31)
69
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.4.0...0.5.0)
190
+ ## [v0.9.6](https://github.com/brendon/acts_as_list/tree/v0.9.6) (2017-07-05)
191
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.5...v0.9.6)
70
192
 
71
193
  **Closed issues:**
72
194
 
73
- - I want to have my existing records works like list [\#133](https://github.com/swanandp/acts_as_list/issues/133)
74
- - Add Support For Multiple Indexes [\#127](https://github.com/swanandp/acts_as_list/issues/127)
75
- - changing parent\_id does not update item positions [\#126](https://github.com/swanandp/acts_as_list/issues/126)
76
- - How to exclude objects to be positioned? [\#125](https://github.com/swanandp/acts_as_list/issues/125)
77
- - Scope for Polymorphic association + ManyToMany [\#106](https://github.com/swanandp/acts_as_list/issues/106)
78
- - Bug when use \#insert\_at on an invalid ActiveRecord object [\#99](https://github.com/swanandp/acts_as_list/issues/99)
79
- - has\_many :through with acts as list [\#95](https://github.com/swanandp/acts_as_list/issues/95)
80
- - Update position when scope changes [\#19](https://github.com/swanandp/acts_as_list/issues/19)
195
+ - undefined method `+' for nil:NilClass [\#278](https://github.com/brendon/acts_as_list/issues/278)
196
+ - Enum does not scope correctly [\#277](https://github.com/brendon/acts_as_list/issues/277)
197
+ - Can we don't use remove\_from\_list when destroy a lot objects? [\#276](https://github.com/brendon/acts_as_list/issues/276)
198
+ - The NoUpdate code rely's on AS::Concern [\#273](https://github.com/brendon/acts_as_list/issues/273)
199
+ - ActiveRecord associations are no longer required \(even though belongs\_to\_required\_by\_default == true\) [\#268](https://github.com/brendon/acts_as_list/issues/268)
200
+ - Unique constraint violation on move\_higher, move\_lower, destroy [\#267](https://github.com/brendon/acts_as_list/issues/267)
81
201
 
82
202
  **Merged pull requests:**
83
203
 
84
- - Cast column default value to int before comparing with position column [\#129](https://github.com/swanandp/acts_as_list/pull/129) ([wioux](https://github.com/wioux))
85
- - Fix travis builds for rbx [\#128](https://github.com/swanandp/acts_as_list/pull/128) ([meineerde](https://github.com/meineerde))
86
- - Use unscoped blocks instead of chaining [\#121](https://github.com/swanandp/acts_as_list/pull/121) ([brendon](https://github.com/brendon))
87
- - Make acts\_as\_list more compatible with BINARY column [\#116](https://github.com/swanandp/acts_as_list/pull/116) ([sikachu](https://github.com/sikachu))
88
- - Added help notes on non-association scopes [\#115](https://github.com/swanandp/acts_as_list/pull/115) ([VorontsovIE](https://github.com/VorontsovIE))
89
- - Let AR::Base properly lazy-loaded if Railtie is available [\#114](https://github.com/swanandp/acts_as_list/pull/114) ([amatsuda](https://github.com/amatsuda))
204
+ - Fix Fixnum deprecation warnings. [\#282](https://github.com/brendon/acts_as_list/pull/282) ([patrickdavey](https://github.com/patrickdavey))
205
+ - Fix update to scope that was defined with an enum [\#281](https://github.com/brendon/acts_as_list/pull/281) ([scottmalone](https://github.com/scottmalone))
206
+ - Refactor update\_all\_with\_touch [\#279](https://github.com/brendon/acts_as_list/pull/279) ([ledestin](https://github.com/ledestin))
207
+ - Remove AS::Concern from NoUpdate [\#274](https://github.com/brendon/acts_as_list/pull/274) ([brendon](https://github.com/brendon))
208
+ - Use `ActiveSupport.on\_load` to hook into ActiveRecord [\#272](https://github.com/brendon/acts_as_list/pull/272) ([brendon](https://github.com/brendon))
90
209
 
91
- ## [0.4.0](https://github.com/swanandp/acts_as_list/tree/0.4.0) (2014-02-22)
92
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.3.0...0.4.0)
210
+ ## [v0.9.5](https://github.com/brendon/acts_as_list/tree/v0.9.5) (2017-04-04)
211
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.4...v0.9.5)
93
212
 
94
213
  **Closed issues:**
95
214
 
96
- - insert\_at creates gaps [\#108](https://github.com/swanandp/acts_as_list/issues/108)
97
- - move\_lower and move\_higher not working returning nil [\#57](https://github.com/swanandp/acts_as_list/issues/57)
98
- - Mass-assignment issue with 0.1.8 [\#50](https://github.com/swanandp/acts_as_list/issues/50)
99
- - validates error [\#49](https://github.com/swanandp/acts_as_list/issues/49)
100
- - Ability to move multiple at once [\#40](https://github.com/swanandp/acts_as_list/issues/40)
101
- - Duplicates created when using accepts\_nested\_attributes\_for [\#29](https://github.com/swanandp/acts_as_list/issues/29)
215
+ - acts\_as\_list\_class.maximum\(position\_column\) is causing the entire table to lock [\#264](https://github.com/brendon/acts_as_list/issues/264)
216
+ - Be more precise with unscope-ing [\#263](https://github.com/brendon/acts_as_list/issues/263)
102
217
 
103
218
  **Merged pull requests:**
104
219
 
105
- - Update README [\#107](https://github.com/swanandp/acts_as_list/pull/107) ([Senjai](https://github.com/Senjai))
106
- - Add license info: license file and gemspec [\#105](https://github.com/swanandp/acts_as_list/pull/105) ([chulkilee](https://github.com/chulkilee))
107
- - Fix top position when position is lower than top position [\#104](https://github.com/swanandp/acts_as_list/pull/104) ([csaura](https://github.com/csaura))
108
- - Get specs running under Rails 4.1.0.beta1 [\#101](https://github.com/swanandp/acts_as_list/pull/101) ([petergoldstein](https://github.com/petergoldstein))
109
- - Add support for JRuby and Rubinius specs [\#100](https://github.com/swanandp/acts_as_list/pull/100) ([petergoldstein](https://github.com/petergoldstein))
110
- - Use the correct syntax for conditions in Rails 4 on the readme. [\#94](https://github.com/swanandp/acts_as_list/pull/94) ([gotjosh](https://github.com/gotjosh))
111
- - Adds `required\_ruby\_version` to gemspec [\#90](https://github.com/swanandp/acts_as_list/pull/90) ([tvdeyen](https://github.com/tvdeyen))
220
+ - Use bottom\_position\_in\_list instead of the highest value in the table [\#266](https://github.com/brendon/acts_as_list/pull/266) ([brendon](https://github.com/brendon))
221
+ - Be more surgical about unscoping [\#265](https://github.com/brendon/acts_as_list/pull/265) ([brendon](https://github.com/brendon))
112
222
 
113
- ## [0.3.0](https://github.com/swanandp/acts_as_list/tree/0.3.0) (2013-08-02)
114
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.2.0...0.3.0)
223
+ ## [v0.9.4](https://github.com/brendon/acts_as_list/tree/v0.9.4) (2017-03-16)
224
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.3...v0.9.4)
225
+
226
+ **Merged pull requests:**
227
+
228
+ - Optimize first? and last? instance methods. [\#262](https://github.com/brendon/acts_as_list/pull/262) ([marshall-lee](https://github.com/marshall-lee))
229
+
230
+ ## [v0.9.3](https://github.com/brendon/acts_as_list/tree/v0.9.3) (2017-03-14)
231
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.2...v0.9.3)
115
232
 
116
233
  **Closed issues:**
117
234
 
118
- - act\_as\_list didn't install with bundle install [\#83](https://github.com/swanandp/acts_as_list/issues/83)
119
- - Cannot update to version 0.1.7 [\#48](https://github.com/swanandp/acts_as_list/issues/48)
120
- - when position is null all new items get inserted in position 1 [\#41](https://github.com/swanandp/acts_as_list/issues/41)
235
+ - Rails 5.1.0.beta1 deprecation [\#257](https://github.com/brendon/acts_as_list/issues/257)
236
+ - Move item X after item Y [\#256](https://github.com/brendon/acts_as_list/issues/256)
237
+ - Is there way to specify the position when creating a resource? [\#255](https://github.com/brendon/acts_as_list/issues/255)
121
238
 
122
239
  **Merged pull requests:**
123
240
 
124
- - Test against activerecord v3 and v4 [\#82](https://github.com/swanandp/acts_as_list/pull/82) ([sanemat](https://github.com/sanemat))
125
- - Fix check\_scope to work on lists with array scopes [\#81](https://github.com/swanandp/acts_as_list/pull/81) ([conzett](https://github.com/conzett))
126
- - Rails4 compatibility [\#80](https://github.com/swanandp/acts_as_list/pull/80) ([philippfranke](https://github.com/philippfranke))
127
- - Add tests for moving within scope and add method: move\_within\_scope [\#79](https://github.com/swanandp/acts_as_list/pull/79) ([philippfranke](https://github.com/philippfranke))
128
- - Option to not automatically add items to the list [\#72](https://github.com/swanandp/acts_as_list/pull/72) ([forrest](https://github.com/forrest))
241
+ - Don't update a child destroyed via relation [\#261](https://github.com/brendon/acts_as_list/pull/261) ([brendon](https://github.com/brendon))
242
+ - No update list for collection classes [\#260](https://github.com/brendon/acts_as_list/pull/260) ([IlkhamGaysin](https://github.com/IlkhamGaysin))
243
+ - Fix deprecation introduced in ActiveRecord 5.1.0.beta1. Closes \#257 [\#259](https://github.com/brendon/acts_as_list/pull/259) ([CvX](https://github.com/CvX))
244
+ - Refactor column definer module [\#258](https://github.com/brendon/acts_as_list/pull/258) ([ledestin](https://github.com/ledestin))
245
+
246
+ ## [v0.9.2](https://github.com/brendon/acts_as_list/tree/v0.9.2) (2017-02-07)
247
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.1...v0.9.2)
248
+
249
+ **Closed issues:**
250
+
251
+ - Getting invalid input syntax for uuid [\#253](https://github.com/brendon/acts_as_list/issues/253)
252
+
253
+ ## [v0.9.1](https://github.com/brendon/acts_as_list/tree/v0.9.1) (2017-01-26)
254
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.0...v0.9.1)
255
+
256
+ **Closed issues:**
129
257
 
130
- ## [0.2.0](https://github.com/swanandp/acts_as_list/tree/0.2.0) (2013-02-28)
131
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.1.9...0.2.0)
258
+ - DEPRECATION WARNING on rails 5.0 as of acts\_as\_list 0.9 [\#251](https://github.com/brendon/acts_as_list/issues/251)
259
+ - highter\_items returns items with the same position value [\#247](https://github.com/brendon/acts_as_list/issues/247)
260
+ - Broken with unique constraint on position [\#245](https://github.com/brendon/acts_as_list/issues/245)
132
261
 
133
262
  **Merged pull requests:**
134
263
 
135
- - Fix update\_all deprecation warnings in Rails 4.0.0.beta1 [\#73](https://github.com/swanandp/acts_as_list/pull/73) ([soffes](https://github.com/soffes))
136
- - Add quotes to Id in SQL requests [\#69](https://github.com/swanandp/acts_as_list/pull/69) ([noefroidevaux](https://github.com/noefroidevaux))
137
- - Update position when scope changes [\#67](https://github.com/swanandp/acts_as_list/pull/67) ([philippfranke](https://github.com/philippfranke))
138
- - add and categorize public instance methods in readme; add misc notes to ... [\#66](https://github.com/swanandp/acts_as_list/pull/66) ([barelyknown](https://github.com/barelyknown))
139
- - Updates \#bottom\_item .find syntax to \>= Rails 3 compatible syntax. [\#65](https://github.com/swanandp/acts_as_list/pull/65) ([tvdeyen](https://github.com/tvdeyen))
140
- - add GitHub Flavored Markdown to README [\#63](https://github.com/swanandp/acts_as_list/pull/63) ([phlipper](https://github.com/phlipper))
264
+ - fixes \#251 table\_exists? deprecation warning with Rails 5.0 [\#252](https://github.com/brendon/acts_as_list/pull/252) ([zharikovpro](https://github.com/zharikovpro))
141
265
 
142
- ## [0.1.9](https://github.com/swanandp/acts_as_list/tree/0.1.9) (2012-12-04)
143
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.1.8...0.1.9)
266
+ ## [v0.9.0](https://github.com/brendon/acts_as_list/tree/v0.9.0) (2017-01-23)
267
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.8.2...v0.9.0)
144
268
 
145
269
  **Closed issues:**
146
270
 
147
- - Mysql2 error [\#54](https://github.com/swanandp/acts_as_list/issues/54)
148
- - Use alternative column name? [\#53](https://github.com/swanandp/acts_as_list/issues/53)
271
+ - warning: too many arguments for format string [\#239](https://github.com/brendon/acts_as_list/issues/239)
272
+ - Broken tests related to time comparison [\#238](https://github.com/brendon/acts_as_list/issues/238)
273
+ - Shuffling positions is halting the callback chain [\#234](https://github.com/brendon/acts_as_list/issues/234)
274
+ - Reorder positions [\#233](https://github.com/brendon/acts_as_list/issues/233)
275
+ - Tests break when upgrading from 0.7.2 to 0.7.4 [\#228](https://github.com/brendon/acts_as_list/issues/228)
276
+ - RE \#221 needing a test [\#226](https://github.com/brendon/acts_as_list/issues/226)
277
+ - Adding to existing model with data and methods don't work [\#209](https://github.com/brendon/acts_as_list/issues/209)
278
+ - Position is set incorrectly when circular dependencies exist [\#153](https://github.com/brendon/acts_as_list/issues/153)
149
279
 
150
280
  **Merged pull requests:**
151
281
 
152
- - attr-accessible can be damaging, is not always necessary. [\#60](https://github.com/swanandp/acts_as_list/pull/60) ([graemeworthy](https://github.com/graemeworthy))
153
- - More reliable lower/higher item detection [\#59](https://github.com/swanandp/acts_as_list/pull/59) ([miks](https://github.com/miks))
154
- - Instructions for using an array with scope [\#58](https://github.com/swanandp/acts_as_list/pull/58) ([zukowski](https://github.com/zukowski))
155
- - Attr accessible patch, should solve \#50 [\#51](https://github.com/swanandp/acts_as_list/pull/51) ([fabn](https://github.com/fabn))
156
- - support accepts\_nested\_attributes\_for multi-destroy [\#46](https://github.com/swanandp/acts_as_list/pull/46) ([saberma](https://github.com/saberma))
282
+ - Revert "Updates documentation with valid string interpolation syntax" [\#250](https://github.com/brendon/acts_as_list/pull/250) ([brendon](https://github.com/brendon))
283
+ - Updates documentation with valid string interpolation syntax [\#249](https://github.com/brendon/acts_as_list/pull/249) ([naveedkakal](https://github.com/naveedkakal))
284
+ - Comply to tests warnings [\#248](https://github.com/brendon/acts_as_list/pull/248) ([randoum](https://github.com/randoum))
285
+ - insert\_at respects unique not null check \(\>= 0\) db constraints [\#246](https://github.com/brendon/acts_as_list/pull/246) ([zharikovpro](https://github.com/zharikovpro))
286
+ - acts\_as\_list\_no\_update [\#244](https://github.com/brendon/acts_as_list/pull/244) ([randoum](https://github.com/randoum))
287
+ - Update README.md [\#243](https://github.com/brendon/acts_as_list/pull/243) ([rahuldstiwari](https://github.com/rahuldstiwari))
288
+ - Fixed tests to prevent warning: too many arguments for format string [\#242](https://github.com/brendon/acts_as_list/pull/242) ([brendon](https://github.com/brendon))
289
+ - Be explicit about ordering when mapping :pos [\#241](https://github.com/brendon/acts_as_list/pull/241) ([brendon](https://github.com/brendon))
290
+ - Improve load method [\#240](https://github.com/brendon/acts_as_list/pull/240) ([brendon](https://github.com/brendon))
291
+ - Fix non regular sequence movement [\#237](https://github.com/brendon/acts_as_list/pull/237) ([tiagotex](https://github.com/tiagotex))
292
+ - Add travis config for testing against multiple databases [\#236](https://github.com/brendon/acts_as_list/pull/236) ([fschwahn](https://github.com/fschwahn))
293
+ - Extract modules [\#229](https://github.com/brendon/acts_as_list/pull/229) ([ledestin](https://github.com/ledestin))
294
+
295
+ ## [v0.8.2](https://github.com/brendon/acts_as_list/tree/v0.8.2) (2016-09-23)
296
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.8.1...v0.8.2)
157
297
 
158
- ## [0.1.8](https://github.com/swanandp/acts_as_list/tree/0.1.8) (2012-08-09)
159
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.1.7...0.1.8)
298
+ **Closed issues:**
299
+
300
+ - We're a repo now, no longer a fork attached to rails/acts\_as\_list [\#232](https://github.com/brendon/acts_as_list/issues/232)
301
+ - Break away from rails/acts\_as\_list [\#224](https://github.com/brendon/acts_as_list/issues/224)
302
+ - Problem when inserting straight at top of list [\#109](https://github.com/brendon/acts_as_list/issues/109)
303
+
304
+ **Merged pull requests:**
305
+
306
+ - Show items with same position in higher and lower items [\#231](https://github.com/brendon/acts_as_list/pull/231) ([jpalumickas](https://github.com/jpalumickas))
307
+ - fix setting position when previous position was nil [\#230](https://github.com/brendon/acts_as_list/pull/230) ([StoneFrog](https://github.com/StoneFrog))
160
308
 
161
- ## [0.1.7](https://github.com/swanandp/acts_as_list/tree/0.1.7) (2012-08-09)
162
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.1.6...0.1.7)
309
+ ## [v0.8.1](https://github.com/brendon/acts_as_list/tree/v0.8.1) (2016-09-06)
310
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.8.0...v0.8.1)
163
311
 
164
312
  **Closed issues:**
165
313
 
166
- - Remove use of update\_attribute [\#44](https://github.com/swanandp/acts_as_list/issues/44)
167
- - Order is reversed when adding multiple rows at once [\#34](https://github.com/swanandp/acts_as_list/issues/34)
314
+ - Rubinius Intermittent testing error [\#218](https://github.com/brendon/acts_as_list/issues/218)
315
+ - ActiveRecord dependency causes rake assets:compile to fail without access to a database [\#84](https://github.com/brendon/acts_as_list/issues/84)
168
316
 
169
317
  **Merged pull requests:**
170
318
 
171
- - Fixed issue with update\_positions that wasn't taking 'scope\_condition' into account [\#47](https://github.com/swanandp/acts_as_list/pull/47) ([bastien](https://github.com/bastien))
172
- - Replaced usage of update\_attribute with update\_attribute! [\#45](https://github.com/swanandp/acts_as_list/pull/45) ([kevmoo](https://github.com/kevmoo))
173
- - use self.class.primary\_key instead of id in shuffle\_positions\_on\_intermediate\_items [\#42](https://github.com/swanandp/acts_as_list/pull/42) ([servercrunch](https://github.com/servercrunch))
174
- - initialize gem [\#39](https://github.com/swanandp/acts_as_list/pull/39) ([megatux](https://github.com/megatux))
175
- - Added ability to set item positions directly \(e.g. In a form\) [\#38](https://github.com/swanandp/acts_as_list/pull/38) ([dubroe](https://github.com/dubroe))
176
- - Prevent SQL error when position\_column is not unique [\#37](https://github.com/swanandp/acts_as_list/pull/37) ([hinrik](https://github.com/hinrik))
177
- - Add installation instructions to README.md [\#35](https://github.com/swanandp/acts_as_list/pull/35) ([mark-rushakoff](https://github.com/mark-rushakoff))
319
+ - Refactor class\_eval with string into class\_eval with block [\#215](https://github.com/brendon/acts_as_list/pull/215) ([rdvdijk](https://github.com/rdvdijk))
178
320
 
179
- ## [0.1.6](https://github.com/swanandp/acts_as_list/tree/0.1.6) (2012-04-19)
180
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.1.5...0.1.6)
321
+ ## [v0.8.0](https://github.com/brendon/acts_as_list/tree/v0.8.0) (2016-08-23)
322
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.7...v0.8.0)
181
323
 
182
324
  **Closed issues:**
183
325
 
184
- - eval mistakenly resolved the module path [\#32](https://github.com/swanandp/acts_as_list/issues/32)
185
- - Duplicated positions when creating parent and children from scratch in 0.1.5 [\#31](https://github.com/swanandp/acts_as_list/issues/31)
186
- - add info about v0.1.5 require Rails 3 [\#28](https://github.com/swanandp/acts_as_list/issues/28)
187
- - position not updated with move\_higher or move\_lover [\#23](https://github.com/swanandp/acts_as_list/issues/23)
326
+ - Behavior with DB default seems unclear [\#219](https://github.com/brendon/acts_as_list/issues/219)
188
327
 
189
328
  **Merged pull requests:**
190
329
 
191
- - update ActiveRecord class eval to support ActiveSupport on\_load [\#33](https://github.com/swanandp/acts_as_list/pull/33) ([mergulhao](https://github.com/mergulhao))
192
- - Add :add\_new\_at option [\#30](https://github.com/swanandp/acts_as_list/pull/30) ([mjbellantoni](https://github.com/mjbellantoni))
330
+ - No longer a need specify additional rbx gems [\#225](https://github.com/brendon/acts_as_list/pull/225) ([brendon](https://github.com/brendon))
331
+ - Fix position when no serial positions [\#223](https://github.com/brendon/acts_as_list/pull/223) ([jpalumickas](https://github.com/jpalumickas))
332
+ - Bug: Specifying a position with add\_new\_at: :top fails to insert at that position [\#220](https://github.com/brendon/acts_as_list/pull/220) ([brendon](https://github.com/brendon))
193
333
 
194
- ## [0.1.5](https://github.com/swanandp/acts_as_list/tree/0.1.5) (2012-02-24)
195
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.1.4...0.1.5)
334
+ ## [v0.7.7](https://github.com/brendon/acts_as_list/tree/v0.7.7) (2016-08-18)
335
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.6...v0.7.7)
196
336
 
197
337
  **Closed issues:**
198
338
 
199
- - increment\_positions\_on\_lower\_items called twice on insert\_at with new item [\#21](https://github.com/swanandp/acts_as_list/issues/21)
200
- - Change bundler dependency from ~\>1.0.0 to ~\>1.0 [\#20](https://github.com/swanandp/acts_as_list/issues/20)
201
- - decrement\_positions\_on\_lower\_items method [\#17](https://github.com/swanandp/acts_as_list/issues/17)
202
- - New gem release [\#16](https://github.com/swanandp/acts_as_list/issues/16)
203
- - acts\_as\_list :scope =\> "doesnt\_seem\_to\_work" [\#12](https://github.com/swanandp/acts_as_list/issues/12)
204
- - don't work perfectly with default\_scope [\#11](https://github.com/swanandp/acts_as_list/issues/11)
205
- - MySQL: Position column MUST NOT have default [\#10](https://github.com/swanandp/acts_as_list/issues/10)
206
- - insert\_at fails on postgresql w/ non-null constraint on postion\_column [\#8](https://github.com/swanandp/acts_as_list/issues/8)
339
+ - Issue after upgrading to 0.7.5: No connection pool with id primary found. [\#214](https://github.com/brendon/acts_as_list/issues/214)
340
+ - Changing scope is inconsistent based on add\_new\_at [\#138](https://github.com/brendon/acts_as_list/issues/138)
341
+ - Duplicate positions and lost items [\#76](https://github.com/brendon/acts_as_list/issues/76)
207
342
 
208
343
  **Merged pull requests:**
209
344
 
210
- - Efficiency improvement for insert\_at when repositioning an existing item [\#27](https://github.com/swanandp/acts_as_list/pull/27) ([bradediger](https://github.com/bradediger))
211
- - Use before validate instead of before create [\#25](https://github.com/swanandp/acts_as_list/pull/25) ([webervin](https://github.com/webervin))
212
- - Massive test refactorings. [\#24](https://github.com/swanandp/acts_as_list/pull/24) ([splattael](https://github.com/splattael))
213
- - Silent migrations to reduce test noise. [\#22](https://github.com/swanandp/acts_as_list/pull/22) ([splattael](https://github.com/splattael))
214
- - Should decrement lower items after the item has been destroyed to avoid unique key conflicts. [\#18](https://github.com/swanandp/acts_as_list/pull/18) ([aepstein](https://github.com/aepstein))
215
- - Fix spelling and grammer [\#15](https://github.com/swanandp/acts_as_list/pull/15) ([tmiller](https://github.com/tmiller))
216
- - store\_at\_0 should yank item from the list then decrement items to avoid r [\#14](https://github.com/swanandp/acts_as_list/pull/14) ([aepstein](https://github.com/aepstein))
217
- - Support default\_scope ordering by calling .unscoped [\#13](https://github.com/swanandp/acts_as_list/pull/13) ([tanordheim](https://github.com/tanordheim))
345
+ - Add quoted table names to some columns [\#221](https://github.com/brendon/acts_as_list/pull/221) ([jpalumickas](https://github.com/jpalumickas))
346
+ - Appraisals cleanup [\#217](https://github.com/brendon/acts_as_list/pull/217) ([brendon](https://github.com/brendon))
347
+ - Fix insert\_at\_position in race condition [\#195](https://github.com/brendon/acts_as_list/pull/195) ([danielross](https://github.com/danielross))
218
348
 
219
- ## [0.1.4](https://github.com/swanandp/acts_as_list/tree/0.1.4) (2011-07-27)
220
- [Full Changelog](https://github.com/swanandp/acts_as_list/compare/0.1.3...0.1.4)
349
+ ## [v0.7.6](https://github.com/brendon/acts_as_list/tree/v0.7.6) (2016-07-15)
350
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.5...v0.7.6)
351
+
352
+ **Closed issues:**
353
+
354
+ - add\_new\_at nil with scope causes NoMethodError [\#211](https://github.com/brendon/acts_as_list/issues/211)
221
355
 
222
356
  **Merged pull requests:**
223
357
 
224
- - Fix sqlite3 dependency [\#7](https://github.com/swanandp/acts_as_list/pull/7) ([joneslee85](https://github.com/joneslee85))
358
+ - Add class method acts\_as\_list\_top as reader for configured top\_of\_list [\#213](https://github.com/brendon/acts_as_list/pull/213) ([krzysiek1507](https://github.com/krzysiek1507))
359
+ - Bugfix/add new at nil on scope change [\#212](https://github.com/brendon/acts_as_list/pull/212) ([greatghoul](https://github.com/greatghoul))
360
+
361
+ ## [v0.7.5](https://github.com/brendon/acts_as_list/tree/v0.7.5) (2016-06-30)
362
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.4...v0.7.5)
363
+
364
+ **Implemented enhancements:**
365
+
366
+ - Touch when reordering [\#173](https://github.com/brendon/acts_as_list/pull/173) ([botandrose](https://github.com/botandrose))
225
367
 
226
- ## [0.1.3](https://github.com/swanandp/acts_as_list/tree/0.1.3) (2011-06-10)
227
368
  **Closed issues:**
228
369
 
229
- - Graph like behaviour [\#5](https://github.com/swanandp/acts_as_list/issues/5)
230
- - Updated Gem? [\#4](https://github.com/swanandp/acts_as_list/issues/4)
370
+ - Exception raised when calling destroy "NameError - instance variable @scope\_changed not defined:" [\#206](https://github.com/brendon/acts_as_list/issues/206)
371
+ - Undefined instance variable @scope\_changed since 0.7.3 [\#199](https://github.com/brendon/acts_as_list/issues/199)
372
+ - Reordering large lists is slow [\#198](https://github.com/brendon/acts_as_list/issues/198)
373
+ - Reparenting child leaves gap in source list in rails 5 [\#194](https://github.com/brendon/acts_as_list/issues/194)
374
+ - Support rails 5 ? [\#186](https://github.com/brendon/acts_as_list/issues/186)
375
+ - I get a NoMethodError: undefined method `acts\_as\_list' when trying to include acts\_as\_list [\#176](https://github.com/brendon/acts_as_list/issues/176)
376
+ - Phenomenon of mysterious value of the position is skipped by one [\#166](https://github.com/brendon/acts_as_list/issues/166)
377
+ - Model.find being called twice with acts\_as\_list on destroy [\#161](https://github.com/brendon/acts_as_list/issues/161)
378
+ - `scope\_changed?` problem with acts\_as\_paranoid [\#158](https://github.com/brendon/acts_as_list/issues/158)
379
+ - Inconsistent behaviour between Symbol and Array scopes [\#155](https://github.com/brendon/acts_as_list/issues/155)
380
+ - insert\_at doesn't seem to be working in ActiveRecord callback \(Rails 4.2\) [\#150](https://github.com/brendon/acts_as_list/issues/150)
381
+ - Project Documentation link redirects to expired domain [\#149](https://github.com/brendon/acts_as_list/issues/149)
382
+ - Problem when updating an position of array of AR objects. [\#137](https://github.com/brendon/acts_as_list/issues/137)
383
+ - Unexpected behaviour when inserting consecutive items with default positions [\#124](https://github.com/brendon/acts_as_list/issues/124)
384
+ - self.reload prone to error [\#122](https://github.com/brendon/acts_as_list/issues/122)
385
+ - Rails 3.0.x in\_list causes the return of default\_scope [\#120](https://github.com/brendon/acts_as_list/issues/120)
386
+ - Relationships with dependency:destroy cause ActiveRecord::RecordNotFound [\#118](https://github.com/brendon/acts_as_list/issues/118)
387
+ - Using insert\_at with values with type String [\#117](https://github.com/brendon/acts_as_list/issues/117)
388
+ - Batch setting of position [\#112](https://github.com/brendon/acts_as_list/issues/112)
389
+ - position: 0 now makes model pushed to top? [\#110](https://github.com/brendon/acts_as_list/issues/110)
390
+ - Create element in default position [\#103](https://github.com/brendon/acts_as_list/issues/103)
391
+ - Enhancement: Expose scope object [\#97](https://github.com/brendon/acts_as_list/issues/97)
392
+ - Shuffle list [\#96](https://github.com/brendon/acts_as_list/issues/96)
393
+ - Creating an item with a nil scope should not add it to the list [\#92](https://github.com/brendon/acts_as_list/issues/92)
394
+ - Performance Improvements [\#88](https://github.com/brendon/acts_as_list/issues/88)
395
+ - has\_many :through or has\_many\_and\_belongs\_to\_many support [\#86](https://github.com/brendon/acts_as_list/issues/86)
396
+ - move\_higher/move\_lower vs move\_to\_top/move\_to\_bottom act differently when item is already at top or bottom [\#77](https://github.com/brendon/acts_as_list/issues/77)
397
+ - Limiting the list size [\#61](https://github.com/brendon/acts_as_list/issues/61)
398
+ - Adding multiple creates strange ordering [\#55](https://github.com/brendon/acts_as_list/issues/55)
399
+ - Feature: sort [\#26](https://github.com/brendon/acts_as_list/issues/26)
231
400
 
232
401
  **Merged pull requests:**
233
402
 
234
- - Converted into a gem... plus some slight refactors [\#6](https://github.com/swanandp/acts_as_list/pull/6) ([chaffeqa](https://github.com/chaffeqa))
235
- - Fixed test issue for test\_injection: expected SQL was reversed. [\#3](https://github.com/swanandp/acts_as_list/pull/3) ([afriqs](https://github.com/afriqs))
236
- - Added an option to set the top of the position [\#2](https://github.com/swanandp/acts_as_list/pull/2) ([danielcooper](https://github.com/danielcooper))
237
- - minor change to acts\_as\_list's callbacks [\#1](https://github.com/swanandp/acts_as_list/pull/1) ([tiegz](https://github.com/tiegz))
403
+ - Fix position when no serial positions [\#208](https://github.com/brendon/acts_as_list/pull/208) ([PoslinskiNet](https://github.com/PoslinskiNet))
404
+ - Removed duplicated assignment [\#207](https://github.com/brendon/acts_as_list/pull/207) ([shunwen](https://github.com/shunwen))
405
+ - Quote all identifiers [\#205](https://github.com/brendon/acts_as_list/pull/205) ([fabn](https://github.com/fabn))
406
+ - Start testing Rails 5 [\#203](https://github.com/brendon/acts_as_list/pull/203) ([brendon](https://github.com/brendon))
407
+ - Lock! the record before destroying [\#201](https://github.com/brendon/acts_as_list/pull/201) ([brendon](https://github.com/brendon))
408
+ - Fix ambiguous column error when joining some relations [\#180](https://github.com/brendon/acts_as_list/pull/180) ([natw](https://github.com/natw))
238
409
 
410
+ ## [v0.7.4](https://github.com/brendon/acts_as_list/tree/v0.7.4) (2016-04-15)
411
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.3...v0.7.4)
412
+
413
+ **Closed issues:**
414
+
415
+ - Releasing a new gem version [\#196](https://github.com/brendon/acts_as_list/issues/196)
416
+
417
+ **Merged pull requests:**
418
+
419
+ - Fix scope changed [\#200](https://github.com/brendon/acts_as_list/pull/200) ([brendon](https://github.com/brendon))
420
+
421
+ ## [v0.7.3](https://github.com/brendon/acts_as_list/tree/v0.7.3) (2016-04-14)
422
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.2...v0.7.3)
423
+
424
+ ## [v0.7.2](https://github.com/brendon/acts_as_list/tree/v0.7.2) (2016-04-01)
425
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.7.2...v0.7.2)
426
+
427
+ **Closed issues:**
239
428
 
429
+ - DEPRECATION WARNING: Passing string to define callback on Rails 5 beta 3 [\#191](https://github.com/brendon/acts_as_list/issues/191)
430
+ - Why is `add\_to\_list\_bottom` private? [\#187](https://github.com/brendon/acts_as_list/issues/187)
431
+ - Ordering of children when there are two possible parent models. [\#172](https://github.com/brendon/acts_as_list/issues/172)
432
+ - Fix the jruby and rbx builds [\#169](https://github.com/brendon/acts_as_list/issues/169)
433
+ - Unable to run tests [\#162](https://github.com/brendon/acts_as_list/issues/162)
434
+ - shuffle\_positions\_on\_intermediate\_items is creating problems [\#134](https://github.com/brendon/acts_as_list/issues/134)
435
+ - introduce Changelog file to quickly track changes [\#68](https://github.com/brendon/acts_as_list/issues/68)
436
+ - Mongoid support? [\#52](https://github.com/brendon/acts_as_list/issues/52)
437
+
438
+ **Merged pull requests:**
439
+
440
+ - Add filename/line number to class\_eval call [\#193](https://github.com/brendon/acts_as_list/pull/193) ([hfwang](https://github.com/hfwang))
441
+ - Use a symbol as a string to define callback [\#192](https://github.com/brendon/acts_as_list/pull/192) ([brendon](https://github.com/brendon))
442
+ - Pin changelog generator to a working version [\#190](https://github.com/brendon/acts_as_list/pull/190) ([fabn](https://github.com/fabn))
443
+ - Fix bug, position is recomputed when object saved [\#188](https://github.com/brendon/acts_as_list/pull/188) ([chrisortman](https://github.com/chrisortman))
444
+ - Update bundler before running tests, fixes test run on travis [\#179](https://github.com/brendon/acts_as_list/pull/179) ([fabn](https://github.com/fabn))
445
+ - Changelog generator, closes \#68 [\#177](https://github.com/brendon/acts_as_list/pull/177) ([fabn](https://github.com/fabn))
446
+ - Updating README example [\#175](https://github.com/brendon/acts_as_list/pull/175) ([ryanbillings](https://github.com/ryanbillings))
447
+ - Adds description about various options available with the acts\_as\_list method [\#168](https://github.com/brendon/acts_as_list/pull/168) ([udit7590](https://github.com/udit7590))
448
+ - Small changes to DRY up list.rb [\#163](https://github.com/brendon/acts_as_list/pull/163) ([Albin-Willman](https://github.com/Albin-Willman))
449
+ - Only swap changed attributes which are persistable, i.e. are DB columns. [\#152](https://github.com/brendon/acts_as_list/pull/152) ([ludwigschubert](https://github.com/ludwigschubert))
450
+
451
+ ## [0.7.2](https://github.com/brendon/acts_as_list/tree/0.7.2) (2015-05-06)
452
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.7.1...0.7.2)
453
+
454
+ ## [0.7.1](https://github.com/brendon/acts_as_list/tree/0.7.1) (2015-05-06)
455
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.7.0...0.7.1)
456
+
457
+ **Merged pull requests:**
458
+
459
+ - Update README.md [\#159](https://github.com/brendon/acts_as_list/pull/159) ([tibastral](https://github.com/tibastral))
460
+
461
+ ## [0.7.0](https://github.com/brendon/acts_as_list/tree/0.7.0) (2015-05-01)
462
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.6.0...0.7.0)
463
+
464
+ **Closed issues:**
465
+
466
+ - Problem with reordering scoped list items [\#154](https://github.com/brendon/acts_as_list/issues/154)
467
+ - Can no longer load acts\_as\_list in isolation if Rails is installed [\#145](https://github.com/brendon/acts_as_list/issues/145)
468
+
469
+ **Merged pull requests:**
470
+
471
+ - Fix regression with using acts\_as\_list on base classes [\#147](https://github.com/brendon/acts_as_list/pull/147) ([botandrose](https://github.com/botandrose))
472
+ - Don't require rails when loading [\#146](https://github.com/brendon/acts_as_list/pull/146) ([botandrose](https://github.com/botandrose))
473
+
474
+ ## [0.6.0](https://github.com/brendon/acts_as_list/tree/0.6.0) (2014-12-24)
475
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.5.0...0.6.0)
476
+
477
+ **Closed issues:**
478
+
479
+ - Deprecation Warning: sanitize\_sql\_hash\_for\_conditions is deprecated and will be removed in Rails 5.0 [\#143](https://github.com/brendon/acts_as_list/issues/143)
480
+ - Release a new gem version [\#136](https://github.com/brendon/acts_as_list/issues/136)
481
+
482
+ **Merged pull requests:**
483
+
484
+ - Fix sanitize\_sql\_hash\_for\_conditions deprecation warning in Rails 4.2 [\#140](https://github.com/brendon/acts_as_list/pull/140) ([eagletmt](https://github.com/eagletmt))
485
+ - Simpler method to find the subclass name [\#139](https://github.com/brendon/acts_as_list/pull/139) ([brendon](https://github.com/brendon))
486
+ - Rails4 enum column support [\#130](https://github.com/brendon/acts_as_list/pull/130) ([arunagw](https://github.com/arunagw))
487
+ - use eval for determing the self.class.name useful when this is used in an abstract class [\#123](https://github.com/brendon/acts_as_list/pull/123) ([flarik](https://github.com/flarik))
488
+
489
+ ## [0.5.0](https://github.com/brendon/acts_as_list/tree/0.5.0) (2014-10-31)
490
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.4.0...0.5.0)
491
+
492
+ **Closed issues:**
493
+
494
+ - I want to have my existing records works like list [\#133](https://github.com/brendon/acts_as_list/issues/133)
495
+ - Add Support For Multiple Indexes [\#127](https://github.com/brendon/acts_as_list/issues/127)
496
+ - changing parent\_id does not update item positions [\#126](https://github.com/brendon/acts_as_list/issues/126)
497
+ - How to exclude objects to be positioned? [\#125](https://github.com/brendon/acts_as_list/issues/125)
498
+ - Scope for Polymorphic association + ManyToMany [\#106](https://github.com/brendon/acts_as_list/issues/106)
499
+ - Bug when use \#insert\_at on an invalid ActiveRecord object [\#99](https://github.com/brendon/acts_as_list/issues/99)
500
+ - has\_many :through with acts as list [\#95](https://github.com/brendon/acts_as_list/issues/95)
501
+ - Update position when scope changes [\#19](https://github.com/brendon/acts_as_list/issues/19)
502
+
503
+ **Merged pull requests:**
504
+
505
+ - Cast column default value to int before comparing with position column [\#129](https://github.com/brendon/acts_as_list/pull/129) ([wioux](https://github.com/wioux))
506
+ - Fix travis builds for rbx [\#128](https://github.com/brendon/acts_as_list/pull/128) ([meineerde](https://github.com/meineerde))
507
+ - Use unscoped blocks instead of chaining [\#121](https://github.com/brendon/acts_as_list/pull/121) ([brendon](https://github.com/brendon))
508
+ - Make acts\_as\_list more compatible with BINARY column [\#116](https://github.com/brendon/acts_as_list/pull/116) ([sikachu](https://github.com/sikachu))
509
+ - Added help notes on non-association scopes [\#115](https://github.com/brendon/acts_as_list/pull/115) ([VorontsovIE](https://github.com/VorontsovIE))
510
+ - Let AR::Base properly lazy-loaded if Railtie is available [\#114](https://github.com/brendon/acts_as_list/pull/114) ([amatsuda](https://github.com/amatsuda))
511
+
512
+ ## [0.4.0](https://github.com/brendon/acts_as_list/tree/0.4.0) (2014-02-22)
513
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.3.0...0.4.0)
514
+
515
+ **Closed issues:**
516
+
517
+ - insert\_at creates gaps [\#108](https://github.com/brendon/acts_as_list/issues/108)
518
+ - move\_lower and move\_higher not working returning nil [\#57](https://github.com/brendon/acts_as_list/issues/57)
519
+ - Mass-assignment issue with 0.1.8 [\#50](https://github.com/brendon/acts_as_list/issues/50)
520
+ - validates error [\#49](https://github.com/brendon/acts_as_list/issues/49)
521
+ - Ability to move multiple at once [\#40](https://github.com/brendon/acts_as_list/issues/40)
522
+ - Duplicates created when using accepts\_nested\_attributes\_for [\#29](https://github.com/brendon/acts_as_list/issues/29)
523
+
524
+ **Merged pull requests:**
525
+
526
+ - Update README [\#107](https://github.com/brendon/acts_as_list/pull/107) ([Senjai](https://github.com/Senjai))
527
+ - Add license info: license file and gemspec [\#105](https://github.com/brendon/acts_as_list/pull/105) ([chulkilee](https://github.com/chulkilee))
528
+ - Fix top position when position is lower than top position [\#104](https://github.com/brendon/acts_as_list/pull/104) ([csaura](https://github.com/csaura))
529
+ - Get specs running under Rails 4.1.0.beta1 [\#101](https://github.com/brendon/acts_as_list/pull/101) ([petergoldstein](https://github.com/petergoldstein))
530
+ - Add support for JRuby and Rubinius specs [\#100](https://github.com/brendon/acts_as_list/pull/100) ([petergoldstein](https://github.com/petergoldstein))
531
+ - Use the correct syntax for conditions in Rails 4 on the readme. [\#94](https://github.com/brendon/acts_as_list/pull/94) ([gotjosh](https://github.com/gotjosh))
532
+ - Adds `required\_ruby\_version` to gemspec [\#90](https://github.com/brendon/acts_as_list/pull/90) ([tvdeyen](https://github.com/tvdeyen))
533
+
534
+ ## [0.3.0](https://github.com/brendon/acts_as_list/tree/0.3.0) (2013-08-02)
535
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.2.0...0.3.0)
536
+
537
+ **Closed issues:**
538
+
539
+ - act\_as\_list didn't install with bundle install [\#83](https://github.com/brendon/acts_as_list/issues/83)
540
+ - Cannot update to version 0.1.7 [\#48](https://github.com/brendon/acts_as_list/issues/48)
541
+ - when position is null all new items get inserted in position 1 [\#41](https://github.com/brendon/acts_as_list/issues/41)
542
+
543
+ **Merged pull requests:**
544
+
545
+ - Test against activerecord v3 and v4 [\#82](https://github.com/brendon/acts_as_list/pull/82) ([sanemat](https://github.com/sanemat))
546
+ - Fix check\_scope to work on lists with array scopes [\#81](https://github.com/brendon/acts_as_list/pull/81) ([conzett](https://github.com/conzett))
547
+ - Rails4 compatibility [\#80](https://github.com/brendon/acts_as_list/pull/80) ([philippfranke](https://github.com/philippfranke))
548
+ - Add tests for moving within scope and add method: move\_within\_scope [\#79](https://github.com/brendon/acts_as_list/pull/79) ([philippfranke](https://github.com/philippfranke))
549
+ - Option to not automatically add items to the list [\#72](https://github.com/brendon/acts_as_list/pull/72) ([forrest](https://github.com/forrest))
550
+
551
+ ## [0.2.0](https://github.com/brendon/acts_as_list/tree/0.2.0) (2013-02-28)
552
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.9...0.2.0)
553
+
554
+ **Merged pull requests:**
555
+
556
+ - Fix update\_all deprecation warnings in Rails 4.0.0.beta1 [\#73](https://github.com/brendon/acts_as_list/pull/73) ([soffes](https://github.com/soffes))
557
+ - Add quotes to Id in SQL requests [\#69](https://github.com/brendon/acts_as_list/pull/69) ([noefroidevaux](https://github.com/noefroidevaux))
558
+ - Update position when scope changes [\#67](https://github.com/brendon/acts_as_list/pull/67) ([philippfranke](https://github.com/philippfranke))
559
+ - add and categorize public instance methods in readme; add misc notes to ... [\#66](https://github.com/brendon/acts_as_list/pull/66) ([barelyknown](https://github.com/barelyknown))
560
+ - Updates \#bottom\_item .find syntax to \>= Rails 3 compatible syntax. [\#65](https://github.com/brendon/acts_as_list/pull/65) ([tvdeyen](https://github.com/tvdeyen))
561
+ - add GitHub Flavored Markdown to README [\#63](https://github.com/brendon/acts_as_list/pull/63) ([phlipper](https://github.com/phlipper))
562
+
563
+ ## [0.1.9](https://github.com/brendon/acts_as_list/tree/0.1.9) (2012-12-04)
564
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.8...0.1.9)
565
+
566
+ **Closed issues:**
567
+
568
+ - Mysql2 error [\#54](https://github.com/brendon/acts_as_list/issues/54)
569
+ - Use alternative column name? [\#53](https://github.com/brendon/acts_as_list/issues/53)
570
+
571
+ **Merged pull requests:**
572
+
573
+ - attr-accessible can be damaging, is not always necessary. [\#60](https://github.com/brendon/acts_as_list/pull/60) ([graemeworthy](https://github.com/graemeworthy))
574
+ - More reliable lower/higher item detection [\#59](https://github.com/brendon/acts_as_list/pull/59) ([miks](https://github.com/miks))
575
+ - Instructions for using an array with scope [\#58](https://github.com/brendon/acts_as_list/pull/58) ([zukowski](https://github.com/zukowski))
576
+ - Attr accessible patch, should solve \#50 [\#51](https://github.com/brendon/acts_as_list/pull/51) ([fabn](https://github.com/fabn))
577
+ - support accepts\_nested\_attributes\_for multi-destroy [\#46](https://github.com/brendon/acts_as_list/pull/46) ([saberma](https://github.com/saberma))
578
+
579
+ ## [0.1.8](https://github.com/brendon/acts_as_list/tree/0.1.8) (2012-08-09)
580
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.7...0.1.8)
581
+
582
+ ## [0.1.7](https://github.com/brendon/acts_as_list/tree/0.1.7) (2012-08-09)
583
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.6...0.1.7)
584
+
585
+ **Closed issues:**
586
+
587
+ - Remove use of update\_attribute [\#44](https://github.com/brendon/acts_as_list/issues/44)
588
+ - Order is reversed when adding multiple rows at once [\#34](https://github.com/brendon/acts_as_list/issues/34)
589
+
590
+ **Merged pull requests:**
591
+
592
+ - Fixed issue with update\_positions that wasn't taking 'scope\_condition' into account [\#47](https://github.com/brendon/acts_as_list/pull/47) ([bastien](https://github.com/bastien))
593
+ - Replaced usage of update\_attribute with update\_attribute! [\#45](https://github.com/brendon/acts_as_list/pull/45) ([kevmoo](https://github.com/kevmoo))
594
+ - use self.class.primary\_key instead of id in shuffle\_positions\_on\_intermediate\_items [\#42](https://github.com/brendon/acts_as_list/pull/42) ([servercrunch](https://github.com/servercrunch))
595
+ - initialize gem [\#39](https://github.com/brendon/acts_as_list/pull/39) ([megatux](https://github.com/megatux))
596
+ - Added ability to set item positions directly \(e.g. In a form\) [\#38](https://github.com/brendon/acts_as_list/pull/38) ([dubroe](https://github.com/dubroe))
597
+ - Prevent SQL error when position\_column is not unique [\#37](https://github.com/brendon/acts_as_list/pull/37) ([hinrik](https://github.com/hinrik))
598
+ - Add installation instructions to README.md [\#35](https://github.com/brendon/acts_as_list/pull/35) ([mark-rushakoff](https://github.com/mark-rushakoff))
599
+
600
+ ## [0.1.6](https://github.com/brendon/acts_as_list/tree/0.1.6) (2012-04-19)
601
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.5...0.1.6)
602
+
603
+ **Closed issues:**
604
+
605
+ - eval mistakenly resolved the module path [\#32](https://github.com/brendon/acts_as_list/issues/32)
606
+ - Duplicated positions when creating parent and children from scratch in 0.1.5 [\#31](https://github.com/brendon/acts_as_list/issues/31)
607
+ - add info about v0.1.5 require Rails 3 [\#28](https://github.com/brendon/acts_as_list/issues/28)
608
+ - position not updated with move\_higher or move\_lover [\#23](https://github.com/brendon/acts_as_list/issues/23)
609
+
610
+ **Merged pull requests:**
611
+
612
+ - update ActiveRecord class eval to support ActiveSupport on\_load [\#33](https://github.com/brendon/acts_as_list/pull/33) ([mergulhao](https://github.com/mergulhao))
613
+ - Add :add\_new\_at option [\#30](https://github.com/brendon/acts_as_list/pull/30) ([mjbellantoni](https://github.com/mjbellantoni))
614
+
615
+ ## [0.1.5](https://github.com/brendon/acts_as_list/tree/0.1.5) (2012-02-24)
616
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.4...0.1.5)
617
+
618
+ **Closed issues:**
619
+
620
+ - increment\_positions\_on\_lower\_items called twice on insert\_at with new item [\#21](https://github.com/brendon/acts_as_list/issues/21)
621
+ - Change bundler dependency from ~\>1.0.0 to ~\>1.0 [\#20](https://github.com/brendon/acts_as_list/issues/20)
622
+ - decrement\_positions\_on\_lower\_items method [\#17](https://github.com/brendon/acts_as_list/issues/17)
623
+ - New gem release [\#16](https://github.com/brendon/acts_as_list/issues/16)
624
+ - acts\_as\_list :scope =\> "doesnt\_seem\_to\_work" [\#12](https://github.com/brendon/acts_as_list/issues/12)
625
+ - don't work perfectly with default\_scope [\#11](https://github.com/brendon/acts_as_list/issues/11)
626
+ - MySQL: Position column MUST NOT have default [\#10](https://github.com/brendon/acts_as_list/issues/10)
627
+ - insert\_at fails on postgresql w/ non-null constraint on postion\_column [\#8](https://github.com/brendon/acts_as_list/issues/8)
628
+
629
+ **Merged pull requests:**
630
+
631
+ - Efficiency improvement for insert\_at when repositioning an existing item [\#27](https://github.com/brendon/acts_as_list/pull/27) ([bradediger](https://github.com/bradediger))
632
+ - Use before validate instead of before create [\#25](https://github.com/brendon/acts_as_list/pull/25) ([webervin](https://github.com/webervin))
633
+ - Massive test refactorings. [\#24](https://github.com/brendon/acts_as_list/pull/24) ([splattael](https://github.com/splattael))
634
+ - Silent migrations to reduce test noise. [\#22](https://github.com/brendon/acts_as_list/pull/22) ([splattael](https://github.com/splattael))
635
+ - Should decrement lower items after the item has been destroyed to avoid unique key conflicts. [\#18](https://github.com/brendon/acts_as_list/pull/18) ([aepstein](https://github.com/aepstein))
636
+ - Fix spelling and grammer [\#15](https://github.com/brendon/acts_as_list/pull/15) ([tmiller](https://github.com/tmiller))
637
+ - store\_at\_0 should yank item from the list then decrement items to avoid r [\#14](https://github.com/brendon/acts_as_list/pull/14) ([aepstein](https://github.com/aepstein))
638
+ - Support default\_scope ordering by calling .unscoped [\#13](https://github.com/brendon/acts_as_list/pull/13) ([tanordheim](https://github.com/tanordheim))
639
+
640
+ ## [0.1.4](https://github.com/brendon/acts_as_list/tree/0.1.4) (2011-07-27)
641
+ [Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.3...0.1.4)
642
+
643
+ **Merged pull requests:**
644
+
645
+ - Fix sqlite3 dependency [\#7](https://github.com/brendon/acts_as_list/pull/7) ([joneslee85](https://github.com/joneslee85))
646
+
647
+ ## [0.1.3](https://github.com/brendon/acts_as_list/tree/0.1.3) (2011-06-10)
648
+ **Closed issues:**
649
+
650
+ - Graph like behaviour [\#5](https://github.com/brendon/acts_as_list/issues/5)
651
+ - Updated Gem? [\#4](https://github.com/brendon/acts_as_list/issues/4)
652
+
653
+ **Merged pull requests:**
240
654
 
241
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
655
+ - Converted into a gem... plus some slight refactors [\#6](https://github.com/brendon/acts_as_list/pull/6) ([chaffeqa](https://github.com/chaffeqa))
656
+ - Fixed test issue for test\_injection: expected SQL was reversed. [\#3](https://github.com/brendon/acts_as_list/pull/3) ([afriqs](https://github.com/afriqs))
657
+ - Added an option to set the top of the position [\#2](https://github.com/brendon/acts_as_list/pull/2) ([danielcooper](https://github.com/danielcooper))
658
+ - minor change to acts\_as\_list's callbacks [\#1](https://github.com/brendon/acts_as_list/pull/1) ([tiegz](https://github.com/tiegz))