Improving the integration between Capybara and RSpec blog.plataformatec.com.br
josevalim — 37 posts
http://josevalim.blogspot.com/
I18n alchemy - localization and parsing blog.plataformatec.com.br
Carlos Antonio from Plataformatec has finally released to the public his I18n alchemy gem: an alternative for localization and parsing of I18n data with Active Model.
Three tips to improve the performance of your test suite blog.plataformatec.com.br
José Valim shares three tips to improve the performance of your Rails apps' test suite.
Bare-bone, stripped-down Devise blog.plataformatec.com.br
José Valim shows how to have your own bare-bone, stripped-down Devise.
A (successful) git branching model blog.plataformatec.com.br
Rodrigo Flores from Plataforma presents a (successful) git branching model.
Why Rubyists should try Elixir blog.plataformatec.com.br
José Valim explains why Ruby developers should try Elixir, a small language which adds a bit of Ruby syntax and Object Orientation to Erlang VM.
Undestand how Cognitive Load can impact your code blog.plataformatec.com.br
Understanding the latest Rails benchmarks blog.plataformatec.com.br
Rails Core member José Valim offers a detailed explanation on the latest Rails benchmarks.
Improving your tests with Capybara custom selectors blog.plataformatec.com.br
Hugo Baraúna from PlataformaTec explains how to improve your tests using Capybara custom selectors.
Acceptance tests for OmniAuth blog.plataformatec.com.br
Rodrigo Flores talks on Plataforma's blog about doing Acceptance tests for Omniauth.
Crafting Rails Applications: Why I wrote this book plataformatec.com.br
José Valim (member of Rails Core Team) just wrote an advanced Rails book called Crafting Rails Applications. This blog post is his take on why he wrote it.
New ActiveRecord scoping methods blog.plataformatec.com.br
SimpleForm: forms made easy for Rails blog.plataformatec.com.br
Carlos Antônio from Plataforma talks about a new open source project they extracted from recent projects to handle forms and markup.
Best Ruby Open Source Test Suites Awards blog.plataformatec.com.br
ShowFor - Show your objects baby! plataformatec.com
The guys at PlataformaTec just released a new tool called show_for that helps you to DRY your code and markup whenever showing your objects (aka in your "show" views). Check out the blog post here.
Rails Metrics Screencast plataformtec.com
José Valim from PlataformaTec just released a screencast about RailsMetrics. RailsMetrics is a Rails 3 engine which listens to ActiveSupport::Notifications and store them in the database, so you can know what is happening in your application at each request and create some charts and statistics. In this screencast, José Valim shows how to install it, takes a quick look at the source code and tell you how you can make RailsMetrics even better.
Happy Birthday Devise blog.plataformatec.com.br
Devise (a full authentication stack for Rails) reaches 1.0 after four months since its first release! Carlos describes in this post all features that were added along the way: authentication, HTTP Basic authentication, token authentication, registration, analytics, timeout, account locking, account confirmation, forgot password and many others, thanks to Devise modular architecture which allows you to pick just what you want.
Monitoring Delayed Job with Bluepill and Capistrano blog.plataformatec.com.br
Hugo Baraúna from PlataformaTec shows on this post how to get Bluepill (an alternative to God) monitoring your Delayed Job process deployed with Capistrano.
Discovering Rails 3 generators blog.plataformatec.com.br
José Valim points to some recently written blog posts about Rails 3 generators and provides insight about them.
Run, I18n, Run! bit.ly
José Valim talks about the latest I18n gem release with the extensions newly added. It tells how to use them to speed up translations and includes some benchmarks as well!
has_scope and responders released blog.plataformatec.com.br
We, at Plataformatec, just released two new open source tools: has_scope and responders, both extracted from Inherited Resources. has_scope allows you to quickly map controller parameters to named_scopes and responders is a repository of Rails 3 responders, which can already be used within Inherited Resources. As conclusion of this refactoring, Inherited Resources finally reaches 1.0. Read the blog post to catch up all changes.
Subdomains and sessions to the rescue! plataformatec.com.br
Carlos from PlataformaTec talks about subdomains, sessions and how to make them work in a Rails app, in development and production!
Controllers, mount up! blog.plataformatec.com.br
The guys at Plataforma talk how they handle Rails' controllers daily by using filters, Inherited Resources and nested controllers.
Devise: authentication for lazy programmers plataformatec.com.br
The guys at Plataforma just released a Devise update and blog post about it. It mainly include new configuration options and generators to setup your authentication system even faster! Check it out!
Devise: flexible authentication solution for Rails blog.plataformatec.com.br
Plataforma just released a new authentication solution for Rails called Devise. It was built as an engine and it moves all the session handling to a Rack middleware, so you can share the same authentication rules easily. It's intended to be flexible, so you can work with several roles (admin, user and so on) and all of them can use different strategies as password recovery (recoverable), account confirmation (confirmable) and others.
Export data to Excel using CSV in your Rails app blog.plataformatec.com.br
George Guimarães explain in this post how to export data to Excel using only CSV and iconv. It's a simpler and faster way than relying on complex tools like the spreadsheet gem.
How to avoid the dog-pile effect on your Rails app blog.plataformatec.com.br
In this post, Hugo Baraúna explains what is the dog-pile effect, the dangers it poses to your application scalability and how to avoid it.
Do not burden your users with validations blog.plataformatec.com.br
On this post, Hugo Barauna gives some usability tips when working with Rails validations.
Inherited Resources is growing in a fast pace and now it supports named scopes and ActionController::Responder from Rails 3.0 was backported! And be sure to let a comment if you agree or not with the new proposed DSL.
Embracing REST with mind, body and soul blog.plataformatec.com.br
After the addition of respond_with to Rails 3.0, José Valim explains the next steps taken that are definitely embracing REST with mind, body and soul. He talks about the new ActionController::Renderer and why it matters.
Creating your own generators with thor blog.plataformatec.com.br
José Valim starts a series of posts about his Google Summer of Code project to bring agnosticism to Rails generators. On this first post, he talks on how to create your own generators with thor which powers Rails generators. Next posts should get deep into Rails new generators implementation and how to use them at best.
10 days later SimpleForm goes to 0.2 github.com
SimpleForm is an easy contact form for Rails with support to I18n, validations and now got extended to support attachments and also append request info to the e-mail. You can read a post explaining the new features here.
Remarkable 3.0 is released and Carlos Brando put up a post with all the new features which goes from I18n to new macros for Rails, including a DSL for your controller specs.
Presentation about the new features on Remarkable 3.0 josevalim.blogspot.com
Remarkable 3.0 is going to be released soon and yesterday at the KRUG meeting I covered the new features: more matchers, macro stubs, performance and I18n. You can see it here.
3, 2, 1... go! Your contact form is ready! josevalim.blogspot.com
Bringing Merb's provides/display into Rails 2.2 (and Rails 2.3) loudthinking.com
DHH posted about this a couple weeks ago and I'm bringing the subject back with two subtle differences: I'm aiming on Rails 2.2 (not Rails 3) and I will actually show you the code! Check it out here.
