Well, I'm still looking for a solution.
Best regards,
Christoph
On Sep 5, 2009, at 5:32 PM, Yury Kotlyarov wrote:
I have just the same problem. Any suggestion?
TIA,
Yury
Christoph Schiessl wrote:
I've created a small application to demonstrate the problem in more
detail:
http://github.com
I have just the same problem. Any suggestion?
TIA,
Yury
Christoph Schiessl wrote:
> I've created a small application to demonstrate the problem in more
> detail:
>
> http://github.com/cs/nested_attributes_spec_demo
>
> Just clone it, migrate the sqlite database and run `rake spec`. You'll
> see
I've created a small application to demonstrate the problem in more
detail:
http://github.com/cs/nested_attributes_spec_demo
Just clone it, migrate the sqlite database and run `rake spec`. You'll
see 1 failing and 1 succeeding spec. The failing one uses Mocking to
the view. The succeeding
On 23 Aug 2009, at 10:51, Christoph Schiessl wrote:
I have two models in a has_many relationship. The parent model
(Invoice) accepts the attributes for it's children (InvoiceItem).
The models and the associated controller (InvoicesController) are
absolutely standard stuff. This is the significa
I have two models in a has_many relationship. The parent model
(Invoice) accepts the attributes for it's children (InvoiceItem).
The models and the associated controller (InvoicesController) are
absolutely standard stuff. This is the significant part of the model
code:
class Invoice < ActiveReco