On Thu, Jan 14, 2016, at 21:01, Shabbir Ahmed wrote:
> Hi all, How to use company_name on the url instead of company_id.
> 

This should help.

http://api.rubyonrails.org/classes/ActiveRecord/Integration/ClassMethods.html#method-i-to_param

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/1452773110.1870122.491937346.6BB28CE8%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to