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.
Hijacking gem built-in commands
I wrote a short explanation on how one can replace the built-in gem commands like install relying solely on Rubygems’s public API.
Awesome Ruby Events (Meetups, Conferences, Camps, etc.)
Hello, I’ve started yet another awesome collection on GitHub. What’s news? The awesome-events repo collects Ruby events (meetups, conferences, camps, etc.) from around the world. I’m from Austria, thus, I’ve started w/ Central Europe. New events, meetup, camps, conferences, and more welcome. Cheers.
Rails API Is Going to Be Included in Rails 5
Just mentioned by @dhh at RailsConf, link here.
Git Merge 2015 Reviewed
Hey Ruby folks, here’s a review of the latest Git Merge conference, brought to you by one of Netguru developers. Feel free to jump in and share your thoughts on the topics presented during the event: Git Merge 2015 Reviewed
Tackling Those Tests, Part 2: Getting Fun and Functional With FactoryGirl
The most comprehensive test suite is nothing without the appropriate amount – and type – of test data to support it. The factory_girl gem is one of the most efficient and painless ways of creating test data within a Rails app. This post explains how to effectively make use of FactoryGirl in your application, and which bugs you should avoid along the way.
Locality and Cohesion
I wrote about some ideas from Patterns of Software by Richard Gabriel on my blog. Sometimes we move things into their own methods too soon when tighter locality with the related code helps us see problems.
Build a Ruby Gem is 25% off for RailsConf
In light of RailsConf 2015, Build a Ruby Gem is 25% offRailsConf. [more inside]
Why not Endless Ruby?
https://rails7.wordpress.com/2015/04/20/ruby-without-ends/
Tools to Test and Optimize Page Load Speed
A list of tools to measure the page load time and its optimization: https://netguru.co/blog/speed-page-load-owners-developers
Useful Capistrano plugins
Capistrano is a well-known tool for deploying your code. But what fewer people know is that you can also use it for performing additional tasks on your server. - https://intercityup.com/blog/useful-capistrano-plugins.html
ArrrrCamp 2015 CFP is Open
Arrrrcamp just opened its cfp, you must submit a talk and come have a good moment there with us. http://2015.arrrrcamp.be/cfp/
DIY Instrumentation CPU Profiler
This is the third part of the DIY CPU Profiler blog series from Codemancers, the folks behind Rbkit Ruby profiler. This part is about how to build a very rudimentary Instrumentation profiler for Ruby
New Ruby ETL gem available: Kiba
I just released the first gem version (0.0.5) of Kiba, a declarative row-based processing DSL (first introduced here). It’s now in production use by a couple of people to transform and move data around, hope you’ll like it.
Build an API in your Rails app now!
In this blog post we will see how we can add a low REST API in our app without changing a single line of code! We will also talk about best practices when building APIs.
Gem of Week #16 - tilt gem - let's build (yet another) micro web framework
Hello, over at the Planet Ruby the Gem of the Week series continues with #16 - tilt - that lets you build your own micro web framework in less than 33 lines of code (inspired by Konstantin Haase’s Almost Sinatra hack). Full article. Cheers.
Skins, minimal styles for Rails scaffolds
Skins is a small Rails plugin that adds a thin layer of style to your app. In short, is just a stylesheet and free fonts. No need to change your HTML, nor add extra markup. Check the code on github.
Creating a math intensive C-extension
The COSMOS framework is a general purpose command and control framework written in Ruby and Qt was recently open sourced by Ball Aerospace. This blog post is about modifying our C extension which allows for writing binary data into Ruby string buffers.
SOAP that doesn't leave you feeling dirty.
Working with SOAP APIs isn’t the greatest thing in the world. Savon makes working with SOAP easy, and dare I say not so bad!
Micro library for initialize variables
Ocioso is a gem for lazily initialize variables of your ruby objects, also you can define your defaults values and allow certain variables, hope you enjoy it!
Idempotent Stripe Requests
Pete Keen has a great article on handling purchases so they happen once and only once with Stripe
Sprockets integration into Padrino application
There is a short article describing how you can integrate sprockets into Padrino. You don’t need any additional gems to do that. Sprockets and Padrino have everything what you need. Continue reading
Do you love Megaman and Ruby?
A megaman game made with Ruby http://www.megamanruby.com/