this
after_save :update_something
after_destroy {|record| record.update_something(true)}
But in this case, I need to make the function update_something public, which
I don't want to do.
Any help ?
--
Arpit Jain
--~--~-~--~~~---~--~~
You received this message because you
hmm Right.. Thanks :)
On Sat, Feb 28, 2009 at 5:27 PM, Frederick Cheung
frederick.che...@gmail.com wrote:
On Feb 28, 1:57 am, Arpit Jain arpitjai...@gmail.com wrote:
So what's the solution to that Fred ? I would have to load question also
when I load the subquestion ? That would mean
Can anyone explain to me the sql query done in the last step :
http://pastie.org/402200
--
Arpit Jain
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email
wrote:
On Feb 27, 5:58 pm, Arpit Jain arpitjai...@gmail.com wrote:
Can anyone explain to me the sql query done in the last step :
http://pastie.org/402200
Because activerecord isn't super smart in this way and doesn't fill in
associations bidirectionally when they are loaded.
Fred
Can anyone help me with this
http://pastie.org/401752
--
Arpit Jain
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
5 matches
Mail list logo