Rails Controller
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2010-05-18T01:31:36Z
Indexed on
2010/05/18
1:40 UTC
Read the original article
Hit count: 331
Hi...In Rails, is it ok to define logic in a controller with a model. For example, take there is an User Model, which is good design.
1)Leaving the UserModel with the CRUD models and moving all the other User Specific actions to a separate controller or
2)Add the user specific actions to the same UserModels
Thanks :)
© Stack Overflow or respective owner