Ruby on Rails
Friday, April 27, 2012
Thanks a lot guys.....will definitely try what you have mentioned
--
Thanks & Regards,
Akshar Jamgaonkar
-- On Fri, Apr 27, 2012 at 12:30 PM, Ar Chron <lists@ruby-forum.com> wrote:
akshar jamgaonkar wrote in post #1058608:
Sooo, sounds like the basic scaffold functionality won't work. So> Hi I am new to ruby on rails , i am trying to develop a form client
> form having multiple refrences to country... i.e while adding a client
> i can add two contact persons each have a country associated with
> them. However with scaffolding iam unable to refer country
> twice....could anyone of you shed some light as to where iam going
> wrong or what could be the rite way....
you'll have to take control and write some code of your own.
My own two cents... scaffolding is good for education, and a look at
how Rails is designed to work, but it's just the basics. Never done
Rails before? Scaffold up a model with some attributes, then go look at
that generated code. Figure out how all the pieces and parts work
together. Then start writing your own code.
I use scaffolding for proof of concept all the time, but the scaffolded
code doesn't survive very long at all.
--
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 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.
--
Thanks & Regards,
Akshar Jamgaonkar
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment