I am having issue grasping how to accomplish interacting between two
My design is as follows: I am coding a Microblog. I can make
posts, which are text, and need to extract hashtags from that content.
Right now I use a form_for to get the input for the micropost. I have
put in the models that a micropost has_many Hashtags and that Hashtags
My question is where do I put the code to do this? I can't seem to make
a new hashtag directly from the view in a similar way as my microposts.
My initial try was to put the extract code in the create method of the
Post controller. Anything pointing me in the right direction would be