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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
The MRI 2.2 garbage collector has gaines some significant improvements over its predecessors. There is now much more to tune and optimize for. The default settings are rarely optimal for an app, however, and gaining knowledge of the settings is a pita. [more inside]
Expose gettext translations in your Rails app to your frontend with i18next and use them in your React components.
Just posted a writeup on how to add Token-based API authentication to your Rails app, including some gotchas I found while integrating the devise_token_auth to the menudiar.io site. Any other token auth solutions you know about?
Make sure that if the code inside transaction is not dependent on result of after_commit callback. http://blog.bigbinary.com/2015/03/01/gotcha-with-after_commit-callback-in-rails.html
Eager Boolean Opeators: A Pattern to Continue Never Using A look at eager Boolean operators and bitwise Boolean operators in Ruby with an in depth analysis of their implementation, merits, and trade-offs.
Start versioning your github releases to match your gem releases. http://6ftdan.com/allyourdev/2015/03/01/version-both-your-github-repo-and-gem/
Just updated my Ruby and Rails based guide to modern web development with updated resources and explanations. Looking for feedback, comment away!
/mid-range-contemporary-gray-decks better then
/search%5B%5D=mid range&search%5B%5D=contemporary [more inside]