Skip to content

Instantly share code, notes, and snippets.

@cherring
Created April 7, 2010 05:56
Show Gist options
  • Save cherring/358583 to your computer and use it in GitHub Desktop.
Save cherring/358583 to your computer and use it in GitHub Desktop.
And I select Next Month from "fieldname" do |arg1|
month = 1.month.from_now.strftime("%B")
select(month, :from => arg1)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment