search for: resource_fu

Displaying 2 results from an estimated 2 matches for "resource_fu".

Did you mean: resource_fd
2007 May 02
4
Shared Nested Resources
The skinny is that I''m attempting to add "Discussions" as resources under different resources ("Groups", "Projects", for example) and I''ve simply hit a roadblock (or two). Discussions are an association between the "discussable" (Group, Project, etc.) and a "Topic" so: class Discussion < ActiveRecord::Base belongs_to :topic
2008 Apr 26
0
Routing: Language as first part of path, for just about everything
...gt; ''new'' map.resources :categories, :path_prefix => '':lang'' Having looked around, I managed to find two plugins, that get''s me half-way there: http://www.artweb-design.de/2007/5/13/concise-localized-rails-url-helpers-solved-twice More specifically resource_fu and localized_url_helpers Adding either of these and setting a default language in default_url_options, it''s easy to get a nice default value for named routes def default_url_options(options) { :lang => ''en'' } end But, what do I do with non-named routes? link_to...