What steps will reproduce the problem?
1. Create a def in model, e.g.
def full_name
return "#{first_name}, #{last_name}"
end
2. Add full_name to controller, e.g.
active_scaffold :user do |config|
config.list.columns = [:full_name]
config.columns[:full_naame].label = "User Name"
end
3. Got error
undefined method `label=' for nil:NilClass
What is the expected output? What do you see instead?
Should show the table as normal.
What version (or revision) of the product are you using?
1.2RC1
If this bug causes an exception, please paste at least the first 20 lines
below.
Original issue reported on code.google.com by idler...@gmail.com on 14 Mar 2010 at 3:20
Original issue reported on code.google.com by
idler...@gmail.com
on 14 Mar 2010 at 3:20