06 September 2010

The Ruby Reflector

Topic

RailsCast

  Source Favicon
On Momoro Machine 1 month ago.
Email

If you prefer a Railscast style video, you can also watch this video which is just a walk through of the getting started guide above.

I recommend following through with the entire getting started guide. I initially wanted to just use chef-solo, which seemed to make more sense, but it turns out it doesn't because you miss out on all kinds of cool features.

I advise against adding a bunch of cookbooks to your chef-repo early on, since there are weird dependencies and other issues …

themomorohoax.com Read
  Source Favicon
Email

Having using Acl9 for some time, it was refreshing to see RailsCast's Ryan Bate's take on authorization: CanCan . Ryan put together a webcast for CanCan that you can checkout here . There have been some nice additons since this initial release so do checkout the latest documentation on GitHub. I won't go into what I dislike about Acl9. It's a good system, with a nice DSL for defining permissions. I'll just talk about some of the things …

pathf.com Read
  Source Favicon
By aaron of Transcending Frontiers 5 months ago.
Email

…hitch -m command. If you setup gravatars for all your devs+user1+user2@company.com email addresses then you'll get a nice picture in Github too.

I think that's about it really. We obviously just install gems as required and make customisations on a per developer need. We generally use Textmate for editing so this means installing a theme (we use the Railscast theme) and the relevant bundles for Rspec, Haml and Sass.

thefrontiergroup.com.au Read
  Source Favicon
By Jason of Jason Seifer 5 months ago.
Email

Custom Rake Tasks Railscast

Useful Rake Examples

Sample Rakefile from this article.

redis.rake from Resque.

If you have any more useful rake examples, please let me know and I'll add them here.

Photo Credits:

Shaker rake by dicktay2000 on Flickr.

Toy sampling megaphone by altemark on Flickr.

Delicious Digg This Post Facebook Reddit This Post

No related posts.

jasonseifer.com Read
  Source Favicon
By Ryan Daigle of Edge Rails.info 7 months ago.
Email

Thanks to a tip by Railscast's Ryan Bates , there's a pretty slick way to refer to, and combine, scope logic: the merge method, aliased as ‘&' . Let's look at how we can use scope#& to refer to the query logic of the Post.published scope from within our User.published scope:

Ruby - user.rb

class User ActiveRecord :: Base scope :published , lambda { joins ( :posts ) . group ( " users.id" ) & Post . published } end

Just …

edgerails.info Read
  Source Favicon
By Ruby on Rails of Rails Envy » Home 12 months ago.
Email

Ryan Bates has a RailsCast out about using the deadweight gem to remove unused CSS from your apps.

GIS on Rails

Simon Tokumine writes about the different Ruby projects you can use to approximate GeoDjango in Rails.

GeoKit 1.5.0 Released

GeoKit 1.5.0 has been released with fixed JRuby compatibility and some small additions.

Reek 1.2.0 Released

Reek, the code smell detector, version 1.2.0 has been released. This release is Ruby 1.9 compatible …

railsenvy.com Read