In a rails app I''m working on, when I invoke `rails generate scaffold Model` it uses the `inherited_resources_controller` instead of `scaffold_controller`. I''m not sure when it started doing this, but I''d like it to stop doing that. I''m trying to figure out where this is set and can''t seem to find it. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 13 January 2013 01:55, tamouse mailing lists <tamouse.lists-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> In a rails app I''m working on, when I invoke `rails generate scaffold > Model` it uses the `inherited_resources_controller` instead of > `scaffold_controller`. I''m not sure when it started doing this, but > I''d like it to stop doing that. I''m trying to figure out where this is > set and can''t seem to find it.Perhaps you have installed the InheritedResources gem? To override this action see [1] though I have not tried it. That was the first hit on a google search for inherited_resources_controller generate scaffold Colin [1] https://github.com/josevalim/inherited_resources/issues/195> > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Jan 13, 2013 at 3:42 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 13 January 2013 01:55, tamouse mailing lists <tamouse.lists-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> In a rails app I''m working on, when I invoke `rails generate scaffold >> Model` it uses the `inherited_resources_controller` instead of >> `scaffold_controller`. I''m not sure when it started doing this, but >> I''d like it to stop doing that. I''m trying to figure out where this is >> set and can''t seem to find it. > > Perhaps you have installed the InheritedResources gem? To override > this action see [1] though I have not tried it. > That was the first hit on a google search for > inherited_resources_controller generate scaffoldI''m now seeing it got installed when I installed ActiveAdmin... Also, I think I''m dumping duckduckgo as my search engine, as it didn''t provide me with that link at all -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.