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.
How to use ETags in a Rails app
How do you create a good ETAG in Rails that represents the resource in a way that allows for changes to break the cache. Read the post at the CRAZ8 Blog
High Performance Networking in Google Chrome
Chrome gets faster as you use it. Chrome learns the topology of the web, browsing patterns, and critical resources on every page to optimize your browsing! A look under the hood of how it all comes together…
How I set up new Rails applications
How I set up new Rails applications is the start of a series on my favorite Rails development patterns.
How to create a tag cloud that uses colour to represent popularity (instead of font size)
Step by step recipe for creating a tinted tag cloud by Ben Woodward. Ingredients; Compass, acts-as-taggable-on + glue. [more inside]
New interactive problems at RubyMonk: Learn Ruby through gentle interactive tutorials
RubyMonk is an online Ruby training course that teaches you Ruby in the browser through interactive consoles. We recently released a new set of interesting problems in the The Ruby Primer. If you are a beginning/intermediate Ruby programmer, you should find them a fun way to improve your Ruby programming skills! [more inside]
New post: "Building a PaaS in Ruby"
I just wrote a new blog post, “Building a PaaS in Ruby” in which I give an overview of how Ruby is used within a Stackato PaaS cluster. [more inside]
Do you know how to setup Paypal Payflow in Rails?
Learn how to setup a PayPal Payflow payment gateway for a Rails application using the four step process.
Announcing Rails Assistant 1.0.0 - Rails Development Tool
Rails Assistant is a Rails development tool for Mac OS X (10.7+). It helps with Project Management, Task Automation and Grouped Logging. [more inside]
Journey Into Rails Routing -- an Under the Hood Look at How Routing Works
routing in Rails is awesome. But how does it work. How does it find the right routing definition for the given url. [more inside]
EuRuKo 2013 is getting real!
EuRuKo 2013 is getting real! Check out the new website, the dates and the awesome venue. Follow us on twitter or the website for updates on sponsor packages, call for presentations, keynote speakers, early bird tickets, the people behind it and our progress in general!
gem install queryable_array
Provides a simplified DSL allowing arrays of objects to be searched by their attributes https://github.com/shuber/queryable_array
How to get what you need with Nokogiri
This week’s post in Crowd Interactive’s tech blog [more inside]
How to build your own Facebook Graph Search with the Treetop Gem, Cypher and Neo4j
Demo Sinatra application and source code available for building your own facebook graph search.
Cloudster - the fastest way to provision your AWS stack
I had to provision a lot of AWS cloud environments programmatically, and I wrote the gem called Cloudster which helped me do it.
MiniTest MustWonted Package
I just launched minitest-mustwonted the new rspec-like must wont engine for minitest!
Learning Ruby and proving your skills as a developer
Isn’t it better to demonstrate what you can DO as a programmer, as opposed to saying what companies you’ve worked for, or where you went to school? We built MetaBright so you can do just that. [more inside]
Primo: A configurable default Rails stack using application templates
Rails application templates are awesome, especially for hackers that often need to set up the same basic app, but also for companies that want to promote their best practices. Sadly the ecosystem around them seems to be quite limited. Primo is a new gem that tries to solve this by adding a command line interface for defining your default template and share it with others. [more inside]
Upgrading Gems with git bisect
A debugging approach for when upgrading gems breaks your test suite. Using git bisect & bundler’s path option.
Cohesion and Big ActiveRecord Models
I wrote a few lines about Cohesion and Big ActiveRecord models that you might find interesting to keep your models in good shape.
Simple way to test IO in Ruby
I was working on a small CLI over the weekend and wanted to test the user input on the command line and the output that the program will print out. I figured out this simple FakeIO class that helps me do that.
Simple way to add social networking features to Rails application
Inkwell gem - provides simple way to add social networking features like: - Comments - Reblogs - Favorites - Following/Followers, - Timelines
Conject Now Supports Lazy Dependency Resolution
Conject, my dependency injection tool for Ruby, has a few new features you might find useful: - Lazy, on-demand dependency resolution as an optional alternative to constructor injection. - All objects in the Ruby runtime may now access their context via the #object_context accessor. - You can now omit module-name prefixes when listing dependencies in construct_with and provide_with_objects for objects in the same module. Learn more.
Von: Real Simple Stats Tracking with Redis
Tossed this little stats gem together over the last few days. It’s helpful if you want to keep stats for a time period (hours/days/weeks/months/years). It does just what we need it to and not a lot more – thought it might be useful to others. Read about it on Github