RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Speeding up RSpec and Cucumber with PostgreSQL fsync flag and parallel execution

After we’ve added RSpec and Cucumber to our CI build process, it got really, really slow. Due to the application character, after each scenario (for Cucumber) we truncate and restore the whole database. 45 minutes for a single build is definitely not what we aimed to get. See how we got it down by 75%.

Free Light-Weight Open Data Catalog (CKAN Clone) w/ Jekyll Incl. Admin Pages w/ Auth

Hello, Via @statictimes - a static site (Jekyll, Middleman & friends) news channel: Tim Wisniewsk (from Philadelphia) has put together a free open source CKAN clone for light-weight open data catalog sites. Add/edit datasets in the _datasets collection/directory or use the user-friendly (admin) editing pages (requires login e.g. authentication). Cheers. PS: Waldo Jaquith has published a Q&A w/ Tim Wisniewsk on the U.S. Open Data site. ++ What are you using Jekyll for? Let us know.

Get More Out of Queries in Rails Using Bullet in Just 3 Steps

For a large scale projects with added complexity, manual code refactoring becomes a huge risk and time consuming. Therefore, it is recommended to use third party tools like Bullet Gem for the maintenance, security and optimization of codes. Read more at RailsCarma Blog on Bullet Gem.

Rails 5: Belongs to Is Now a Required Association

I spent a couple of hours yesterday trying to track down why one of my models would not save without it’s relationship. Unfortunately, I was too deep into accepts_nested_attributes_for and fields_for to see the real problem. Turns out it was an easy change.

It’s a seldom state but it can be useful . thanks.

Sycamore

I’m very happy to share Sycamore, a slightly unusual tree data structure with you. It’s MIT-licensed, has quite good test- and documentation-coverage and even if it’s not for you, it might be worth checking out since it contains an interesting solution to the problem of null-values. [more inside]

Loading older posts