I'm RoR freelancer. Contact me to my email or skype so you can tell me
what do you need and where is the source code and the website.
On Oct 31, 10:29 am, BorisR wrote:
> Hi,
>
> I am sorry if its not the place but today im pretty desperate. During
> the past six month, I have been working on a S
Its not clear what you need or why you can't just call two different
inserts. But maybe a callback as after_create will help you.
class User
after_create :create_blog
def create_blog
Blog.create(:title => self.name)
end
end
On Mar 30, 4:48 pm, Payal Patel wrote:
> how would you execute 2 inse
I want to trigger a callback after the creation of an object. With a
after_create I have the problem that if the record crash for any
reason when save, then I have some corrupt data. So I need a callback
after_save but only when the record is new.
--
You received this message because you are subs
Serialize ? What do that ?
On Oct 23, 6:54 am, Gogov wrote:
> I guess I can use that. Thank you!
>
> Martin
>
> On Oct 19, 1:07 pm, Frederick Cheung
> wrote:
>
>
>
>
>
>
>
> > On Oct 18, 5:46 pm, Gogov wrote:
>
> > > ===
> > > class Paragraph < ActiveRecord::Base
> > > has_many :words, :class
4 matches
Mail list logo