Hi Antonio,

at the moment there is only the possibility to specify the class-name
for an associated resource via :class_name - option.

We added the association-definitions similar to the ActiveRecord-way
with own Reflection-classes, because we want to add some cool features
in the future.
Indeed, your idea with accepts_nested_attributes_for for create and
update is really good and could be on of these features to add.

Please visit the ticket, apply the patch and give feedback, that would
be very helpful.

Greetings
Markus


On 1 Mrz., 09:23, Antonio Tapiador del Dujo <[email protected]>
wrote:
> Hi Markus,
>
> can associated records be created, using accepts_nested_attributes_for ?
>
> That would be awesome!
>
> El Lunes, 28 de Febrero de 2011 17:16:07 markusschwed escribió:
>
> > Hello everyone,
>
> > I'm new in contributing and i saw in the contributing-guides, that i
> > have to write an email at this list.
> > I hope, that's the right place for this. If it's not, i'M really
> > sorry..  ;)
>
> > Could someone please give me feedback about this lighthouse-ticket?
> >https://rails.lighthouseapp.com/projects/8994/tickets/6473-activereso...
> > dding-associations-through-reflections
>
> > It's about adding association-definitions in ActiveResource.
>
> > Thank you for reading this Mail.
>
> > Greetings
> > Markus Schwed
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to