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.
Minitest: Full backtrace for assertions and errors in verbose mode
Get unfiltered backtrace when using -v with maxitest (the “all the features you always wanted” plugin).
A Social Network in Rails: Comments
New post in the guide to create a social network in Rails. Now we’re adding comments to our photos. This time it was actually easier to do the job ourselves than to use a gem, check it out!
RoR Installation Form Source And Deploying a Test App
RoR Installation Form Source And Deploying a Test App Procedure to Download the ruby source, then unzip, untar, configure and install [more inside]
How do you take an app from testless to TDD?
You’re excited about the app you’ve made. There’s just one problem — you don’t have any tests. You wanted to write it using Test-Driven Development, but you didn’t quite know where to start. So you’re stuck. Where do you go from here? How do you get from an app with no tests, to writing your apps using TDD?
Avoiding clever mistakes when displaying data with missing values
I created some short code to solve a problem but my quick thinking hid a bug from me. My recent post is about how, by being just a bit more verbose, I got my code to work properly.
Offshore RoR Web Development Partner – RailsCarma
RailsCarma specializes in Offshore Ruby on Rails Development and is located at Bangalore, India. RailsCarma offers specialized web development services using the Ruby on Rails platform. RailsCarma has high level of expertise and experience in developing ruby on rails or ror applications on PaaS platforms, both in standalone and Software as a Service formats. Read More…
How to write a Ruby-related book - the tools
I have recently published the 1.0 release of the code-heavy Fearless Refactoring: Rails Controllers book. It took me over 1 year since I started. Over the time, I’ve experimented with many tools which helped me along the way. [more inside]
Slop version 4 has been released
I just released version 4 of Ruby’s favourite command line parser. Slop has been rebuilt from the ground up. Check out the README on GitHub for more information and some upgrade notes.
activerecord-hierarchical_query v0.0.3 release
New version of activerecord-hierarchical_query supports Rails 4.2
Sinatra and Kaminari without any views and without padrino-helpers gem
Tired of “You should install `padrino-helpers’ gem if you want to use kaminari’s pagination helpers with Sinatra.” warning message in your zero-views Sinatra apps when using Kaminari? Get rid of it. Here’s an easy way to do this.
A Social Network in Rails: Activity Feed
New post in my guide to create a social network in Rails. This time, the Activity Feed. Hope you like it!
Planet Ruby - All the News About Ruby, JRuby, Rubinius, Rails, etc. - New Feeds Welcome
I’ve setup (another) Planet Ruby - a public news site (feed reader/aggregator) for Ruby. The planet subscriptions (feed lists) are split into seven sections (sub planets), that is, 1) Blog Postings, Articles, etc. 2) Official Ruby, JRuby, Rubinius, Rubygems, Rails News 3) Events, Workshops, Conferences, etc. 4) Jekyll 5) Rubygems 6) Podcasts 7) Meta - Updates about Planet Ruby and Planet Pluto ;-)
The planet feed list is a plain text file on GitHub, that is, ruby.ini. You’re welcome to add new feeds or suggest new (sub) planet sites. The Planet Ruby ships with six design templates/styles, that is, Standard, Cards, News, Hacker, Digest and Top. Happy Planet. Cheers
Integrating Spree In Rails 3.1 Application
Spree is a complete open source e-commerce solution built with Ruby on Rails. It was originally developed by Sean Schofield and is now maintained by a dedicated core team. You can find out more by visiting the Spree e-commerce project page. Read more…
Christmas Tree in 140 chars of Ruby
A Christmas tree in 140 chars of Ruby. Here is the tweet
tty-progressbar v0.4.0 released
tty-progressbar improves usability by offering current= and ratio= methods for setting progress to given value or percentage. Enjoy!
Planet Jekyll - All the News About the Static Site Generator in Ruby - New Feeds Welcome
I’ve setup Planet Jekyll - a public news site (feed reader/aggregator) for Jekyll - the static site generator in Ruby (that also powers GitHub Pages). The planet feed list is a plain text file on GitHub, that is, jekyll.ini. You’re welcome to add new feeds or suggest new sub planet sites (moons?). Planet Jekyll itself is powered by the pluto gem. Happy Planet. Happy Festivus. Merry Christmas. Seasons Greetings. Cheers
Updating to Rails 4.2
I’ve written an article on Updating to Rails 4.2 which shows to install and manage multiple versions of Rails using RVM.
A very first simple blog written in Lotus
Everybody loves blog, I mean implementing a blog when trying out a new framework. If you have not watched the Rails in 15min, then you should google it. [more inside]
How to add basic auth to Lotus app
Comes the release 0.2.0 of Lotus Framework comes the questions on how to add authentication to Lotus app. For whom who are seeking something similar to http_basic_authenticate_with of Rails, I wrote a short tutorial on how to do so with Lotus.
How to decide between conflicting Rails advice
The Rails community is full of conflicting advice. Do you use Minitest or RSpec? Do your plain Ruby objects go in app/models, app/classes, or lib/? If more experienced devs constantly argue about these things, what hope do you have of deciding which advice to follow?
Lotus v0.2.0 is out!
This has been a great year for <href=”http://lotusrb.org”>Lotus</a>. It went from a tiny side project to one of the most appreciated and promising web frameworks for Ruby. [more inside]
Enforcing encapsulation with East-oriented code
I recently wrote about how to ensure that your objects have the right responsibilities and enforce a Tell, Don’t Ask approach.