I put the id in the conf.columns because I want it to appear first on the
list.  Afterwards I exclude it from the update and edit lists but as I said
ideally they would be on the form but just displayed as text.


On Wed, Apr 17, 2013 at 3:10 AM, Hernan Astudillo <[email protected]> wrote:

> i just use conf.list.columns << :id
>
>
> On Tue, Apr 16, 2013 at 6:21 AM, Sergio Cambra <[email protected]>wrote:
>
>> 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.
>>
>>
>>
>  --
> 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.
>
>
>

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