On 2 March 2012 20:18, reynierpm@gmail.com <reynierpm@gmail.com> wrote:
> @Javier: Thanks for your clarifications it's a bit clear to me now
> @Colin: I can do that without problem because I'm starting the application
> so maybe I could create models from scratch using Rails but what about
> fixtures? I've a table country and will be nice if I can populate the table
> with 238 records :)
As I suggested previously, work through railstutorial.org and it will
introduce you to a variety of techniques including testing options.
Fixtures are not considered the best way of testing by most developers
now.
> @Walter: Understood but what about relations? How to deal with this from
> rails command line? I have relations BelongsTo (record belongs to country)
> and hasMany (record hasMany attachment and some others)
The same goes here, work through the tutorial and you will be able to
answer basic questions yourself.
Colin
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment