I am using the table-plus tag, and one of the columns in my table is called 'grant-writer' which isn't a column but actually a model. I am using the table-plus tag to list Projects and a Project belongs to a Grant-Writer. The GrantWriter model has a function called 'name' but, it doesn't have a 'name' field and so there is no 'name' column in the database. When I include :grant_writer as one of the fields in my table-plus tag and I try to sort on it, the generated SQL is looking for a grant_writer.name column ( which doesn't exist ) and so my page crashes. Is there any way that I can specify that the 'name' column should not be used but another column?
Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
