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.
Reusable Validations In Rails Form Objects
Read how to compose form object validations from small pieces
Where to start when fixing tests
A blog post on how Avvo is working to stabilize and speed up our continuous integration test suite. We created JUnit Visualizer to help us pinpoint where we should focus. https://engineering.avvo.com/articles/where-to-start-when-fixing-tests.html
Developing Rails API Applications
I just released a new course for those interested in using Rails 5 to build API applications. It covers everything you need to get up and running: developing RESTful endpoints, working with ActiveModel::Serializers, authentication, and much more, and it’s available either as a free email course or for immediate download as a PDF (paid).
Striving Towards Maintainable Controllers
An article that journeys through various ways of making controllers better before finally settling on my own path.
For people that are fed up working on bad, awful and horrible code
…I’ve made a FREE course called How to be Happy Working on Bad Ruby Code
SporTV Play front-end architecture for the Olympic Games
How we evolved our front-end architecture using Back-end for Front-end pattern to create a new experience in SporTV Play for the Olympic Games.
How Rubycoders use Contentful cms to publish posts
At Rubycoders we have introduced contentful cms to manage blog articles
How to use Vue.js and Turbolinks together
If you’ve ever wanted to combine Vue.js and Turbolinks together in the same app, you may have run into a couple headaches. In this screencast, we explore how to make Vue.js and Turbolinks work together and the vue-turbolinks node module that you can drop in to make compatibility easy. https://gorails.com/episodes/how-to-use-vuejs-and-turbolinks-together
CLI Utilities for Unicode Strings
I have released two more CLI tools for analysis of Unicode data. The first one is uniscribe which prints out the names of all glyphs in a Unicode string. It also knows many names of combined codepoint sequences. Special codepoints are highlighted using a similar color scheme like in uniscribe’s companion tool unibits. The second utility is unicopy, a command-line codepoint dumper, which copies the result to the clipboard.
[Screencast] Javascript Select Form Fields with Chosen
Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. Learn how to use Chosen in a few different ways in this episode; Rails form builder and Simple Form. https://www.driftingruby.com/episodes/javascript-select-form-fields-with-chosen
NLP with Ruby list updated!
Hi there! Our awesome NLP with Ruby list has been essentially updated! Read more
TheOpenCMS. Web site has been launched and weekly report #6
Hi there! Release v0.1 is done. I’ve just launched a web site TheOpenCMS.org! YAY! Feel free to come, find and report bugs. Also you can check the Changelog vol. 6
Magic sprinkles for Capybara and PDF
Some magic sprinkles of config that I needed to get right to have pdf tests working well with capybara.
“Naming Things is Hard”
“Naming Things is Hard” This phrase is often brought up in our Ruby programmer community so I thought I’d take the time to address it.
4 Features to Watch For in Rails 5.1 beta
Link: 4 Features to Watch For in Rails 5.1 beta Read more
Let's build a new language together 😁
Hi, It’s me again. I am looking for anyone who is also interested in develop Rooby together, which is a new object oriented language I created recently (written in Go). It looks just like Ruby for now because it’s mainly inspired by it. But I want it to be a new language and start developing its own feature when it gets more mature. Read more
Security Checklist for Rails Applications
The Zen Rails Security Checklist provides a list of security measures to be implemented when developing or auditing Ruby on Rails applications.
Writing Efficient Queries in Rails
“Balancing performance and memory footprint is crucial to writing good software.” Link: Writing Efficient Queries at codeship Read more
Deduplicating Large Data With Rails
Storing and retrieving large chunks of data from your database can be tricky if it’s not done correctly. What happens when you want to store a large chunk of text that is likely to be identical for thousands of new records? Learn how to deduplicate large data in this blog post
KMS has got demo website
It was several times when I was asked to add some kind of KMS demo website. Here it is - http://demo.getkms.com/. Read more
Issues with ActiveRecord find_by_*
An overview of some unexpected behavior from ActiveRecord dynamic finders.