From 3bb116050f8916e8a9ecd214f2e577c1a1ce3787 Mon Sep 17 00:00:00 2001 From: Vladimir Nikonorov Date: Mon, 21 Dec 2015 14:10:05 +0300 Subject: [PATCH] update README --- README.md | 2 +- README.ru.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b990fc3..b1b5fa3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README.ru.md b/README.ru.md index 6e4e1df..2c7a61a 100644 --- a/README.ru.md +++ b/README.ru.md @@ -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