Friday, July 31, 2015

This week in Rails: wildcard template dependencies and more performance!

Posted by gregmolnar

Happy Friday Everyone!

This is Greg with the latest news about Rails. We had a quiet week so this issue will be a short one.

This week’s Rails contributors

This week 23 awesome people helped to make Rails even better. If you are interested in becoming a contributor, you can have a look at the issues list.

New Stuff

Wildcard template dependencies

You can define your template dependencies with a wildcard and do more with less code!

Plugin generator for API applications

This pull requests adds an --api option in order to generate plugins that can be added inside API applications.


Performance improvements

By reducing the number of object allocations, this giant patch helps reduce memory usage and also brings you some significant speed improvement (as a benchmark, ran about 10% faster).


Uniqueness validator fix

This commit fixes an issue when using the uniqueness validator against a custom primary key.

That’s a wrap

That’s all for This week in Rails. As always, there are many more changes than we have room to cover here, but feel free to check them out yourself!

Have you been thinking about writing for us, but you’re scared of putting yourself out there? Don’t worry, you can help our editors improve their writing with thoughtful critique and general grammar policing.

You up for that? Tell Godfrey today.