Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Nikonorov committed Dec 21, 2015
1 parent fdb18e9 commit 3bb1160
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 3bb1160

Please sign in to comment.