RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Getting the user's timezone

Ever needed to get the timezone of the end user’s browser in a rails app? This should be a trivial operation, but it isn’t. It is now, because I’ve wrapped all the plumbing up as a rails engine. [more inside]

Models in Rails vs ASP.NET

Thought I would jot down some thought about the different approaches between rails and asp.net mvc models especially with respect to the declaring validations as well as actually defining fields themselves. Mostly this is an introspective post which doesn’t really aim to pit the frameworks head to head and decide which is better. Rather it presents both approaches from someone who has had to use both and finds it interesting that such similar concepts can render such different implementations.

Easy FAQs with I18n

I stumbled across an interesting way to use I18n recently when modifying a FAQ section on a site. FAQs by their nature tend to be a constantly tweaked part of the site. Having to constantly change copy or add and remove questions can be time consuming. Fortunately the person in charge of the site, while not a developer, is technically savvy and can be trusted to modify YAML. I structured the en.yml file as follows for my own convenience but soon realized another use for it…

redis_failover 1.0 released - distributed monitoring, failover strategies

I just launched redis_failover 1.0. It now supports distributed monitoring among the Node Managers! Previously, the Node Managers were only used as a means of redundancy in case a particular node manager crashed. Starting with version 1.0 of redis_failover, the Node Managers will all periodically report their health report/snapshots. The primary Node Manager will utilize a configurable “node strategy” to determine if a particular node is available or unavailable. [more inside]

newrelic-rake 1.0 released

If you are using newrelic and you have some background jobs (like cron jobs) calling rake tasks, be sure to checkout newrelic-rake 1.0 gem, it adds the newrelic instrument to your rake tasks. and here is my post to show you some screenshots.

You may select from the wide range of rolex replica by comparing numerous ideal…

content management application *not system*

I just launched a rails gem for feed.us. It’s a web-based content management application. We just added a rails gem a couple weeks ago. I think it’s a very easy way to add copy-editing capabilities to a site or within an app. But it can do dynamic content creation as well.

Loading older posts