ROR makes a certain class of application very easy. Others not so much. If you are building an application with a limited number of data models where having 'user' vs 'admin' distinctions isn't very important, then you can get up and running with ROR very quickly. If you are building a more traditional application where there is a distinction between end users who consume and administrators who create, then Djanjo would probably be a better fit.
For the types of applications that I create for my job, neither is very good as the number of data models, large amount of business rules etc are beyond what most frameworks are designed to make easy.
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
Comments
Vineet,
ROR makes a certain class of application very easy. Others not so much. If you are building an application with a limited number of data models where having 'user' vs 'admin' distinctions isn't very important, then you can get up and running with ROR very quickly. If you are building a more traditional application where there is a distinction between end users who consume and administrators who create, then Djanjo would probably be a better fit.
For the types of applications that I create for my job, neither is very good as the number of data models, large amount of business rules etc are beyond what most frameworks are designed to make easy.
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.