@profile = Profiles.get_details
where get_details returns hash of all columns for the profile from the
Out of interest - why are you doing this instead of using the fields
provided by ActiveRecord? The idea behind AR is that you can do
Profiles.find(:all) and then for each profile use profile.name or even
traverse relationships like profile.town.name.