That worked.

This might be a good one for the FAQ.

i.e. How do I show the time stamp for a table without making it
editable?

Answer:

Add a helper function for the model under App/Helpers/
<your_model_name>

For the given model, name the function after the column name in the
table.

For example, if the column was named update_time, then the function
would be as follows:
def update_time_form_column(record, input_name)
  record.update_time
end

The method parameter 'record' is the object that holds the retrieved
data from the database, and the method parameter 'input_name' is
the ?????



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

  • Ov... bentaisan
    • ... bentaisan
      • ... bentaisan
        • ... G. Sobrinho
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... bentaisan
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to