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.
Rails service oriented architecture alternative with components
When a Ruby on Rails application grows over the years it either rots in to a big ball of mud or it gets dissected in to services. What if there was another option?
Boldly refactoring complex code
Tomas Varneckas wrote a short blog post on how we refactor critical code paths at Vinted using scientist Ruby library by GitHub.
New kid on the block: Spina CMS
In the last couple of years we’ve developed a new Rails-based CMS we like to call Spina. We use it for most of our clients. We’ve open sourced it and are hoping some people will like it as well. We’re new to maintaining an open source project and would very much appreciate any feedback. [more inside]
Continuous deployment with Capistrano
Setting up continuous deployment with your own Capistrano setup might seem difficult. This blog post shows how you can automatically deploy your Rails apps using Capistrano and Codeship.
Why I loved the 2015 Railsconf Keynote
This year Rails 5 will be released and the Railsconf keynote held by DHH presents the rationale behind its latest developments. In the following I’ll show you why I think we are riding the good Rails and how to apply the right amount of criticism around the Rails’ author point of view. [more inside]
Torba: Bundler for Rails asset pipeline/Sprockets
Torba is a Bower-less asset manager for Sprockets. It makes a local copy of a JS/CSS library and puts it under Sprockets’ load path.
Procs and brackets
A short post focusing on a little known way to call procs.
How to set up and run Jekyll on cloud based coding platforms
Jekyll comes with a built in webserver to preview your blog before pushing it live. By default, it serves up at localhost. This is of course tricky if you are running Jekyll on a cloud based coding platform because localhost is the loopback address and by default, unavailable over the internet. How then do you preview your blog? Find out!
Idiosyncratic Ruby: Episode 21-24
Four short articles in the last four days: URI.regexp, No Garbage in Ruby, Ruby Alternatives, and goto fail;
On Rails 5, Presenters And Form Objects.
What is a presenter, what is a view model, and why is a form object more than a validator? I am as confused as you are but here’s some answers.
FiniteMachine 0.10.1 out!
Added ability to inherit state machine definitions to finite_machine.
Introducing Melodiest
Introduction about Melodiest, a Sinatra application boilerplate generator
Working with files and folders
Learn how to read & write files in Ruby. Fresh tutorial from blackbytes.info
Upload video files with progress bar using Rails, Paperclip and Javascript
Rails does not help much when dealing with AJAX uploads by means of external JS libraries. I recently came across a case where a developer was struggling to use JS to upload a video to a Rails backend. The main reason to use JS was to have a progress bar, something that is missing in the Rails world. In this blog post I’ll show you how to implement the functionality in the simplest case possible. [more inside]
Porting ActiveRecord "counter cache" behavior to Postgres
Automatically increment and decrement a “counter cache” in Postgres using functions and triggers!
ANN Lotus v0.3.2
Automatic secure cookies, action file send and routing helpers, optional contents for views, Lotus.root and bug fixes.
Apache Spark Wrapper
A gem which allows distributed computing in Ruby using Apache Spark. [more inside]
Porting ActiveRecord "soft delete" behavior to Postgres
You’ve probably used libraries like paranoia or acts_as_paranoid before. Check out how to implement this behavior in Postgres using functions, triggers, and views!
Build a Realtime Chat App with Ruby and Volt (screencast)
This week’s screencast takes a round trip through the Volt framework by building a realtime chat app in under 10 minutes.
Submit your Talk Proposal for Rubyconf Brasil!
This month we opened up the Call for Proposals website for the 8th edition of Rubyconf Brasil. We’ve been running this conference for 8 years in a row and it’s the largest Ruby conference in Latin America amassing around 1k attendees. Also, if your company is interested in reaching out to this large Ruby community, let us know. We will have a brand new conference format this year, read the description at the CFP site.
Tacokit.rb - a simple Ruby wrapper for the Trello API
We use Trello to manage our development process and Ruby to extra data from Trello. Other Trello Ruby wrappers didn’t fit our needs. We wanted something simple, well-tested, and easy to use; we wanted ocktokit.rb for Trello. So we built tacokit.rb. Though still a work-in-progress, it’s now open source and we hope others will find it useful as well.
Avdi Grimm at Tropical Ruby 2015: The Soul of Software
Tropical Ruby just released its first video and it’s the most anticipated one: with you, Mr. Avdi Grimm talking about the Soul of Software.
Rails 5 - Much Faster Collection Rendering
Here’s how we made rendering a collection a whole lot faster in Rails 5.
Porting ActiveRecord validations to Postgres
Check out how to validate your data with table constraints!