similar to: date_select help

Displaying 20 results from an estimated 200 matches similar to: "date_select help"

2005 Dec 15
2
A Rails-based CMS?
Is there a working Rails-based CMS out there and available? I''ve looked on the web a bit this morning but have not found anything that can be put in use. Thanks! Nathan Mealey Operations Director Northeast Region Pilgrim IT, LLC NORTHEAST OFFICE 1 Short Street Northampton, MA 01060 TEL 866.434.4976 FAX 413.587.0572 MIDWEST OFFICE 1815 Brownsboro Road Louisville,
2006 Apr 16
5
ActionMailer
Is there a way to connect to a SMTP server that requires TLS since ActionMailer doesn''t support it? Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box running Rails 1.0.0 and Lighttpd 1.4.10 I followed the instructions in the wiki (http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the same error: linux:/etc/lighttpd # lighttpd -f lighttpd.conf 2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2012 Jan 01
4
Chronic parsing date range in console but not in application in rails 3
Hey all, Chronic will parse a date range in console: Chronic.parse(1/1/2011 - 1/1/2012, :guess => false) => 2012-01-01 12:00:00 -0500..2012-01-01 12:00:01 -0500 However, when I use logger to check if it''s parsing in application, it is not: logger.info "The value of history date is #{history_date}" => The value of history date is 1/1/2011 - 1/1/2012
2006 May 08
5
Cron Scheduling Problem
Hello, The following cron job is failing to run: 00 16 * * * root ruby /home/nathan/rails/notifications/script/runner -e production Notifier.deliver_summary My understanding from the Rails Wiki is that this should do it. Can anyone shed some light on what I may have setup wrong? Thanks! Nathan Mealey Operations Director Northeast Region Pilgrim IT, LLC NORTHEAST OFFICE 1
2007 Aug 01
3
Problem with Windows & Apache Setup
I''m using Mongrel 1.0.1 and Apache 2.0 to serve up a handulf of Rails applications. Apache proxies requests to the instances of Mongrel and uses ProxyPass and ProxyPassReverse to deliver static files. The Rails application uses sessions, and this appears to be where the issue is occurring. If too many users login to the application, then at some point the application stops
2006 Dec 15
1
Help w/ Apache Proxying Mongrel
I''m running Apache 2.0 as a proxy to several Mongrel/Rails apps, so that all of my Mongrel apps can be routed through the single Apache IP address. Apache 2.0 is already in use on the system, which is why I haven''t decided to use Apache 2.2. The problem I''m having is that this setup only works for Rails apps that do not use the public/index.html file as the main
2006 Jan 25
1
Collection_select ?
In case where a collection_select is selecting a required value for an object (a not null field), is it possible to set a generic default value for the select box? I have tried :prompt => true and :include_blank => true but neither changes the value for required fields. It does for non-required fields though. Thanks. Nathan Mealey Operations Director Northeast Region Pilgrim IT,
2006 Apr 28
0
Extracting Email Attachment Content
If an email incoming to Actionmailer has an .htm attachment, how is it possible to extract the file''s text (the html text in the file) to insert into the database? I''ve tried reading the attachment like so, theFile = File.open(attachment.read, "r"), to no avail. But that fails stating that there is no such file or directory (but the attachment is there for certain).
2006 Aug 02
2
Problem with date_select
Hi all. I have a big problem with date_select helper, because i guess it can''t resolve local variables to set correctly selected date. Small example: <% @client.charge_regs.each do |creg| %> <%= form_remote_tag with_progress(:url => { :action => ''foo'' }) %> <%= date_select ''creg'', ''valid_before'' %>
2006 Aug 14
0
date_select form
How can I define a desired date in the ActionHelper "date_select". I want to select always the last date in the current month. Select: ------- June -> 2006-06-30 July -> 2006-06-31 and so on.... -- Posted via http://www.ruby-forum.com/.
2006 Jul 15
1
Trouble using date_select with blank options
I want to allow users to enter a day and a month, but not necessarily a year. i.e. it should be optional. If I select the day and month, but a blank year and then submit i get: 1 error(s) on assignment of multiparameter attributes The paramaters regarding the date look like this: {"date_of_birth(2i)"=>"3",
2006 Jul 24
1
Default in date_select
how to set dafault date in date_select plz explain with example advance thx have a nice day -- Posted via http://www.ruby-forum.com/.
2006 Jul 24
0
set day in date_select
hello gentlemen how to set default day and default month in date_select. plz explain with examples advance thx have a nice day narayana -- Posted via http://www.ruby-forum.com/.
2006 Jul 26
1
Plz answer my query in date_select
hello gentlemen I want to set my (default)own date in date_select, how to do this, plz explain with example advance thx have a nice day regards narayana -- Posted via http://www.ruby-forum.com/.
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
2006 Jul 29
0
date_select with calendar
hello, is there an improved data_select helper that would generate a small window with a calendar (to enter a date value)? (e.g. http://www.dynarch.com/projects/calendar but can be simpler) thanks ondrej
2006 Jul 31
3
date_select for valid days only. No Feb 30
I am looking for some advice on how to make a date select display only valid days of the year. The standard date helper allows for you to choose 31 days for every month of the year. Since not all months have 31 days this can lead to invalid date entries for scheduling. I am thinking that an approach where I have a drop down for month and then use AJAX or normal client side javascript to
2006 Jun 01
1
Default Value for date_select helper
Hi All: Just curious if anyone has figured out how to set a default date for the date_select helper. My application has a form with both a start date and end date select for the user. Since the period between the two is a minimum of 24 hours I wanted to have the start date default to Date.today (which it does automatically) and then have the end date default to the following date (i.e.
2006 Jun 05
1
Format Values from a date_select
Hi I have two date select options in a form, when I try and grab these values using somthing like @pMax = params[:max] I get this in the varibale name max(1i)2006max(2i)6max(3i)5 which has the correct data, jsut with added things like max(1i) Whats the best way of grabbbing this data into a variable without the extra titles? Scott -- Posted via http://www.ruby-forum.com/.