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.
Zopfli-ffi - Ruby wrapper for zopfli library
I just wrote article about Zopfli Compression Algorithm and Zopfli-ffi Ruby wrapper.
Complex HTML tags with content_tag
Last weekend I set myself to customize content_tag to allow dynamic tag generation. [more inside]
Trailblazer - A new architecture for Rails. Free preview chapter out!
Trailblazer introduces several new abstraction layers into Rails. It gives developers structure and architectural guidance and finally answers the question of “Where do I put this kind of code?” in Rails. My book’s first sample chapter is available now as a free download.
Robots Gain Autonomy to Manage and Analyze Embedded Data
ITTIA DB SQL is a proven choice for robotic data storage, providing a safe and efficient way to update and query local data on various embedded platforms. With ITTIA DB SQL, data is always available to multiple concurrent tasks and can be easily distributed to other robots and control systems . As a result, robots become autonomous data analysts and decision makers.
Delayed Job Plugin to kill Heroku worker...
Delayed Job Plugin to kill Heroku worker processes!
Testing execution of a before_filter with RSpec custom matcher
I just published a post about how to test execution of a before_filter with RSpec custom matcher.
New from RailsApps: Mailing List with Active Job
I’m so delighted with the new Active Job feature I decided to release a new example application and tutorial right now, rather than waiting for Rails 4.2 final. Here’s Mailing List with Active Job plus an article, Updating to Rails 4.2. Of course, you can build it with Rails Composer.
How to go beyond documentation to learn a new library
You’re working with a brand new library or feature, and you just can’t understand the documentation. Maybe it’s hard to set up, so you have to bounce between RDocs until you learn how everything fits together. Maybe the documentation doesn’t even exist. Or maybe you just learn best by seeing lots of examples. You need some help. But where do you learn how to use a feature, if not its documentation?
Intercity Chef Repository 2.2.0 released
We have just released version 2.2.0 of our Intercity Chef Repository
gem TheLog. Take care of your joints!
Take care of your joints! Replace console.log with log in your Rails App. 5 minutes gem for for Great Good! [more inside]
Representable 2.1 Is Faster!
The new representable release allows to skip rendering and parsing of properties dynamically. This allows to exclude properties at run-time, e.g. to reflect permission restrictions. It also got faster and we added a debug mode to help understanding what Representable does internally.
When to Use Protected Methods in Ruby
The protected method visibility in Ruby is one of its more confusing aspects. I recently took a closer look at it, and found that it has an interesting use case. [Continue reading…]
Adding reentrancy and a on failure fallback for your Sidekiq workers
Handling exceptions is really important. I wrote a short post on how to handle reentrancy and other failures in Sidekiq workers: Adding reentrancy and a on failure fallback for your Sidekiq workers
BDD on Rails with Minitest tutorial
A lot of people use RSpec to do TDD/BDD, but in this two-part tutorial Chris Kottom shows step-by-step how you can use Minitest to do the same thing.
What’s a Pair to Do? Pair programming using SSH + TMUX + VIM
A couple of practical tips on setting up perfect pair programming configuration What’s a Pair to Do.
Green Ruby News #90
Green Ruby News #90 like every sunday night, some links of the week about ruby, rails, webdev and devops.
Presenting Sunalytics - the no-development analytics for Rails
Hello, [more inside]
Help Customers Spread The Word About You
There was an article featured in RubyWeekly that mentioned business as an essential skill for developers. I used to blog about business and marketing, but stopped. That article encouraged me to start again. Here’s a blog post on how to initiate word of mouth and reach more of your target customers.
Introducing ImageDrop gem
I just released the ImageDrop gem and demo. Good for avatars and such. Transform the lowly file input field into sophisticated looking drag-and-drop targets, complete with a preview image and placeholder text, with only 988 chars of minified js.
Diving in Rails : Exceptions handling
I wrote an article about how rails handles exceptions in your app , have a look !
Tutorial on debugging Ruby C extensions using XCode
I just put together a beginner-level blog post which walks through steps to setup a development environment in XCode to help debug Ruby C extensions.
Introducing Lotus::Validations
Data validation is an important piece in software architecture. Delegating this responsibility to models increase the cost of maintenance. Lotus offers a different and powerful approach to the problem. [more inside]
Aloo - GIST for data / RailsRumble 2014
Previous weekend I’ve participated in annual Rails Rumble 2014. I’ve build app/product called Aloo. This is the story behind it, some details and some problems that I’ve discovered on my journey.
Serving static assets with Rack
I think this is a pretty common scenario, and yet I struggled to find an example on how to do it. I was trying to build a single page application using AngularJS on the front-end and Cuba, a minimalistic web framework for Ruby running on top of Rack. Read it here
Process Payments with Paypal - Charging Cards and Recurring Payments
We published the part 2 and part 3 of the “Process Payment with Paypal in Rails” series! [more inside]