Yep, agreed. Using rails and domolicious just reinstates my sanity (ie OO methodology) which I work with after my day job.
Seems what I have done in my rails 2.3.8 application was right all along as in, i declared the method for each resource and called the method within the resource's object (ie. post.is_owner_or_admin and coupon.is_owner_or_admin) :) Cheers :D On 1 June 2011 22:36, Michael Pavling <[email protected]> wrote: > On 1 June 2011 13:10, Gordon Yeong <[email protected]> wrote: > > my arguments > > to totally be rid of procedural programming have been knocked back > strongly > > :( ). > > You don't fix that by still using procedural methods when you're > working in Rails ;-) > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

