20 Nov '12, 5pm

#CrowdInt Blog Post: "Creating and using modules in #Rails" written by @heridev #Ruby #webdevelopment

require 'spec_helper' describe Modules::ResourceDestroyer do subject { Modules::ResourceDestroyer } describe :destroy_with_pusher do let(:resource) { mock('Resource', class: stub(Class, name: 'Resource')) } let(:retrospective) { mock(Retrospective) } let(:socket_id) { "1" } context 'when user can delete resource' do before do retrospective.should_receive(:send).with(:can_delete_resource?).and_return true resource.should_receive(:destroy) resource.should_receive(:pusher_destroy).with(socket_id) end it 'destroys a resource with its pusher socket' do subject.destroy_with_pusher(resource, retrospective, socket_id).should eq(resource) end end context 'when user can not delete resources' do before do retrospective.should_receive(:send).with(:can_delete_resource?).and_return false end it 'does not invoke destroy on resource nor its pusher socket' do subject.destroy_with_pusher(re...

Full article: http://blog.crowdint.com/2012/11/20/creating-and-using-mo...

Tweets

Simple authorization for Ruby on Rails using Pu...

elabs.se 20 Nov '12, 12pm

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

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...

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...

SF companies go green the old-fashioned way by ...

San Francisco and Silicon Valley, separated by a few miles, have contrasting environments. San Francisco is a dense, pedes...

Newbie on Rails - great blog from @Keeeva on her first experience with amazing @RailsGirls_MUC @railsgirls #geekettes

Newbie on Rails - great blog from @Keeeva on he...

nolabelproject.org 20 Nov '12, 2pm

Mid of October, the wonderful Ruby on Rails Team set foot to Munich. The free (!) workshop offered the possibility to I wo...

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...

I'm learning Ruby on Rails with @railstutorial!

ruby.railstutorial.org 17 Nov '12, 2pm

I got review access to all of the material a week ago and can confirm that, yes, these screencasts are awesome (as long as...

vexxhost >> << rails 3 hosting

vexxhost >> << rails 3 hosting

thewhir.com 19 Nov '12, 8pm

A screen shot of VEXXHOST's Ruby on Rails page Related Topics: new products , Ruby On Rails Web hosting provider VEXXHOST ...

The People Behind Rails 4

weblog.rubyonrails.org 21 Nov '12, 5pm

The People Behind Rails 4 Posted by fxn , November 21, 2012 @ 12:00 am Rails 4 is coming along nicely with a ton of new st...

Advanced Caching in Rails: Revised #rails #ruby

broadcastingadam.com 18 Nov '12, 10am

Advanced Caching in Rails: Revised July 11, 2012 | rails tutorials I've decided to finally update my advanced caching post...

#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 ...

[full-time] Ruby on Rails Web Developer at Gene...

jobs.freestuff.gr 19 Nov '12, 8am

Generation Y is a rapidly growing Interactive Agency, based in Athens, Greece with global projects. We are dedicated to bu...

Small Modules Deliver More Performance via @ElectronicDesgn @gumstix @kontron

Small Modules Deliver More Performance via @Ele...

electronicdesign.com 16 Nov '12, 9pm

Massive multicore platforms drive the cloud as well as high-performance computing (HPC) supercomputer systems. General-pur...