So, this plugin is broken with Rails 2.2?

2 views
Skip to first unread message

Mike Pence

unread,
Nov 24, 2008, 7:34:00 PM11/24/08
to attribute_fu
I spent most of yesterday going through Ryan Bates screencasts on
nested models, then I went to implement this one -- does no one have a
non-broken approach to this relatively simple problem?

James Golick

unread,
Nov 24, 2008, 9:30:57 PM11/24/08
to attrib...@googlegroups.com
I have heard that a_f is broken right now.

I'd really like to fix it- but I don't have time for bug hunting right now, so all I can say is that patches are always welcomed.

The other thing is that there are a ton of patches in rails lighthouse right now that implement this functionality and then some. As soon as one of them gets accepted, this plugin will be obselete...

So, yeah, this is on my list, and I'll get to it as soon as I can, but that might not be for a while.

J.

Mike Pence

unread,
Nov 25, 2008, 3:19:17 PM11/25/08
to attrib...@googlegroups.com
Rails monolithic controller approach is no better than PHP, it seems.

bond7456

unread,
Jan 5, 2009, 10:52:35 AM1/5/09
to attribute_fu
On Nov 24 2008, 8:30 pm, "James Golick" <jamesgol...@gmail.com> wrote:
> I have heard that a_f is broken right now.

It works just fine for me, using rails 2.2.2

James Golick

unread,
Jan 5, 2009, 10:58:20 AM1/5/09
to attrib...@googlegroups.com
Thanks :-)

Asfand Yar Qazi

unread,
Feb 10, 2009, 5:23:21 AM2/10/09
to attribute_fu
Unfortunately, it does not work for me.

ActiveRecord::UnknownAttributeError in '[censored]'
unknown attribute: workout_description_attributes
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:2587:in `attributes='
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:2583:in `each'
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:2583:in `attributes='
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:2283:in `initialize'
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
validations.rb:988:in `new'
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
validations.rb:988:in `create!'
/home/user/src/[censored]/spec/models/workout_title_spec.rb:9:
/usr/lib64/ruby/1.8/timeout.rb:53:in `timeout'
/home/user/src/[censored]/script/spec:5:

pimpmaster

unread,
Feb 16, 2009, 7:02:20 PM2/16/09
to attribute_fu
Man I am truly sad they didn't use your implementation in core

Now that I'm moving to 2.3 I guess its time to bid a_f a fond
farewell.

It was fun while it lasted :*(
Reply all
Reply to author
Forward
0 new messages