friendly w/ rails 3