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.
Routing Basics: Ruby on Rails for Front-End Developers
Miles Matthias, author of the book Ruby on Rails Explained for Front-End Developers, talks about Routing Basics in his guest blog post on RubyLearning.
Building Sinatra with Lotus
The beauty of Lotus is the composition of its frameworks. Each of them is well designed to achieve one and only one goal. The main advantage of this architecture is that delevopers can easily use and reuse those frameworks in countless ways. Lotus::Router accepts anonymous functions as endpoints. This feature can be used to build Sinatra with it. [more inside]
Another post how to update to Rails
I just published my blog post how to update to Rails 4, where i mention strategy which i used to upgrade several Rails 3 apps. Hope it’ll help someone.
The Supportive Technical Interview
The latest post in my series on recruiting and interviewing. This time I tackle the technical interview and discuss how to ensure that both you and the candidate can be successful in determining fit.
Sassy Sinatra
I just created an example Sinatra app using Sass, posted it on Github and blogged about it. [more inside]
A new blog engine for developers
I just launched a new blog engine powered by ruby on rails. I’ve been using it for the past 3 months and today, I launch it to the public. [more inside]
A Price of Zero Is More Profitable Than You Think
An article on how prices affect customer behavior.
Create a basic iPhone app in 15 minutes using Ruby - RubyMotion Screencast
Sometimes you need to build something really quick, just to get an idea across. RubyMotion is fantastic for building iOS and OS X apps quickly, but with the help of gems like ProMotion, you can work twice as fast! That’s why we’re going to take a look at ProMotion. This will be the first in a series of episodes about the gems you have at your disposal and how you can use them all together to write beautiful code, quicker than usual. [more inside]
Puppet Custom Types the easy way
Check out this blog post. It is the first part of a series introducing easy_type. A library designed to make it easy to create Puppet Custom Types.
Why is Software Development So Hard?
Fixed comment problem at TechnicalEcstasy.net. Why is Software Development So Hard? [more inside]
Persisting data with PStore
Have you ever hand-rolled your own code for persisting a hash to a file? Don’t do that! The standard library has you covered: use PStore instead, and gain transactions, multi-process safety, and more.
Abril Pro Ruby 2014
Abril Pro Ruby 2014, the Tropical Ruby Conference, will happen in April 26, 2014 at the Porto de Galinhas beach, a sunny paradise in the northeast of Brazil. Come and meet top notch Rubyists while having a great time exploring this beautiful place. The conference official activities include diving, stand up paddle and raft boat sailing, which will happen one day before and one day after the event. [more inside]
beer.db Now Includes Web Admin Rails Engine - mount BeerDbAdmin::Engine
The beer.db - a free open public domain beer, brewery n brewpubs dataset - now includes a web admin Rails engine that you can include in your web app. Example: mount BeerDbAdmin::Engine, :at => '/db' See the Rails engine in action. More info in the README.md. Cheers! Salud! Prost! Kampai!
Compress old rails migrations in an one command
If you like me work on a big & long-term rails project, you probably tired with an old migrations. Applying them takes a few minutes, sometimes you need to update them(changes in ActiveRecord). Manual removing them is hard & sometimes dangerous work, so checkout squasher gem which will do this job for you.
Minitest and VCR: Automatic cassette management
I like how VCR jives with Rspec for recording and replaying HTTP requests in your test suite. Specifically how you can pass a :vcr symbol to a describe or it block and it will handle the cassette naming and file structure automatically. However, in most cases I use Minitest. [more inside]
New in ITTIA DB SQL 6.0: Smart Data Discovery for Embedded Systems and Devices
ITTIA DB SQL version 6.0 brings increased efficiency, peer-to-peer replication to smart devices, simplifying interoperability on Internet of Things. As a result, embedded systems, appliances, and personal devices can relate information to each other through cloud-based services, over WiFi or other wireless technologies to distribute locally stored data, where wireless connection is detected.
Back to basics of attr_accessible
I wrote a blog post of the importance of buttoning up security holes in your Rails 3 apps http://dennismonsewicz.com/post/74402707255/rails-3-back-to-basics-with-attr-accessible
Why You Should Use Continuous Integration and Continuous Deployment
Two best practices that have gained a lot of traction over the last years in software development are Continuous Integration and Continuous Deployment. Read about their benefits and how you can start using them in this article. [more inside]
CarrierWave better storage path
I wrote a blog post about explaining “Too many links” error in unix filesystem and how this can be solved when you are using CarrierWave for file uploads CarrierWave better storage path
Ruby Tapas ep 120, Outside-In Testing, streaming free at Everyday Rails
Last week, in the Everyday Rails blog, I mentioned one of my favorite episodes of Ruby Tapas. The particular episode shows how Avdi uses RSpec and an outside-in testing process to drive development. [more inside]
From Lousy to Beautiful
Due to the inherent flexibility of Ruby, there are often several ways of doing the same thing. But how do you recognize the best way, the “beautiful” way to go about something? It can be tough to describe and there may indeed be several “best ways” to do something. The ease of expressing real life through Ruby can give us a false sense of security. James Schorr came to realize that terrible code can be written — even with such a beautiful language. Read the guest blog post “From Lousy to Beautiful”.
MySQL dump done right
We have several Rails applications, each one has its own data. Data keeping is obviously the most difficult part for us to maintain properly. [more inside]
Rails Edge Case: ID Overflow
I wrote this post about what happens when you have too many entries in a model table.