31 Mar '13, 2pm

Rails date method distance_of_time_in_words

:use_month_numbers - Set to true if you want to use month numbers rather than month names (e.g. "2" instead of "February"). :use_short_month - Set to true if you want to use abbreviated month names instead of full month names (e.g. "Feb" instead of "February"). :add_month_numbers - Set to true if you want to use both month numbers and month names (e.g. "2 - February" instead of "February"). :use_month_names - Set to an array with 12 month names if you want to customize month names. Note: You can also use Rails' i18n functionality for this. :date_separator - Specifies a string to separate the date fields. Default is "" (i.e. nothing). :start_year - Set the start year for the year select. Default is Time.now.year - 5 . :end_year - Set the end year for the year select. Default is Time.now.year + 5 . :discard_day - Set to true if you don't want to show a day select. This inclu...

Full article: http://api.rubyonrails.org/classes/ActionView/Helpers/Dat...

Tweets

again it hit me on the first of the month round...

apidock.com 31 Mar '13, 10pm

Show source # File activesupport/lib/active_support/core_ext/date/calculations.rb, line 168 def prev_month months_ago ( 1 ...

Is it just me, or is "14" an unreasonably large...

guides.rubyonrails.org 31 Mar '13, 8am

method does the heavy lifting of rendering your application’s content for use by a browser. There are a variety of ways to...

@amberweinberg

rubyonrails.org 31 Mar '13, 4pm

If you're looking to get your hands dirty with the newest version of Rails, the Rails 3 screencasts will give you a taste ...

A quick reference for Rails datatypes

guides.rubyonrails.org 31 Mar '13, 2am

Internally Rails only uses the migration’s number (the timestamp) to identify them. Prior to Rails 2.1 the migration numbe...

#Rails is beautiful. Easy and elegant solution ...

railscasts.com 31 Mar '13, 4pm

It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode.

#mtsmhack "Windows 8 で ExecJS::RuntimeError が出た...

oiax.jp 31 Mar '13, 2am

Windows 8 で ExecJS::RuntimeError が出たときは この記事は『改訂新版 基礎Ruby on Rails』の読者サポートのために書かれたものです。 読者サポートページに戻る Windows 8で書籍に従って作業を進め...

Diary of a Rails rescue project

everydayrails.com 22 Mar '13, 4am

Rescue projects are unique challenges. Chances are, you’re working with someone else’s code. (Or maybe you’re working with...

A date with a legend you won’t forget – Crazy Horse

A date with a legend you won’t forget – Crazy H...

aluxurytravelblog.com 27 Mar '13, 11am

A date with a legend you won’t forget – Crazy Horse By Kevin Maw on Mar 27, 2013 in Adventure Travel , Air Travel , Attrac...

Rails' Insecure Defaults

rubyflow.com 27 Mar '13, 1pm

Rails' Insecure Defaults Posted by brynary on March 27, 2013 — 0 comments Just published a detailed blog post covering 13 ...

Git-subtree and Rails

rubyflow.com 28 Mar '13, 9am

Git-subtree and Rails Posted by alexandrov on March 28, 2013 — 0 comments I just wrote about how we used git-subtree to sh...

git-subtree и Rails

rubyflow.ru 28 Mar '13, 12pm

Написал в блоге про использование git-subtree для расширивания кода между Rails приложениями: http://igor-alexandrov.githu...

Web application in ruby and rails error while r...

ruby-forum.com 29 Mar '13, 6am

Hey all , i m a newbie of ruby and rails , iahev an application which is in ruby rails , now i am trying to run on this lo...

Build your own Ruby and Rails Searchable API Docs

rubyflow.com 28 Mar '13, 7pm

Build your own Ruby and Rails Searchable API Docs Posted by phallstrom on March 28, 2013 — 1 comment If you want a local, ...

Animelo Summer Live 2013 — date and first lineu...

sgcafe.com 29 Mar '13, 11pm

Summer won’t be coming for a while, but it’s not too soon to give away information on this year’s Animelo Summer Live, Jap...

Flatui::Rails gem

rubyflow.ru 26 Mar '13, 4am

Flat UI - это набор UI компонентов от Designmodo , выполненный в популярном в настоящее время "плоском" стиле. В качестве ...