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.
`restart ruby app.rb` - minimalist ad hoc ruby code reloading that also works on Windows
I made this tiny gem because I couldn’t find any solution for ad hoc ruby code reloading that would also work on Windows (e.g. shotgun and rerun use fork(), so they’re unix-only). Hope you find it useful and let me know what you think!
Rails Disco - A distributed party for simple event sourcing
Rails Disco tries to get the best bits of event sourcing integrated into a Ruby on Rails tool stack. The adds commands, events and projection and some Rails generators. I think it works very good. I seek for help to maintain this project. I believe in the idea, but lack the time to get this thing production ready. Every feedback and help is appreciated.
Database seeding for geocoded models
A blog post about how we at CookiesHQ used Google’s geocoder to seed our database with journeys for testing geomatching using PostGIS.
Onboarding Junior Developers
I’m the newest Rails Support Engineer to join Ninefold and a big advocate of developer bootcamps. Her talk sounded like it would be perfect for where I am in my career. Read more
Passenger standalone with debugger and pry
A short, annotated blog post on how to use Passenger standalone in development with smooth integration of debugger and pry.
Ruby Benchmarking Lessons Learned
Brian Knapp shares some lessons learned from his landmark Ruby web framework benchmarking post. Really great post.
Baruco 2014 Reaction - a complex summary of Barcelona Ruby Conference
We just posted a complex Barcelona Ruby Conference (#Baruco) summary written by Phillip Boksz.
An implementation of Pipes in Ruby
*nix have pipes, Elixir has pipes, Ruby deserves pipes! I just hacked this together yesterday and I’d love to get some feedback:
Using FactoryGirl factories from your JS front-end tests
Blog post announcing Hangar, the Rails plugin we made at Faraday to expose factories to our Protractor tests.
Kontrast - Fast Automated Visual QA for Your Website
Harry’s is open-sourcing Kontrast, an automated testing tool for comparing visual differences between two versions of a website.
Advanced gsub
Today I’m celebrating the two-year anniversary of RubyTapas today, and in honor of that I’ve freed up a short screencast about an advanced usage of String#gsub from the archives.
How I deploy a Rails app using Docker
Want to get started with Docker for hosting your Rails apps? There are a lot of options out there. In this post I describe a start to deploy a Rails app with Docker.
Should my company choose RubyMotion or Swift?
We’ve been writing a few Swift apps at TFG. Here’s a summary of our experience shifting from RubyMotion .
Validating JSON Schemas with an RSpec Matcher
Use RSpec and JSON Schema to create a test-driven process in which changes to the structure of your JSON API drive the implementation of new features.
Can you learn Rails before learning Ruby?
Can you learn Rails before learning Ruby? You can, for a little while. But if you want to learn enough Ruby to master Rails, study Ruby on its own. There are tons of Ruby books out there. I counted four shelves the last time I was in a bookstore. A lot of them are good. But there are a few that are in a class of their own. And they’ll help you through the entire process of picking up Ruby.
Sunny Memories from the Barcelona Ruby Conference 2014.
Dancing drones, Gangam Style, Matz, sun and the nicest-looking presentation ever, in other words: Sunny Memories from the Barcelona Ruby Conference 2014 .
Burek - rails gem for managing translations
Do you find yourself too lazy to go to translation file to create a new translation entry? Are your views full of “I’ll turn this in to a translation call later” literal strings?. Well, end to your woes is a click away. Check out the new version of Burek!
Notes on various ways to create Structs
Here’s a writeup on various ways to create Structs with some suggestions on improvements.
Meaningful exceptions
Writing detailed documentation helps to improve software design. Explaining the intent mitigates inconsistencies and helps other people to understand our initial idea. Read more
Other ways to interact with an object
Just cooked up a blog post about interaction with objects using first order functions: Click here to enjoy
Interesting Rails 4.2 changes
We’ve scoured through the change notes to bring you some of the more interesting tidbits that are changing in Rails 4.2.
Neo4j and Rails: How to declare relationships and write query in Neo4j
In previous part, we’ve set up an application with Neo4j and Rails and deployed it to Heroku. From here, we’re going to see the ways to declare relationships and write query in Neo4j.
TTY gem release v0.1.0
I’ve released tty gem that aids in developing beautiful command line clients. The library has been in development for a while and has ambitions goals for the future. Please check it out and let me know your thoughts. Finally please take a look at this lovingly crafted project page. Thanks!
Green Ruby News #85
Posted this week Green Ruby News 85 with a bunch of fresh links.