Skip to content

Commit

Permalink
Merge 3bb1160 into fdb18e9
Browse files Browse the repository at this point in the history
  • Loading branch information
nooncat committed Dec 21, 2015
2 parents fdb18e9 + 3bb1160 commit b5dfc06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ end
# app/models/parent.rb

class Parent < ActiveRecord::Base
has_many :children
has_many :children, -> { ordered_by_position_asc }

accepts_nested_attributes_for :children
end
Expand Down
2 changes: 1 addition & 1 deletion README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ end
# app/models/parent.rb

class Parent < ActiveRecord::Base
has_many :children
has_many :children, -> { ordered_by_position_asc }

accepts_nested_attributes_for :children
end
Expand Down

0 comments on commit b5dfc06

Please sign in to comment.