The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: darrin <darrin.ho...@gmail.com>
Date: Fri, 22 Feb 2008 13:22:52 -0800 (PST)
Local: Fri, Feb 22 2008 4:22 pm
Subject: Re: Possible DangerousAttributeError
How long have I been doing what, posing as a Rails guy? Been dabbling
in it for a year or two now. As for your problem, try adding this to your model...
class << self # Class methods
def columns
I didn't see any elegant way of aliasing table attributes, but this
Darrin.
On Feb 22, 11:04 am, Brett Blackham <brett.black...@gmail.com> wrote:
> Darrin,
> Have you been doing this a long time? I do have a hash attribute in > the table. What can I do to get around this problem (Where should I > look). I googled: 'ActiveRecord hash attribute database > DangerousAttributeError' with no luck. Renaming the postgres DB > attributes is not an option. Can I map the hash DB attribute to > something else in my data model? :hash => :my_hash. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||