RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

morhekil — 8 posts

http://speakmy.name

New gem that allows you to easily use i18n locale files from Rails in your JavaScript frontend. It provides asset file for the asset pipeline, and a view helper, to assist with locale updates in development. Compatible with i18next javascript i18n library.

Read more
I shared presentation slides from the talk that I gave today. It gives an introduction into working with processes and threads in Ruby, together with a deeper look at some underlying differences between various Ruby versions and implementations. Enjoy and share! Grab them here
I just posted an English translation of a reading list on the topic of concurrent programming and threads in Ruby, based on the list compiled by @brainopia
Very often in our application we need to separate some data from the code - URLs, email addresses, other bits and pieces. And sometimes it makes more sense to implement a sharp and specific solution, tailored directly to your needs - instead of smashing the task with a hammer of some generic gem. How? See some ideas in this blog post - simple configuration for Ruby applications
It is possible to interact with NTLM servers from Ruby via ntlmaps proxy, but the recent additions to Typhoeus library allows you to authenticate with NTLM directly. Read on to learn how to work with NTLM authentication both ways.
There’re two awesome methods in prototype.js library those are often overlooked by newcomers - Function.bind() and Function.bindAsEventListener(). These methods are so great that their absense from another awsomeness called Ruby is just driving me crazy every time I stumble upon it. But let’s take a closer look at why these methods are so useful, and let me show you almost a real app usage example. Read on for the rest of the article.
There's a relatively new player in the town of role-based access control for Rails - acl9 by Oleg Dashevskii. This article shows how easy it is to replace acl9's default database-based role checks with your own dynamic ones, and to allow your object to allow or deny users with any roles using any conditions without updating database roles all the time. And it does it in a true BDD fashion with RSpec examples. Read the article
The article collects current best practices of a submodules workflow and form a “howto” kind of guide,
So if you’re still asking yourself “How shall I track changes in my submodules?” or even (if you’re cool and eat your own dog food) “How shall I use the submodule in my app, have it editable/pushable and let others clone the app without any issues?” - read on, you should find your answers.