RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

hugobarauna — 9 posts

This blog post talks about 4 different ways of doing software deployment. The text describes the pros, the cons and the quirks of each one option.
This blog post teaches you that depending on the way you serialize your Date and DateTime values to JSON, you could lose information.

Learn how to avoid that problem.
Floating Point and currency
Why using floating point may be a bad idea when it comes to currency handling and what are the alternatives.
The new HTML sanitizer in Rails 4.2
Learn how the Rails HTML sanitizer was revamped using Loofah and how t will look like in Rails 4.2.

Read the full blog post here.
Rails 4 and PostgreSQL Arrays
Bernardo Chaves from Plataformatec talks about how Rails treats PostgreSQL's array type, and how to use PL/pgSQL custom functions to do unique validations in PostgreSQL arrays.

Read the full blog post in the link below:

Rails 4 and PostgreSQL Arrays
Ruby blocks precedence
Carlos Antonio talks about the precedence difference between the curly braces {...} and the do...end Ruby's blocks notations, and how that subject even generated an issue in Rails issues tracker.

Read the full blog post here.
Bootstrap 3 support for Simple Form
Simple Form is the most popular form builder gem in the Rails community. One of the things that our users love the the most is its integration with Bootstrap.

A lot of users were already asking for integration with Bootstrap 3. We heard their requests and gave Simple Form more love. We just released a RC version with support for Bootstrap 3!

Check out the details in our blog post.
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.

Check out the full blog post about our favorite Rails 4.1 features.
TL;DR: test quality is not just about verifying correctly whether your code works, it’s also about making your test easy to read and understand.

This post talks about improving your tests quality by making them more readable. It teaches you how to do that using the xUnit four-phase test structure standard.