I’m considering swapping out Grails for Ruby on Rails as the front-end
for my application, which is currently comprised of a Grails front-end
and a couple of RESTful “backend” Java Web Services. The various
components are tied together using CAS. Before going ahead with the swap
I’d appreciate insight on the following:
How can I “map” the table structure created by the
Java Web Services using ActiveRecord or DataMapper? There will be times
I’ll need to pull data directly from the database rather than go through
one of the services.
In Grails, I have access to SpringSecurityService which gives me
access to user information – i.e. id, name, etc. – as well as CAS
information. How can I achieve this in Rails?