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.

How to Setup Vagrant for Rails

Vagrant is a tool to automatically setup a development environment inside a virtual machine on your computer. Learn more here: http://learn.onemonth.com/how-to-setup-vagrant-for-rails

Just a suggestion. It would be better if you use a simple sinatra app before yo…

active_hash_relation now supports aggregation queries!

Only for APIs: Sometimes we need to ask the database queries that act on the collection but don’t want back an array of elements but a value instead! Like average/max/min/sum of a column of our model. Create a new endpoint just for that? No! Now it can be done with just a simple method in active_hash_relation and then you can append the results to the meta attributes of your serializer. More here!.

You've got the Rails basics. So why do you feel so slow?

You’re confident about the core ideas behind Rails. You can write working code, no problem. But now that you care about testing, maintainability, and design, it fels like it takes you way more time to ship anything! Why do you feel so slow? And how can you ship quality code, faster?

Loading older posts