On 30 March 2011 12:04, Alexey Muranov <[email protected]> wrote:
> Frederick Cheung wrote in post #989934:
>> Why are you changing the id of an existing record?
>
> Just to learn how it behaves.
> I also plan an application where i want to use the primary key as a
> foreign key for a has_one association, so there it could (possibly) make
> sense to change it.

I told you life would be much easier for you if you stuck to the Rails
conventions :)

Colin

>
> If assigning anything to the primary key breaks ActiveRecord, is there a
> way to disable the id=() method after a record has been created?
>
> Alexey.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to