Mentioned in rails

How can we implement mentioned like facebook in rails.

What ideas do you have yourself for how you might do it? What are the
key things the app needs to do? What data do you need to remember? I
suggest starting by writing down exactly what the app has to achieve
and the act of writing down a spec will clarify your thoughts and
probably get you started. Then if there are particular bits you need
help with come back and ask again.

Colin

Check out this gem Socialization
https://github.com/cmer/socialization

It implements the mention feature as implemented in Facebook

In case you have problem implementing it check out :
http://stackoverflow.com/questions/21540701/ruby-on-rails-socialization-gem-setup

Hope this helps
Regards