similar to: Date format

Displaying 20 results from an estimated 1400 matches similar to: "Date format"

2005 Dec 05
0
Rails Job in Switzerland
Hi all, We are a Linux / Open Source company based in Bad Ragaz, Switzerland, developing commercial Rails applications since version 0.8. We''re currently looking for a skilled programmer with Rails experience to join our team. If you''re interested, please contact Pirmin Kalberer (pka at sourcepole.ch) for more information. -- Pirmin Kalberer Sourcepole - Linux & Open
2012 Dec 07
0
[Bug 1585] Allow an `Include' option which reads another config file in place and does not error out when `Include' file not readable
https://bugzilla.mindrot.org/show_bug.cgi?id=1585 Tomas Pospisek <tpo_deb at sourcepole.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tpo_deb at sourcepole.ch --- Comment #2 from Tomas Pospisek <tpo_deb at sourcepole.ch> --- +1 I needed
2006 Apr 10
1
Bizzare Date, DateTime, date_select issues
I''ve been banging my head against this wall for several hours, and it hurts now so I''ll stop and ask someone. In one of my forms I had been using a statement to extract the current year for use with some form field calculations. <% currentyear = DateTime.now.year %> And then further down several date_selects like the following, <%= date_select
2006 Jan 19
2
date_select broken
I am using date_select and in some instances it only shows about 10 years worth of choices. Same form on other users shows the whole range. date_select looks like this <%= date_select ''user'',''birthdate'' , :start_year => 1940 %> I would expect to always see 1940-2006 or so , but i dont always do. Is there a way to force the range or explain why i
2007 Apr 25
2
form_remote_for, reloaded
Hi, being relativly new to RoR, I''m having a problem which I found described in this forum and somewhere else - but with no solution. I know, that it may be bad to mix table and form tags, but the first solution of an in place editing within a table looked nice: Version using form_for: <tr> <%form_for :time_record, :url => { :action => "add_time_record" } do
2006 Jan 27
0
Mad Railers First Meeting
Hi all, We are very pleased to announce the first meeting of Mad Railers, the Madison, WI Ruby on Rails Users Group. Here are the details: When: Monday, February 13, 2006 from 6 p.m. - 9 p.m. Where: Madison Area Technical College Downtown Education Center 211 N. Carroll St. Madison, WI 53703 Room D240 Google Maps Link:
2005 Dec 15
1
date_select help
I''m trying to select items from a database by their date field. The date data is coming from a form using the date_select helper. The field in the database is named date_notified_on. My controller method is this: def history_date if(@params) @notifications = Notification.find(:all, :conditions => ["date_notified_on = ?",
2005 Feb 15
5
date_select where to add "class"=>"something"
Hi, I''ve looked on api.rubyonrails.org but I''ve not found how to add to a date_select(object, method, options = {}) a class option to set the class of all the select tags. I''ve tried using "class" => "myclass" in thoose ways: <%= date_select("costo", "data", "class" => "testo" ) %> <%=
2006 May 09
0
Problem with date_select
Dates defined chosen with date_select are not coming through once the form is submitted. I have this in a form: <%= date_select ''search'', ''date_start'', :include_blank => true %> <%= date_select ''search'', ''date_end'' , :include_blank => true %> However, when I submit the form params[:search][:date_start]
2006 Apr 04
0
Does observe_field work with date_select?
I can''t get observe_field to do anything with my date_select. Here''s the rhtml code: <%= date_select ''course'', ''lab_start_date'' %> <%= observe_field(:course_lab_start_date, :frequency => 0.5, :update => :course_lab_start_date_div, :url => { :action => ''preview_text''}) %> My
2008 Jun 17
0
how to set tabindex in date_select
<%= date_select(''user'', ''birthdate'', { :start_year => 80.years.ago.year, :end_year => 12.years.ago.year } ) %> work in rails 1.2.2 date_select(object_name, method, options = {}) I try many times but also didn''t know how to set tabindex in date_select --~--~---------~--~----~------------~-------~--~----~ You received this message
2005 Sep 16
0
Specify attributes for 'date_select' select inputs
Hi, I could not find an easy way to specify the ''id'' attribute for select inputs of ''date_select'' form helper. I need to set it because I want to retrieve date selects values from a javascript. <%= date_select ''product'', ''expiration'' %> generates <select name="product[expiration(1i)]">
2008 Jun 26
2
Problem with date_select after Rails 2.1 upgrade
Folks, I think I should start a new thread for this, because a similar one I saw is a bit old and the resolution there doesn''t seem to apply to what I''m running into now. Anyway, my date_select calls are bombing on me with the exception: ---- ActionView::TemplateError (wrong number of arguments (3 for 2)) on line #8 of entries/_dates_form.haml: 8: = date_select(
2006 Jun 12
2
Ruby on Rails Copenhagen Meetup
Hi Railers If you are in the Copenhagen area on the 29th of this month (that''s a Thursday) Jesper and I would be glad to see you at Caf? Selina in the central Copenhagen for the first of many Ruby on Rails meetups. We start at 20:30 hours and have of cause arranged for free beer and complementary WiFi. Our goal is to create an inspiring atmosphere where railers (new and old) can
2006 Jul 07
0
datetime/date problems w/ Oracle
I am "script\generate scaffold"ing w/ Oracle. The CRUD controls for DATE columns in _form.rhtml are generated as datetime_select, rather than date_select . This is understandable, as Oracle uses a DATETIME data type for DATE columns. I''m also not too bothered by the fact that I have to manually replace "datetime_select" w/ "date_select" for all
2006 Nov 04
2
date_select parameter
Trying to add start year to date_select <%= date_select(:start_year => 1980)%> It''s throwing an exception "wrong number of arguments (1 for 0) Can''t I add a start_year, API shows this option ? TIA Stuart http://en.wikipedia.org/wiki/Dark_ambient --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2006 May 03
2
Using a helper within another helper?
I am trying to push some view logic into a helper. The thought is that this is a step towards having the business logic in the helper rather than the view. However, I''m essentially wrapping the checks around an eventual call to date_select(). The problem I''m having is that the application complains that it doesn''t know about date_select(). I''m sure (or
2006 Jul 26
2
text_field and date_select in collection
hello, i would like to display a collection of records on one page (e.g. an author record with all his/her books). a record contains a text_area (e.g. a description of the book) and a date_select (e.g. when the book was published). <% for @book in @author.books %> <%= text_area ''book[]'', ''note'' %> <%= datetime_select
2005 Apr 20
1
default date in date_select?
Hi there, I''m new to Rails -- started with this project just about five days ago -- I''m re-building an in-house ordering tool, and it would be handy to pre-populate a date_select field with a value two weeks from now. The calculation isn''t the hard part, it''s getting date_select to pre-populate itself. Any suggestions? Thanks, --Jim
2009 Mar 13
2
date_select and HTML options?
I have the following code, but can''t seem to get the class attribute to show up in the generated select elements. I saw something about a bug/patch. However, as am still learning RoR I didn''t want to jump to conclusions. Anyone see anything wrong: <%= f.date_select :expiration_date, :order => [:month, :year], :discard_day => true, :class => "dtfld" %>