Parent id nested set options#1633
Conversation
There was a problem hiding this comment.
i is the instance of page and id is nil so this produces select tree with empty values for options. Can you fix it please? Thanks!
|
For the future - please open PR's against master branch instead of 2-0-stable. I'm asking this so that we can put new stuff in the dev branch first and only then backport needed changes/fixes to the stable branches. Thanks :) |
|
Bonus points for specs! |
|
Re-pushed, thanks for catching that! Dev branches and specs are for sissies :). |
|
I liked first version better because it was shorter and cleaner. All you had to do was to remove |
|
Merged. Specs are for people who want to ensure that we don't break your code later ;-) |
|
Opened #1653 for 2-0-stable |
Manually preload :translations association to avoid the extra queries.