27 May '12, 4pm

The More You Know: custom time descriptions - GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS:

February 16, 2010 Tagged: rails view helpers time time_ago_in_words override i18n Comments (View) The More You Know: custom time descriptions Fred asked if we could shorten the “about 1 month ago” text in an information-rich table that was squeezing the created_at data. I’m not familiar with the i18n API beyond supporting internationalization in Clearance . Therefore, it took me mildly by surprise when I learned that you can override distance_in_words with the i18n API (and, by extension, time_ago_in_words ). Speaks English real good i18n is the right tool to solve a problem like this even in an English-only application. A quick change to config/locales/en.yml, however, and we’re done: en: datetime: distance_in_words: less_than_x_seconds: other: '1 minute' half_a_minute: '1 minute' less_than_x_minutes: one: '1 minute' x_minutes: one: '1 minute' other: '{{count}} minutes' a...

Full article: http://robots.thoughtbot.com/post/392707640/the-more-you-...

Tweets

Adam's

cozycot.com 29 May '12, 3am

@hihipuffyamiril the woman remembers you she wa...

np.edu.sg 29 May '12, 3am

Ideawerkz Innovation Fund (IIF) Find out how you can get free $ to kick-start your idea!

@heatxsink right back atcha:

register.com 26 May '12, 9am

Get a Custom Company Page on Facebook We will build you a custom Business Profile to actively promote your business on Fac...

Lingodroid Robots Invent New Words for Time

spectrum.ieee.org 24 May '12, 2am

Last year, we were introduced to Lingodroids , which are small robots capable of developing their own language. This isn't...

To Infinity and Beyond: Our Favorite "Galaxy" Custom Kicks

To Infinity and Beyond: Our Favorite "Galaxy" C...

nicekicks.com 26 May '12, 3pm

should be the motto when it comes to “Galaxy” custom-created sneakers. Ever since the release of the “Galaxy” Foamposite ,...

Need to know: All-girl game team @teamasterisk ...

timeoutsingapore.com 28 May '12, 3am

Yet this all-girl team – their roster has varied from five to seven, with recent member changes – compete across the world...

Lingodroid Robots Invent New Words for Time

spectrum.ieee.org 23 May '12, 1pm

Last year, we were introduced to Lingodroids , which are small robots capable of developing their own language. This isn't...

Lingodroid robots inventing their own human-lik...

spectrum.ieee.org 23 May '12, 1pm

Last year, we were introduced to Lingodroids , which are small robots capable of developing their own language. This isn't...

Maybe you didn't know that we deliver, but the guys at sure do. So if like today, the weather...

Maybe you didn't know that we deliver, but the ...

plussixfive.com 30 May '12, 1am

For the discerning executives who have been labouring in their offices all day long, Extra Virgin Pizza (EVP) has upped th...

I just learned you can provide Label text for f...

api.rubyonrails.org 30 May '12, 5pm

Returns a label tag tailored for labelling an input field for a specified attribute (identified by method ) on an object a...

Smart Pebble Robots Will Let You Duplicate Obje...

spectrum.ieee.org 28 May '12, 2pm

Imagine that you could toss an object such as a wrench into a container filled with tiny robots and, within seconds, the r...

#seo 10 things you need to know about Facebook

weblogs.hitwise.com 28 May '12, 1am

Hitwise Intelligence - James Murray - UK Analyst Weblog « Instagram snaps into top 10 social networks | 10 things you need...

Drink 5 Hour Energy? - the Army wants to know w...

armytimes.com 03 Jun '12, 6pm

Japanese researchers found in 2010 that a diet rich in B vitamins could cut the risk of heart disease and stroke, but a ha...

@_taengsic You see wad time you prefer

gv.com.sg 06 Jun '12, 12pm

Golden Village was the first to revolutionise the cinema industry in Singapore being a pioneer and a trailblazer of the Mu...