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.
Abracadabra gem updated with tons of new options!
Abracadabra, the gem that swaps out text with a fully-compliant Rails form in one click, has just had a major update. Icon classes are fully customizable, the object can be deleted through the deletable option, the tab_to_next option allows seamless editing down a page, etc!
Hiring Rubyists
I just launched hiring rubyists If you’re hiring rubyists then post you jobs at hiring rubyists for free.
Barcelona Ruby Conference is back!
We just published a new blog post announcing Baruco 2014: speakers announcement, call for papers is open and first ticket batch!.
Self Hosted Gem Server with Jenkins and S3
Brief outline of how we automate hosting internal gems at <a href=http://www.climate.com>Climate Corp</a> [more inside]
Chewy 0.4.0 is out
We’ve just released a new version (0.4.0) of our Chewy gem. Elasticsearch infrastructure done right.
Grab an open source Spree extension for quickly adding Q&A sections to your store.
We’ve just launched an open source extension for Spree E-commerce allowing you to add a Q&A section to the product pages.
Liquid Template done right
Some people asked me how to do liquid template in Ruby correctly. I helped them and wrote following article Liquid in Ruby done right showing how to refactor a bad liquid-template code. I hope this would be useful to some people out there. Keep on learning folks!
Notacon, The Ruby Platform, and More
Hey all, be sure to checkout my latest post discussing the upcoming Omega demo at Notacon this weekend in Cleveland OH, updates to the ruby gem / application polisher, bundler_ext, and more!
Introducing Hound
We’re pleased to announce Hound, a hosted service that comments on Ruby style guide violations in your GitHub pull requests. [more inside]
proxy.pac parsing in ruby
Have you ever felt the need to parse proxy.pac-files in ruby? Then have a look at proxy_pac_rb @ rubygems.org. We just released a new version. For more documentation and examples please have a look at proxy_pac_rb @ github.com.
Use Bower for managing front-end assets in Rails
Rails’ history with front-end asset management is somewhat complex, involving a mixture of gems and manual file management. Fortunately, there’s now a better way—Bower. …Continue Reading - by Dave Copeland
Security Monitoring for Open Source Ruby Projects
Hakiri now supports open source projects completely for free. You can test your Ruby code and gems against public vulnerabilities and static code analysis.
O'Reilly Programming Blog: Ruby - The Unit Test-Friendly Language
Another post on the O’Reilly Programming blog, on how Ruby makes it easy to create mocks and stubs for unit tests.
Introducing Whiny Validation. So You Can Figure Out Why Your Rails Specs Failed.
Sometimes when you run a spec in a Rails app, it fails silently but it isn’t clear why. Frequently, this type of spec failure is due to an input validation error. But the log won’t tell you that. That’s why I created the Whiny Validation gem. Whiny Validation watches for ActiveRecord validation errors on all models. Whenever one occurs, it logs the validation message and dumps the ActiveRecord object (with inspect) to the log. A quick look at the log tells you why the spec failed.
3 features from Rails 4.1 that I’m excited about
Rails 4.1 was just released this week and I already had a great experience trying out the release candidates on my latest project, so I decided to write a bit about my favorites features on this release and some things I have learned by using them so far. [more inside]
Learn Ruby on Rails book review
I wrote review of Daniel Kehoe book Learn Ruby on Rails
Repository for Ruby domain objects in Elasticsearch
Check out a draft of Ruby domain objects persistence in Elasticsearch via the repository pattern. Live application available at http://bit.ly/persistence-sinatra (source at Github).
5 Starter Apps for Rails 4.1 from Rails Composer
Rails 4.1 was released today and Rails Composer is up to date with 5 Starter Apps for Rails 4.1.
CVE-2014-0160 (Heartbleed) & You
Ninefold just wanted to let everyone know that for our Rails deployment platform, you are not impacted by CVE-2014-0160 aka Heartbleed. [more inside]
A Guide to Choosing the Best Gems for Your Ruby Project
If you need something done in Ruby, a gem for it probably exists. Well, a dozen gems for it probably exist. Some of them are elegant, featureful, and well-maintained, and others were written to solve one use case the author ran into that one time. You have lots of gems to choose from, so how do you choose the right one? This choice is important — by the time you regret adding a gem to your project, it’s painful to change back.
Ruby and Rails Syntax Tips - The Difference Between blank?, nil?, and empty?
When working with Ruby and Rails, a common source of confusion involves mixing up nil?, blank?, and empty?. All three methods clearly deal with determining whether a data structure is assigned a value, but there are different degrees of nothingness, and in the world of programming those degrees are important. This blog post helps to dispel the confusion by working through a number of different examples.
Composable Operations
Composable Operations is a tool set for creating operations and assembling multiple of these operations in operation pipelines. They are especially useful in large-scale Rails applications to model complex business transactions. In other words, they can be used to implement a service layer.
An Introduction to json schemas and why you should use them
Here is a introduction to JSON schemas and why to use them.