> I have tried what you suggested before, and what your suggested now...
> but after_render_field method NEVER gets called.
> I have a debugger breakpoint in it and it never gets tripped. No
> matter what approach I've tried.
Arghhhh... I got after_render_field method to work now.
Apparently one of the other developers had pushed an older AS version
to the project git repo after I updated it to the latest master.
I was under impression it had the latest one.... can you believe it?
$%##%^$#%$#%&^%&&!!!!
Everything is working now with
config.columns[:membership].options = {:update_column => :member_pay}
and overridden MembersController method
def after_render_field(record, column)
record.member_pay = record.membership.cost
end
The biggest thank you ever, Sergio!
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.