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/. -- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Dheeraj Kumar
2013-Apr-21 11:31 UTC
Re: Where to find info about seed.rb, db:seed functionality?
You could refer the edge guides: http://edgeguides.rubyonrails.org/migrations.html#migrations-and-seed-data On Sun, Apr 21, 2013 at 4:56 PM, Wins Lin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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/. > > -- > 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Wins Lin
2013-Apr-21 11:39 UTC
Re: Where to find info about seed.rb, db:seed functionality?
Dheeraj Kumar wrote in post #1106428:> You could refer the edge guides: > http://edgeguides.rubyonrails.org/migrations.html#migrations-and-seed-dataThank you. Didn''t know about this resource. -- Posted via http://www.ruby-forum.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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
tamouse mailing lists
2013-Apr-21 14:15 UTC
Re: Re: Where to find info about seed.rb, db:seed functionality?
On Sun, Apr 21, 2013 at 6:39 AM, Wins Lin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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? -- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Frederick Cheung
2013-Apr-21 16:24 UTC
Re: Re: Where to find info about seed.rb, db:seed functionality?
On Sunday, April 21, 2013 3:15:37 PM UTC+1, tamouse wrote:> On Sun, Apr 21, 2013 at 6:39 AM, Wins Lin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 -- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/L_TjL5G1PQIJ. For more options, visit https://groups.google.com/groups/opt_out.
tamouse mailing lists
2013-Apr-22 04:39 UTC
Re: Re: Where to find info about seed.rb, db:seed functionality?
On Apr 21, 2013 11:24 AM, "Frederick Cheung" <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Sunday, April 21, 2013 3:15:37 PM UTC+1, tamouse wrote: > > On Sun, Apr 21, 2013 at 6:39 AM, Wins Lin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 frommaster 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.> > FredSo then why aren''t seeds mentioned in guides? -- 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.