a guest Jan 22nd, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- map.resources :clients, :key => :client_name do |client|
- client.resources :sites, :key => :name do |site|
- site.resources :articles, :key => :title
- class Client < ActiveRecord::Base
- has_friendly_id :name
RAW Paste Data