16 Apr '13, 5am

Modifying the order of Datetime picker in Rails

: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

Ruby on Rails Guides: Action Controller Overview

guides.rubyonrails.org 17 Apr '13, 4am

class ClientsController < ActionController::Base # This action uses query string parameters because it gets run # by an HT...

Integration testing in the absurd land of Rails...

guides.rubyonrails.org 15 Apr '13, 12pm

Testing support was woven into the Rails fabric from the beginning. It wasn’t an “oh! let’s bolt on support for running te...

Diary of a Rails rescue project, part 2: Testin...

everydayrails.com 16 Apr '13, 4pm

Diary of a Rails rescue project, part 2: Testing April 16, 2013 As mentioned previously , I’ve been spending spare cycles ...

Navy issues order to account for personnel & th...

navy.mil 16 Apr '13, 8pm

MILLINGTON, Tenn. (NNS) -- The Navy has issued an order to account for Navy personnel and their families within a defined ...

Been heads-down working on our online Rails course for the past few months. Just finished filming!

Been heads-down working on our online Rails cou...

pragmaticstudio.com 16 Apr '13, 5pm

We just finished filming our online Rails course based on Rails 4! By popular demand, the format is the same as our online...

Single resource REST Rails routes via @pivotall...

pivotallabs.com 17 Apr '13, 3am

REST principles by default is a fantastic convention within Rails applications. The documentation for how to route HTTP re...

Простой способ backup для Rails проектов

rubyflow.ru 17 Apr '13, 5am

Простой способ backup для Rails проектов

Nespresso Coupon - Nespresso Capsules with Free...

aromacup.com 14 Apr '13, 6pm

* Receive free standard shipping on your online order of Nespresso® coffee purchase of 200 capsules or more. Offer is only...

Building a fast, lightweight REST service with ...

pivotallabs.com 14 Apr '13, 9pm

I recently started building a Rails 3 app that will function as an internal REST service. I wanted it to be as lightweight...

Migrating from a single Rails app to a suite of...

pivotallabs.com 07 Apr '13, 6am

In order to make day to day development easier, and to avoid the “where do migrations live…” conversation and top level Ra...

2列ソート、色々なやり方があった

ruby-forum.com 16 Apr '13, 12pm

IN sql we can pass two arguments to the 'order by' component, and it will order the results by A, and then B in the cases ...

Rails SQL injection vulnerability: hold your ho...

blog.phusion.nl 13 Apr '13, 9pm

So to inject arbitrary SQL, you need to tamper with the cookie, which requires the HMAC key. The HMAC key is the so-called...

Bus and Coach News: Record battery bus order fo...

busandcoach.com 12 Apr '13, 3pm

The biggest order for battery-electric buses in Britain has been secured by Optare, which is to supply 20 to Nottingham ci...

ASCIIcast 412 - Fast Rails Commands

railscasts.com 11 Apr '13, 6pm

Now that we don’t have to start up our Rails application every time we run one of these commands the output appears much s...

The biggest order for battery-electric buses in...

busandcoach.com 12 Apr '13, 3pm

The biggest order for battery-electric buses in Britain has been secured by Optare, which is to supply 20 to Nottingham ci...