Topic: Ruby On Rails User control

I  want to develop some kind of user control solution in Rails, so then that control can be easily added to Ruby On Rails sites. For example, lets say, i want to create some chat user control with its own database,views,controllers, so then that chat control can be added to Ruby On Rails sites.

Is this possible? And if yes, what should i learn for that(plugins,gems?)

Thanks in advance

Re: Ruby On Rails User control

Have a look at authlogic, a former plugin, since Rails 3 integrated.

Regards Thomas