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.
Analytics with Redis Part 3
In this episode we show you how to track page views and unique visitors in a Rails application Analytics with Redis part 3.
One month til MagmaConf in Manzanillo MX
Great speaker lineup and three meals a day included with your ticket</a href>. Oh, and the beach is right next door. www.magmaconf.com</a href>
Phusion Passenger 4.0.42 released, Ubuntu 14.04 packages available
This new Phusion Passenger release fixes various bugs and introduces Ubuntu 14.04 APT packages and Nginx 1.6.0 APT packages.
Changing the Rails Console Prompt
The Rails Console is an indispensable tool, providing developers with an easy way to experiment with models, Ruby syntax, and pretty much any other code associated with a Rails project. But the default prompt is a bit overbearing, including by default the Ruby version and number of commands executed in the current session. You can easily simplify the default prompt by following the instructions found in this easy tip.
Create a simple Jekyll-like blog in your Rails app
I wrote an article about creating a simple Jekyll-like blog in your Rails app from my experiences of building my company blog.
Polymorphic associations in Ruby on Rails
We have recently been working with a project where Polymorphic Associations have been used extensively. Here we’ll give an example of how they can be used.
Easy, Fast, Powerful: This is Your Rails on Ninefold (Review)
Recently, I spent some time checking out Ninefold, a Rails hosting platform that’s aiming to combine the ease and low barrier-to-entry of Heroku with the configurability and power of AWS. Over a couple of days, I branched a simple in-house app and pushed it to Ninefold. I’ve distilled my first impressions down to a few points that I hope are useful the next time you’re looking for a Rails host. Read more: http://blog.palominolabs.com/2014/05/05/ninefold/
Untangle spaghetti code with a simple change of perspective
That giant mess of if statements keeps staring you in the face. You feel like you should be able to simplify it, except for that Business Logic that keeps getting in the way. For example, say you have a sales platform where you build Quotes, which have many LineItems. Except, you can have a quote with duplicate line items if they’re ads, but if you have multiple websites, you have to sum the prices together and have it show up as a single line item. Oh and also, if you buy a website and already have five ads in your quote, you have to give them a 20% discount on the website. [more inside]
Barcelona Ruby Conference's last ticket batch is open
One of the most interesting Ruby conferences in Europe, taking place on the 11th to the 13th of September this year, just opened their last ticket batch.
JRubyConf EU returns in 2014: Call for Proposals (CFP) now open
The third iteration of the European Edition of JRubyConf will take place on 1 August, again as part of eurucamp. The Call for Papers is now open at cfp.jrubyconf.eu. [more inside]
Upgrading from Rails 4.0 to rails 4.1 - My experience
Recently I have upgraded one of my app from rails 4.0 to rails 4.1 and collected some notable changes which are required for upgrade. Here is My experience.
Caching with Rails
I published the second part of an article about Rails caching Rails Caching .
A revised version of Uncle Bob's "Professionalism and TDD" article
Since RailsConf, tensions have been running high among prominent community leaders surrounding the issue of test-driven development. This is unfortunate, because it means that otherwise valuable ideas are being obscured by the way they’re being presented. [more inside]
Lesson Learned from the Code Ping Pong with DHH
Here’s a sum up of the Code Ping Pong game with DHH (it’s really great that he has agreed to take part and support RoR community).
self-systeem
noun 1. a realistic respect for or favorable impression of one’s system 2. confidence in one’s system worth or abilities 3. system-respect [more inside]
Duplication in Tests Is Sometimes Good
Having powerful tools like RSpec gives us so much power, that what was once a nice suite of readable specs becomes a huge bunch of unreadable mess, just because someone tried to DRY it up. Continue reading →
Distribute your RubyMotion apps with TestFlight and HockeyApp
Over the past few episodes, we’ve created the Tasker application, which we polished off in Episode 21. Now it’s time to share it with our beta-testers. In this episode we explore how to set up your distribution certificates and provisioning profiles, and how to then get both TestFlight and HockeyApp set up to share your application around. This has been a highly requested topic from the RubyMotion community, and so I decided to show you how to use both TestFlight and HockeyApp instead of just one! [more inside]
Reform 1.0 – Form Objects For Ruby And Rails
The Reform gem turned 1.0! Its popular form objects have been simplified , the public API reduced and new features like automatic populating have been added. The new exciting Reform::Contract layer helps you decoupling persistance from validations - for good! Read the blog post here!
Lita 3.2 released, with new extension plugins
Version 3.2 of Lita, the programmable Ruby chat bot, has been released. There are several additions in this new version, most notably a new type of plugin, extensions, which can hook into Lita’s core to provide new features for other plugins.
Stop and Restart Easily a Rails Server
I wished if I could have convenient rails start, rails stop and rails restart commands to help me in the workflow. And in UNIX it is very easy to get.
Using the Cassandra Binary Protocol (CQL3) from Ruby!
Using Cassandra? Theo Hultberg’s Ruby client is worth a second look. [more inside]
Vim for Rubyist: 10 Useful Vim Plugins for Ruby Developer
I’ve made a list of vim plugins for better development with ruby.
ActiveInteraction 1.2.0 Released
ActiveInteraction helps clean up your Rails app with interactions that quack like ActiveModels. This latest release includes much improved form support, a decimal input filter, and support for modifying or disabling transactions.