similar to: select_date method

Displaying 20 results from an estimated 2000 matches similar to: "select_date method"

2008 Mar 05
7
Display result without reloading page
Hi all... I have a tabbed interface for showing the details of an Item. By default the ''Details'' tab is selected. The code for displaying each tab is in a partial file. In one tab named ''status'', i''m showing the list of status history of that item. I am trying to implement pagination for this list. When i click on the ''next'' link
2008 Dec 05
9
Bar Chart in Rails
Hi Everyone, Can anyone tell me how to draw a bar chart in Rails? Is there any in-built method in Ruby on Rails (or) should i go for 3rd party plugins? I searched and came across this "open flash chart" - i don''t know how to customize it according to my requirement. PS: I have attached my requirement sample for you reference. Thanks, Vasanth Attachments:
2006 Jul 02
1
DRY? Why select_date and select_date?
Why select_date and select_date? I dont understand why having both (backward compat?). I also look that their source are different, one use the InstanceTag and others calls 3 select_(year, month, day) functions.
2006 Mar 21
5
Use select_date for my model?
Hi all I have a model "party" that has a time field "starts_at". I have created a form to add new instances of this model. <%= select_date Date.today, :prefix => ''party'' %> Sadly I get the error: NoMethodError in Parties#add undefined method `month='' for #<Party:0x256a600> How can I fix this problem? I remember that I saw in
2011 Aug 18
3
Rails 3 - Production Environment
Hello Everyone, I need some help related to the below requirements: -> I need to setup production environment without installing Ruby or Rails or other related gems into it. I did accomplish the same using JRuby, bundler and warbler plugin. And deployed the WAR file into Apache Tomcat server. But now I have to do this without JRuby & Apache Tomcat. -> I have to setup Apache with
2008 Dec 13
0
select_tag and select_date how to change inline font
I have been trying to change the font size in the select_date but i haven''t had any luck here''s what i did: <%= select_date( Date.today, :prefix => ''prom_date_end'', :order => [ :day,:month, :year], :html => {:style => "font-size: xx-small;"}) %> --~--~---------~--~----~------------~-------~--~----~ You received this message because
2005 Aug 15
1
html_options for select_date
As far as I can tell, it''s not possible to use html_options in conjunction with the select_* helpers. This means using them in conjunction with observe_field etc is pretty much impossible. Does anyone have a patch to add this functionality, or know of a workaround? I''m having a look at the moment, but not sure how to get it working without breaking existing stuff. --
2010 Jul 26
1
form date helper with text year
I have a date where the year range is more then I want to define in a select_date scaffold generated year range. My idea was to have the year entered as a text field and the month and day using something like: <%= select_month @person.born,:prefix => :person ,:field_name => "born(2i)" %> <%= select_day @person.born,:prefix => :person , :field_name =>
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
Hi -- I''ve got a very strange error. I have an action called ''commit_input'' on a controller called ''SiteVisitController''. This definately exists, and is called from the functional test for it, and passes fine. My problem is with the form that is supposed to call this action. The form tag is: <%=
2005 Nov 06
2
[LLVMdev] LLVM versus Intel's PIN tool
Hello, I am trying to decide between using LLVM and Intel's PIN tool as the dynamic optimization tool for my PhD thesis. Specifically, the tool I choose has to have the following characteristics: 1. I should be able to run all the Spec 2000 and Spec 95 floating point and integer benchmarks. 2. I should be able to instrument the beginning and end of specific program regions (e.g.,
2009 Jun 11
3
deSolve question
Dear All, I like to simulate a physiologically based pharmacokinetics model using R but am having a problem with the daspk routine. The same problem has been implemented in Berkeley madonna and Winbugs so that I know that it is working. However, with daspk it is not, and the numbers are everywhere! Please see the following and let me know if I am missing something... Thanks a lot in advance,
2004 Dec 11
0
[LLVMdev] calling the printf funtion
On Sat, 11 Dec 2004, Jai Vasanth wrote: > The gcc front-end page in llvm.cs.uiuc.edu seems to be down for the > last 18 hrs. I was finding that tool very useful to get the syntactic > constructs, could someone fix it ? Fixed, sorry. -Chris > On Sat, 11 Dec 2004 11:10:00 -0600, Vikram S. Adve <vadve at cs.uiuc.edu> wrote: >> Just compile a trivial C program containing
2006 Jun 17
2
problem with select_date
In my form I have these items: <%= select_year Date.today, :start_year => Schoolyear.get_startdate.year, :end_year => Schoolyear.get_enddate.year %> <%= select_month Date.today.month %> No matter what I do, in my controller I can''t seem to access the selected year and month. I have tried params[:month].to_s and also
2006 May 03
3
using select_date causes errors...
I''m getting errors whenever the user chooses, for example, April 31st ( since there is no 31st in April, navicat freaks out ), there MUST be a method that ruby has that would allow me to validate a date before I submit to navicat. I haven''t been able to find anything online about it either, it''s probably something simple, I just can''t figure it out. Thanks
2004 Dec 11
1
[LLVMdev] calling the printf funtion
What was the issue? On Sat, 2004-12-11 at 14:59, Chris Lattner wrote: > On Sat, 11 Dec 2004, Jai Vasanth wrote: > > The gcc front-end page in llvm.cs.uiuc.edu seems to be down for the > > last 18 hrs. I was finding that tool very useful to get the syntactic > > constructs, could someone fix it ? > > Fixed, sorry. > > -Chris > > > On Sat, 11 Dec 2004
2001 Mar 15
1
AW: samba on win2k
If you haven't deactivated password encryption on win2k (by changing the registry) you should make sure that "encrypt passwords = Yes" is set in your smb.conf. -----Urspr?ngliche Nachricht----- Von: Santosh Cheler [mailto:toshck@yahoo.com] Gesendet am: Donnerstag, 15. M?rz 2001 10:04 An: samba@lists.samba.org Betreff: samba on win2k I setup samba on rh6.2, and when i try to access
2006 Apr 05
25
How to avoid bunch of <% %> ??
Hello, I would like to know is there is a way to avoid poluting the views with tons of <% %> ? Like this <%= start_form_tag() %> <%= text_field_tag(''category[title]'', category.title, {:size => 20, :maxlength => 128}) %> <% if not category.parent_id.nil? %> <%= select("category", "parent_id", Category.find(:all,
2006 Mar 30
7
text_area
How to make that the typed code on ruby in text_area it was carried out in @params ["name"]?? -- Posted via http://www.ruby-forum.com/.
2006 Jun 30
4
Serious noob question. Any help would be great
Hi All, I''m working on building an app that can log and edit phone call information. I''ve got the creating and editing parting working great, and I''ve started an attempt to add searching. I can''t seem to figure out how to get an [:id] parameter from a form and passed between two controller methods. Right now I have a web page with a single text field in it
2006 Jul 25
0
Helper in controller?
Hello, I have have written a statictics controller for one of my applications - and I want to allow users to pull out certain statistics from a certain period. In my view, I''ve added something like this: [view] <%= form_tag :action => "bu" %> <select name="bu"> <option value="04">Germany</option> </select><br>