El Martes, 16 de abril de 2013 11:14:59 Tim Uckun escribió:
> Since the field search is not working for me anymore I switched the default
> full text search. The only problem is that I can't search for IDs anymore.
>  Is there any way I can tell AS to also search the IDs?

Add them to config.search.columns

> 
> Also I have been excluding the ID fields from updates and edits but I would
> rather display the ID in a read only matter on those pages. Is that
> possible?

Add them to update.columns, disable editing for these fields on model and 
enable show_unathorized_columns:
 conf.update.show_unathorized_columns = true

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to