Possible to use rails for a popup?

Check the API.
http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#M000378

Look for the :popup option.

-- James