Where to find info about seed.rb, db:seed functionality?

27 views
Skip to first unread message

Wins Lin

unread,
Apr 21, 2013, 7:26:28 AM4/21/13
to rubyonra...@googlegroups.com
There is no any mention about it neither in API nor in Guide. How to use
these features? The only gist with two sentences is in db/seed.rb file.
That's really not enough.

--
Posted via http://www.ruby-forum.com/.

Dheeraj Kumar

unread,
Apr 21, 2013, 7:31:39 AM4/21/13
to rubyonra...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Wins Lin

unread,
Apr 21, 2013, 7:39:56 AM4/21/13
to rubyonra...@googlegroups.com
Dheeraj Kumar wrote in post #1106428:
Thank you. Didn't know about this resource.

tamouse mailing lists

unread,
Apr 21, 2013, 10:15:37 AM4/21/13
to rubyonra...@googlegroups.com
On Sun, Apr 21, 2013 at 6:39 AM, Wins Lin <li...@ruby-forum.com> wrote:
> Dheeraj Kumar wrote in post #1106428:
>> You could refer the edge guides:
>> http://edgeguides.rubyonrails.org/migrations.html#migrations-and-seed-data
>
> Thank you. Didn't know about this resource.

Seeds have been in Rails for quite some time; how does information
migrate from Edge Guides to mainstream Guides?

Frederick Cheung

unread,
Apr 21, 2013, 12:24:28 PM4/21/13
to rubyonra...@googlegroups.com
On Sunday, April 21, 2013 3:15:37 PM UTC+1, tamouse wrote:
> On Sun, Apr 21, 2013 at 6:39 AM, Wins Lin <li...@ruby-forum.com> wrote:
>
> > Dheeraj Kumar wrote in post #1106428:
>
>
> Seeds have been in Rails for quite some time; how does information
>
> migrate from Edge Guides to mainstream Guides?

The guides are part of the main rails repo, so edge guides is built from master and the current guides.rubyonrails.org is built from current stable release from the 3-2 branch. When rails 4.0 comes out, guides.rubyonrails.org will be built from that instead.

Fred

tamouse mailing lists

unread,
Apr 22, 2013, 12:39:21 AM4/22/13
to rubyonra...@googlegroups.com

So then why aren't seeds mentioned in guides?

Reply all
Reply to author
Forward
0 new messages