Someone use or had used inherited_resource gem? I find it very userful to not repeat code in simple crud applications. The maintainer said that the gem is no longer maintained. Using helpers like resource or collection, or collection_url, etc. saved me to duplicate code. What solution do you adopt to avoid code duplication in your controllers? -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Mar 13, 2012 at 5:50 AM, Mauro <mrsanna1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Someone use or had used inherited_resource gem? > I find it very userful to not repeat code in simple crud applications. > The maintainer said that the gem is no longer maintained. > Using helpers like resource or collection, or collection_url, etc. > saved me to duplicate code. > What solution do you adopt to avoid code duplication in your controllers? > >Are you sure it is deprecated? Take a look at this comment written five days ago by Carlos Silva in a github issue. *We''re releasing a new version of IR, please try it after the release and let us know if that worked. Thanks*> -- > 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 this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
https://github.com/josevalim/inherited_resources read the deprecation notes in the README. On 14 March 2012 02:51, Bruno Coelho <bcs.cin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Tue, Mar 13, 2012 at 5:50 AM, Mauro <mrsanna1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Someone use or had used inherited_resource gem? >> I find it very userful to not repeat code in simple crud applications. >> The maintainer said that the gem is no longer maintained. >> Using helpers like resource or collection, or collection_url, etc. >> saved me to duplicate code. >> What solution do you adopt to avoid code duplication in your controllers? >> > > Are you sure it is deprecated? > Take a look at this comment written five days ago by Carlos Silva in a > github issue. > > We''re releasing a new version of IR, please try it after the release and let > us know if that worked. Thanks > > > >> >> -- >> 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 this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > 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 this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.