sukury47 wrote in post #962465:
>
> ps. As i've practiced rails, i thought that
> Controller not named as pluarize of model is bad structure of app
> is it real? do you think so two?

Yes, it annoys me that there are so many examples for Rails like that.

In Rails, part of the beauty is the idea of convention over 
configuration. Conform to the 90% case and life (and coding) is easy.

Yet so many "introductory" tutorials begin with a non-conforming case.

It wasn't until I really looked at ALL the code generated by a simple

rails generate scaffold person first_name:string last_name:string

that it all started to make real sense.

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to