v0.7.6 (2016-07-15)
Closed issues:
- add_new_at nil with scope causes NoMethodError #211
Merged pull requests:
- Add class method acts_as_list_top as reader for configured top_of_list #213 (krzysiek1507)
- Bugfix/add new at nil on scope change #212 (greatghoul)
v0.7.5 (2016-06-30)
Implemented enhancements:
- Touch when reordering #173 (botandrose)
Closed issues:
- Exception raised when calling destroy "NameError - instance variable @scope_changed not defined:" #206
- Undefined instance variable @scope_changed since 0.7.3 #199
- Reordering large lists is slow #198
- Reparenting child leaves gap in source list in rails 5 #194
- Support rails 5 ? #186
- I get a NoMethodError: undefined method `acts_as_list' when trying to include acts_as_list #176
- Phenomenon of mysterious value of the position is skipped by one #166
- Model.find being called twice with acts_as_list on destroy #161
scope\_changed?
problem with acts_as_paranoid #158- Inconsistent behaviour between Symbol and Array scopes #155
- insert_at doesn't seem to be working in ActiveRecord callback (Rails 4.2) #150
- Project Documentation link redirects to expired domain #149
- Problem when updating an position of array of AR objects. #137
- Unexpected behaviour when inserting consecutive items with default positions #124
- self.reload prone to error #122
- Rails 3.0.x in_list causes the return of default_scope #120
- Relationships with dependency:destroy cause ActiveRecord::RecordNotFound #118
- Using insert_at with values with type String #117
- Batch setting of position #112
- position: 0 now makes model pushed to top? #110
- Create element in default position #103
- Enhancement: Expose scope object #97
- Shuffle list #96
- Creating an item with a nil scope should not add it to the list #92
- Performance Improvements #88
- has_many :through or has_many_and_belongs_to_many support #86
- ActiveRecord dependency causes rake assets:compile to fail without access to a database #84
- move_higher/move_lower vs move_to_top/move_to_bottom act differently when item is already at top or bottom #77
- Limiting the list size #61
- Adding multiple creates strange ordering #55
- Feature: sort #26
Merged pull requests:
- Removed duplicated assignment #207 (shunwen)
- Quote all identifiers #205 (fabn)
- Start testing Rails 5 #203 (brendon)
- Lock! the record before destroying #201 (brendon)
- Fix ambiguous column error when joining some relations #180 (natw)
v0.7.4 (2016-04-15)
Closed issues:
- Releasing a new gem version #196
Merged pull requests:
v0.7.3 (2016-04-14)
v0.7.2 (2016-04-01)
Closed issues:
- DEPRECATION WARNING: Passing string to define callback on Rails 5 beta 3 #191
- Why is
add\_to\_list\_bottom
private? #187 - Ordering of children when there are two possible parent models. #172
- Fix the jruby and rbx builds #169
- Unable to run tests #162
- shuffle_positions_on_intermediate_items is creating problems #134
- introduce Changelog file to quickly track changes #68
- Mongoid support? #52
Merged pull requests:
- Add filename/line number to class_eval call #193 (hfwang)
- Use a symbol as a string to define callback #192 (brendon)
- Pin changelog generator to a working version #190 (fabn)
- Fix bug, position is recomputed when object saved #188 (chrisortman)
- Update bundler before running tests, fixes test run on travis #179 (fabn)
- Changelog generator, closes #68 #177 (fabn)
- Updating README example #175 (ryanbillings)
- Adds description about various options available with the acts_as_list method #168 (udit7590)
- Small changes to DRY up list.rb #163 (Albin-Willman)
- Only swap changed attributes which are persistable, i.e. are DB columns. #152 (ludwigschubert)
0.7.2 (2015-05-06)
0.7.1 (2015-05-06)
Merged pull requests:
0.7.0 (2015-05-01)
Closed issues:
- Problem with reordering scoped list items #154
- Can no longer load acts_as_list in isolation if Rails is installed #145
Merged pull requests:
- Fix regression with using acts_as_list on base classes #147 (botandrose)
- Don't require rails when loading #146 (botandrose)
0.6.0 (2014-12-24)
Closed issues:
- Deprecation Warning: sanitize_sql_hash_for_conditions is deprecated and will be removed in Rails 5.0 #143
- Release a new gem version #136
Merged pull requests:
- Fix sanitize_sql_hash_for_conditions deprecation warning in Rails 4.2 #140 (eagletmt)
- Simpler method to find the subclass name #139 (brendon)
- Rails4 enum column support #130 (arunagw)
- use eval for determing the self.class.name useful when this is used in an abstract class #123 (flarik)
0.5.0 (2014-10-31)
Closed issues:
- I want to have my existing records works like list #133
- Add Support For Multiple Indexes #127
- changing parent_id does not update item positions #126
- How to exclude objects to be positioned? #125
- Scope for Polymorphic association + ManyToMany #106
- Bug when use #insert_at on an invalid ActiveRecord object #99
- has_many :through with acts as list #95
- Update position when scope changes #19
Merged pull requests:
- Cast column default value to int before comparing with position column #129 (wioux)
- Fix travis builds for rbx #128 (meineerde)
- Use unscoped blocks instead of chaining #121 (brendon)
- Make acts_as_list more compatible with BINARY column #116 (sikachu)
- Added help notes on non-association scopes #115 (VorontsovIE)
- Let AR::Base properly lazy-loaded if Railtie is available #114 (amatsuda)
0.4.0 (2014-02-22)
Closed issues:
- insert_at creates gaps #108
- move_lower and move_higher not working returning nil #57
- Mass-assignment issue with 0.1.8 #50
- validates error #49
- Ability to move multiple at once #40
- Duplicates created when using accepts_nested_attributes_for #29
Merged pull requests:
- Update README #107 (Senjai)
- Add license info: license file and gemspec #105 (chulkilee)
- Fix top position when position is lower than top position #104 (csaura)
- Get specs running under Rails 4.1.0.beta1 #101 (petergoldstein)
- Add support for JRuby and Rubinius specs #100 (petergoldstein)
- Use the correct syntax for conditions in Rails 4 on the readme. #94 (gotjosh)
- Adds
required\_ruby\_version
to gemspec #90 (tvdeyen)
0.3.0 (2013-08-02)
Closed issues:
- act_as_list didn't install with bundle install #83
- Cannot update to version 0.1.7 #48
- when position is null all new items get inserted in position 1 #41
Merged pull requests:
- Test against activerecord v3 and v4 #82 (sanemat)
- Fix check_scope to work on lists with array scopes #81 (conzett)
- Rails4 compatibility #80 (philippfranke)
- Add tests for moving within scope and add method: move_within_scope #79 (philippfranke)
- Option to not automatically add items to the list #72 (forrest)
0.2.0 (2013-02-28)
Merged pull requests:
- Fix update_all deprecation warnings in Rails 4.0.0.beta1 #73 (soffes)
- Add quotes to Id in SQL requests #69 (noefroidevaux)
- Update position when scope changes #67 (philippfranke)
- add and categorize public instance methods in readme; add misc notes to ... #66 (barelyknown)
- Updates #bottom_item .find syntax to >= Rails 3 compatible syntax. #65 (tvdeyen)
- add GitHub Flavored Markdown to README #63 (phlipper)
0.1.9 (2012-12-04)
Closed issues:
Merged pull requests:
- attr-accessible can be damaging, is not always necessary. #60 (graemeworthy)
- More reliable lower/higher item detection #59 (miks)
- Instructions for using an array with scope #58 (zukowski)
- Attr accessible patch, should solve #50 #51 (fabn)
- support accepts_nested_attributes_for multi-destroy #46 (saberma)
0.1.8 (2012-08-09)
0.1.7 (2012-08-09)
Closed issues:
Merged pull requests:
- Fixed issue with update_positions that wasn't taking 'scope_condition' into account #47 (bastien)
- Replaced usage of update_attribute with update_attribute! #45 (kevmoo)
- use self.class.primary_key instead of id in shuffle_positions_on_intermediate_items #42 (servercrunch)
- initialize gem #39 (megatux)
- Added ability to set item positions directly (e.g. In a form) #38 (dubroe)
- Prevent SQL error when position_column is not unique #37 (hinrik)
- Add installation instructions to README.md #35 (mark-rushakoff)
0.1.6 (2012-04-19)
Closed issues:
- eval mistakenly resolved the module path #32
- Duplicated positions when creating parent and children from scratch in 0.1.5 #31
- add info about v0.1.5 require Rails 3 #28
- position not updated with move_higher or move_lover #23
Merged pull requests:
- update ActiveRecord class eval to support ActiveSupport on_load #33 (mergulhao)
- Add :add_new_at option #30 (mjbellantoni)
0.1.5 (2012-02-24)
Closed issues:
- increment_positions_on_lower_items called twice on insert_at with new item #21
- Change bundler dependency from ~>1.0.0 to ~>1.0 #20
- decrement_positions_on_lower_items method #17
- New gem release #16
- acts_as_list :scope => "doesnt_seem_to_work" #12
- don't work perfectly with default_scope #11
- MySQL: Position column MUST NOT have default #10
- insert_at fails on postgresql w/ non-null constraint on postion_column #8
Merged pull requests:
- Efficiency improvement for insert_at when repositioning an existing item #27 (bradediger)
- Use before validate instead of before create #25 (webervin)
- Massive test refactorings. #24 (splattael)
- Silent migrations to reduce test noise. #22 (splattael)
- Should decrement lower items after the item has been destroyed to avoid unique key conflicts. #18 (aepstein)
- Fix spelling and grammer #15 (tmiller)
- store_at_0 should yank item from the list then decrement items to avoid r #14 (aepstein)
- Support default_scope ordering by calling .unscoped #13 (tanordheim)
0.1.4 (2011-07-27)
Merged pull requests:
- Fix sqlite3 dependency #7 (joneslee85)
0.1.3 (2011-06-10)
Closed issues:
Merged pull requests:
- Converted into a gem... plus some slight refactors #6 (chaffeqa)
- Fixed test issue for test_injection: expected SQL was reversed. #3 (afriqs)
- Added an option to set the top of the position #2 (danielcooper)
- minor change to acts_as_list's callbacks #1 (tiegz)
* This Change Log was automatically generated by github_changelog_generator