|
|
|
|
|
by jordinl
5282 days ago
|
|
"It took me two and a half years to realize that Ruby classes in the models folder don't have to inherit from ActiveRecord::Base. That is a problem." Wow! Maybe you're the problem... "ActionController relies on instance variables to pass information from the controller to the view. Have you ever seen a 200 line long controller method? I have." Well I haven't, I've actually seen it in Django. Nothing forces you to write 200 lines controller methods. "The whole idea of logic in templates leads to all kinds of problems." Again, nothing forces to write a lot of logic in the views, you could write the minimum necessary. |
|