20 Nov '12, 12pm

Simple authorization for Ruby on Rails using Pundit and plain old Ruby objects:

Here at Elabs, we’ve been using CanCan for authorization in a number of applications. Ryan Bates managed to build an authorization system which is both simple and powerful. A step away from the bloated role based system available at the time, yet more sophisticated than simply tacking on methods on ActiveRecord models. Over time though we’ve come against a few grievances with CanCan. Ability files quickly become too big to manage, and there is no built in strategy for splitting up abilities across multiple files. Even worse, there is no natural way to structure ability files. We usually resort to comments to divide the file into sections for different models. All ability rules need to be evaluated for every request. While not a huge performance hit, it seems like a built in wastefulness. And finally: at the time of writing, CanCan has 128 open issues, 28 open pull requests...

Full article: http://www.elabs.se/blog/52-an-elegant-authorization-syst...

Tweets

Simple authorization in #RoR apps.

elabs.se 20 Nov '12, 1pm

Here at Elabs, we’ve been using CanCan for authorization in a number of applications. Ryan Bates managed to build an autho...

Daybreak: a simple key-value store for ruby

rubyflow.com 19 Nov '12, 5pm

Daybreak: a simple key-value store for ruby Posted by thejefflarson on November 19, 2012 — 0 comments Daybreak is an appen...

Learn by Doing - No setup. No hassle. Just lear...

codeschool.com 24 Nov '12, 3am

"Code School is seriously bad-ass, next-generation learning." David Heinemeier Hansson Partner, 37Signals "Thanks to my ne...

Ruby on Rails application like website by ninal...

freelancer.com 21 Nov '12, 9pm

Freelancer.com (formerly GetAFreelancer) is the world's largest outsourcing and crowdsourcing marketplace for small busine...

#CrowdInt Blog Post: "Creating and using module...

blog.crowdint.com 20 Nov '12, 5pm

require 'spec_helper' describe Modules::ResourceDestroyer do subject { Modules::ResourceDestroyer } describe :destroy_with...

Url's amigáveis em Ruby on Rails com a gem Friendly_id

Url's amigáveis em Ruby on Rails com a gem Frie...

codigofonte.uol.com.br 19 Nov '12, 11am

Nos últimos dias venho me aventurando pelo Framework Rails e tenho gostado muito principalmente pela maturidade do Framewo...

How userfox sends & tracks emails in their Ruby...

blog.mailgun.net 19 Nov '12, 6pm

How userfox sends & tracks emails in their Ruby app using the Mailgun API Today’s post is written by Peter Clark, CEO of u...

VCRで外部APIとのやりとりを記録する #Ruby #Rails #test - Qiita

qiita.com 19 Nov '12, 12pm

VCR . configure do | c | c . cassette_library_dir = 'test/vcr_cassettes' c . allow_http_connections_when_no_cassette = tru...

Rails::API strips the fat off Ruby on Rails

h-online.com 23 Nov '12, 4pm

A group of Ruby on Rails developers has announced Rails::API, a derivative of the original Rails project that provides a s...

#webdevelopment Deploy Ruby on Rails App Heroku...

odesk.com 22 Nov '12, 7pm

Need help getting a Ruby on Rails project up & running. The project is the Open Source, Catarse Crowd Funding plaform. Ins...

“@flatstack: Some Handy Tips for Ruby on Rails Developers wow designers @flatstack (@flatsoft) yeah! :)

“@flatstack: Some Handy Tips for Ruby on Rails ...

class.ezinemark.com 19 Nov '12, 4am

Here are some useful tips, ideas and resources for both newbie and professional in Ruby on Rails technology . 1. Avoid sce...

I got up to -60% on Rails boot time #happyfriday

alisnic.net 23 Nov '12, 6pm

Well, I guess as long as I’m here… I’ve made two small tweaks that others might be interested in. Increased compatibility ...

#game #development #job - Ruby on Rails pilot a...

donanza.com 18 Nov '12, 8am

This project is a pilot RoR project. We are interested in finding an individual who can work with us on a long-term basis ...

Ruby on Rails Developer- Ruby on Rails, social ...

bullhornreach.com 19 Nov '12, 12pm

Ruby on Rails Developer- Ruby on Rails, social networking, e-commerce, social commerce, javasript, html, css, Berlin This ...