The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Rails 3: forgery (csrf) protection for AJAX requests
I noticed the other day that rails seems to be ignoring authenticity tokens for AJAX requests. For instance, I purposely changed my AJAX call to pass an invalid token but did not manage to get Rails to complain.. [more inside]
MagicRuby 2011 speakers announced and open registration (no travel requirements)!
The most magical FREE Ruby conference on Earth! We’ve now posted our speaker line-up on the newly redesigned conference website. We’ve also opened up registration for everyone with no room booking requirements (though it would be awful nice if you’d book at the conference hotel!). Register now!
Steak 1.0.0 released!
The first stable version of Steak is out. You can check out the details in the official announcement but don’t expect a long list of features, Steak claims to be a minimal Acceptance BDD solution, so instead you’ll find a summary about why you should consider Steak as an alternative to Cucumber. Cheers!
Don’t Know Metaprogramming In Ruby?
Gavin Morrice introduces you to the beauty of metaprogramming in Ruby. A guest post on RubyLearning.
I'm putting jobs.rubynow.com up for sale
I wanted to let you all know that I’m putting jobs.rubynow.com up for sale. If you are interested, please check it out. more info
Vimmer: Easily manage your Vim plugins
Install, update and remove Vim plugins with ease using this command line utility. This is an early alpha release for those who want to give it a try and are willing to submit feedback. I am offering it with NO GUARANTEES. Check it out at http://bit.ly/Vimmer.
Introducing DeploYML
DeploYML is a simple deployment solution for Ruby / Rails projects that uses a single YAML file, Git and ssh. Read more
Hijacker - spy on your ruby objects!
Just released hijacker, a gem to spy on your ruby objects and send their activity to different hijacker servers, which can handle it in different ways.
Block Helpers in Rails 3
Rails 3 changed the way block helpers works, but at what cost?
Yehuda Katz on Rails 3.x
“Yehuda Katz talks on how Rails 3.0 has been received by the community, what are the differences compared to other similar frameworks, the impact of having different Ruby implementations, and what’s coming in Rails 3.1.”
Pragmatic Rails: Let’s do AJAX-backed Sidebar Widgets right, Jim!
In the last post we wrote a sidebar widget which is now turned into a real AJAX widget using Apotomo, the one and only web components framework for Rails.
From Textmate to VIM with Ruby/Rails/Sinatra Flavor
I just wrote a blog post ona starting guide to VIM from Textmate with Ruby flavoring. Check it out if you’re curious on making the move, and utilizing what the majority of the Ruby community uses.
RubyPulse Episode 0.50 ::: Using RVM ... Without RVM
I recently launched RubyPulse Episode 0.50 and you might want to check it out. [more inside]
has_inherited - An OpenStruct-like extension to your ActiveRecord Models.
I just released has_inherited to enable you to have an OpenStruct like namespace on your rails models. Check it out!
Git Pusshuten: A Git-based deployment and basic server provisioning tool.
I have created a whole separate website for this new gem, including a simple screencast giving a demonstration on setting up a full Rails (or Rack) deployment environment in just a few minutes with just a few commands, completely handled and afterwards manageable by Git Pusshuten. Check out the website for more information, documentation, guides and a screencast.
Dynamic Report In Rails
Many times Report is changes as per customer need & every time we need to modify code.But we can achieve this using liquid and other stuffs.Here i have shown a basic example how to achieve this.
Ever heard of Capybara's save_and_open_page method?
A quick tip about save_and_open_page: for when you really need to see what’s going on in your acceptance test.
Rails 3 UML Class Diagram Generator
I just launched RailRoady, a Ruby on Rails 3 model and controller UML class diagram generator, originally based on the “railroad” plugin for Rails v1/v2 and contributions of many others.
Routing with Ruby & ZeroMQ Devices
ZeroMQ allows the programmer to assemble high-performance, in process fanouts, queues, and other messaging patterns required for building high-performance applications. ZDevice is a new Ruby library & DSL which simplifies this process.
Couch-Client - Taking the pain out of using couchdb and all its greatness
Couch-Client is an extremely thorough well tested and simple gem to use for complete access to couch-db. Git Repo [more inside]
Does Ruby Have Too Many Equality Tests?
Eric Anderson talks about the differences between the myriad of equality tests that Ruby provides. Explanations and examples of when to use ==, ===, eql?, equal? and =~. A guest blog post on RubyLearning.
Your CSS, annotated
Shows you which selectors to use where, by pulling comments and selectors left of the annotated CSS. Supports CSS, SCSS and SASS. See blog post for example.
rails_best_practices 0.5.0 released
I have released rails_best_practices 0.5.0, it adds the use query attribute checker.
Resources for Getting Started with Ruby on Rails
I just created a list of what I found to be useful blogs, screencasts, podcasts, and more when I was starting to learn Ruby on Rails. [more inside]