On 30 March 2010 05:05, Tom Mac <[email protected]> wrote:
> Hi Colin
>
>    Suppose I have the development phases like phase1,phase2, etc. So
> for example in Phase1 I have to seed data to say table1 (rake
> db:seed_fu) And it is deployed.
> Now again in phase2 again I have to seed data to table2 . Then also to
> sseed data I run
> rake db:seed_fu
>
>        But when ever I run this command it seeds data to table1 (once
> more) and table2 (for the first time). Is n't it? I think I can answer
> your question. But could you please give answer to my original questions
> posted in this thread.

Remove the data for the first table from the seed code once you have
done it, so that the next time it just seeds the second one.  You can
always get the old version back from your version control system if
you ever need it again.

Colin

>
>
> Thanks
> Tom
> --
> 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 post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to