Topic: Question about Model and Helper Methods
I'm unsure about not only when to use these, but also how. Example: I was implementing a button that creates a relationship between my Course model and my User model (to subscribe a user to a course). In Michael Hartl's railstutorial, he uses a model method called follow! and calls it in the controller. I tried that (making appropriate changes for my use-case of course), but kept winding up with an 'undefined method' error, so I just moved the logic to the controller for right now.
My question is more general than that though. When do you use a method in the model? Is it only for logic that accesses the database? And helper methods are only for the views, right? I want to follow the 'Fat Model, Skinny Controller' idea, but so far, my app is the opposite of that.