Skip to content

Comment on Ask HN: Ruby on Rails or PHP ?parent

Comments

Having coded in both django and rails, I cannot figure out why you would make that distinction. Every rails app I have ever coded has distinct user roles such as these and it's ridiculously easy to implement. easy to role your own, as well as many plugins which address these needs. ---- :admin_required => [:edit, :destroy] # eg, in controller

if has_role? "administrator" # eg, simple check

because speed is of the essence for the op and djanjo gets you there quicker for a full featured backend crud admin.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.