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.
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]
nVisium is doing its first Rails-focused SecCasts Live in two (live, of course) sessions on March 18th. Ken Johnson will present the top 3 most dangerous issues we regularly encounter in Rails applications along with steps to fix your applications. Registration is free and encouraged to take part in the live Q&A, but the recording of the session will be available later at SecCasts.