> The callback would be placed in the post model correct? Yes. > And that callback would include code that would find the > amount of posts in that tag if it exists? Yes. > Then how would I use that in the post controller's create > method? When you call @post.save in the controller the appropiated callbacks in the Post model are called, so you don't need a explicit call to a function or do another thing inside the model.
Regards. Franco Catena. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

