Yes, this works like a charm.

Thanks



> On Jun 12, 2015, at 9:50 AM, Jason Fleetwood-Boldt <[email protected]> 
> wrote:
> 
> 
> I understand. 
> 
> Awesome--- thank you I will try that and get back to you!
> 
> 
>> On Jun 12, 2015, at 9:44 AM, Sergio Cambra <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> There is no way for that. to_param is usually overrided to be used in links, 
>> indeed, if you use :id => record with url_for, rails will use to_param
>>  
>> You could override find_if_allowed in the controller so it looks for records 
>> using another field instead of id
>>  
> 
> ----
> 
> Jason Fleetwood-Boldt
> [email protected] <mailto:[email protected]>
> http://www.jasonfleetwoodboldt.com/writing 
> <http://www.jasonfleetwoodboldt.com/writing>
> 
> 
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/activescaffold 
> <http://groups.google.com/group/activescaffold>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

----

Jason Fleetwood-Boldt
[email protected]
http://www.jasonfleetwoodboldt.com/writing



-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to