Introducing Mutations: Putting SOA on Rails for security and maintainability
developer.uservoice.com
Introducing Mutations: Putting SOA on Rails for security and maintainability
1–10 of 27 posts
Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#2Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#3Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#4Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#5A quick search here itself on HN will show you how immature and security-hole ridden Rails is. Built for, and by, HIPSTERS!
Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#6I heard DHH hates SOA, but the only reference I can find to this is an old interview from 2006. Anyone have a link to anything recent?
Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#7I almost fell off my chair laughing when I saw "Rails" and "Security" and "Maintainability" in the same sentence. A quick search here itself on HN will show you how immature and security-hole ridden Rails is. Built for, and by, HIPSTERS!
Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#8I almost fell off my chair laughing when I saw "Rails" and "Security" and "Maintainability" in the same sentence. A quick search here itself on HN will show you how immature and security-hole ridden Rails is. Built for, and by, HIPSTERS!
Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#9Re: Introducing Mutations: Putting SOA on Rails for security and maintainability
#10Also a good point about the `attr_accessible` concept. It always felt like a bit of a crippled way to perform authorization. That said, I'm not sure this comment is completely valid:
> attr_accessible suffers from context blindness: you’re frequently going to have an end user UI and an admin UI. You want admins to have access to more fields.
Whilst it's not the most elegant, you can (and should) define `attr_accessible :x, :y, :z, :as => :admin`
but you have to remember to use something like `MyObj.create({x: 'a', z: 'b'}, :as => :admin)`