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.
Import excel files to active record like a Pro!
Active importer is a new gem that let you define importers, with a nice DSL, for loading tabular data from spreadsheets or CSV files into any ActiveRecord-like ORM.
Don't give up on Ruby (funny)
Nice & funny article on learning Ruby(its difficulties) and why you should not give up the article
Using Web Feeds in Ruby (Mini-Facebook-like News Feed in 20 Lines of Ruby) and More
Hello, Last nights slides from the Vienna.rb talk titled Using Web Feeds to Build Planet Sites in Ruby. Use left/right cursor keys (or space bar) to browse the slides. Or check the all-in-one-page markdown source. Build yourself a Mini-Facebook-like News Feed in 20 Lines of Ruby or just use the ready-to-use Pluto feed reader gem to make it one line (pluto build newsfeed). Cheers. Happy Planet.
Jazz Up Your Rails App!
Have a slowly booting rails app? Here is something to cheer you up!
2014 Fukuoka Ruby Award Competition -judged by Matz -Grand Prize: 1 million JPY!
I’m introducing our upcoming Ruby competition, Fukuoka Ruby Award 2014. Please visit the following website for additional details or to enter: Guidelines for Applicants. Matz is waiting for you!
Seedbank version 0.3.0 released. Finally!
I finally release Seedbank version 0.3.0 after a long hiatus while I was travelling. In this release are simplifications to the code, improvements in the documentation, Rails2 & 4 and Rake 10.x compatibility. Thanks to everybody who has used Seedbank and sorry for making you wait for this release.
OAuth as Single Sign On: Heroku's Identity Provider
In an unprecedented move Heroku has open sourced their identity provider. Read more at the blog post OAuth as Single Sign On.
How to use different Gemfiles with Bundler
Here’s a quick guide to using multiple Gemfiles in the same branch. Might be handy when you’re migrating and testing against a new version of a framework or important gem.
Background Job Monitoring for Atheists
Here’s a quick tip for monitoring your job queue. No ops experience required.
How abstractions encourage good thinking
Programming is an ebb and flow of making decisions about what’s important and what’s not. I wrote about how our brains react to what we see and how abstractions can work with our brains.
New RubyMotion Screencasts - MotionInMotion
The first episode of my new screencast for RubyMotion has just gone up on the RubyMotion blog! Exciting! You can check it out here: http://blog.rubymotion.com/post/66769533905/new-rubymotion-screencasts-motioninmotion [more inside]
[Practicing Ruby] Infrastructure automation by example
I spent the last couple of weeks automating the infrastructure of practicingruby.com with Chef. Now our article, Infrastructure automation by example, is finally out. In the article, we explore various examples of why treating “infrastructure as code” is a good thing.
Setting Up an AWS Cloudfront CDN for Rails
It’s not often that you can shave off 100’s of milliseconds from an application response with such ease. Serving your assets from a CDN in Rails can do just that. In my latest blog post, I detailed my process for setting up a AWS Cloudfront CDN for Rails.
Compressing HTTP Responses with Gzip and Rack::Deflater
Speed is key. The snappier the site, the more visitors like you. Speed is so important that Google uses it in site rankings and as a major component of its PageSpeed Tools. [more inside]
New release of rack-legacy
rack-legacy has been significantly refactored and a new version has been released.
Marketable for Devise+Rails
An easy way for Rails apps to store valuable acquisition data about their users (inspired by Mike McDerment, the founder of FreshBooks) [more inside]
Your Dockerfile for Rails
In the previous article, we have deployed a typical Rails application using Docker. Once Docker has been set up, the install was quite straightforward: just retrieve an image from the Docker Index and run it! Now, you may wonder how easy it was to build that image. So let’s watch the making of the previous episode! Read More
Learn to Use Memoization in Your Code
Learn about the basics of memoization, where you can apply it, and how it can improve your code’s performance.
Pow & the browser - PowDomains Extension
When I use Google Chrome or Safari with Pow and type in a .dev URL (Pow top-level domains), there are some conditions why the browser tries to search the web for the text of the URL instead of going to the URL. [more inside]
Ruby wrapper for CloudConvert
I just launched my new gem cloudconvert.Ruby wrapper for <a href=https://cloudconvert.org/page/api”>Cloudconvert</a>
How to document your Grape API using Swagger UI
Maintaining an API documentation can be very time consuming. In the best case, you’ll update the doc before each update, according to the new specifications, but in the real world, you have a deadline, and your colleagues are stuck waiting for your new feature to be implemented. In this case, you might forget to update the documentation. The solution is to use a tool that will dynamically generate this documentation. [more inside]
Can't find the right tool for the job? Build it.
New to Ruby? Take a look at your options for building useful tools for your day job..
A Pair of VIM tips for Rails Developers
I recently posted a pair of VIM tips for working more quickly with Rails projects. [more inside]
Extending Capybara
CapybaraExtensions is a new gem that adds some helpful finders and matchers to Capybara. Use it to write tests that have less XPath and are more expressive: CapybaraExtensions. [more inside]