vhochstein / active_scaffold

Rails 4 Version of activescaffold supporting jquery
MIT License
156 stars 34 forks source link

How to access field values for Field Overides #199

Closed tripodrob closed 12 years ago

tripodrob commented 12 years ago

Hi, I know you kept the old naming convention for field overrides (fieldname_column), but I'm having trouble deciphering how to access the field values. The methods require 2 parameters, the first apparently being an instance of ActiveScaffold::DataStructures::Column and the second is the parent object. How can I access the fields to retrieve the data? In the original version the first parameter was the object itself. The thing I'm trying to accomplish is only display one side of a join table. Thanks, Robbie

tripodrob commented 12 years ago

I figured it out.

Robbie