Skip to main content

All Questions

0 votes
1 answer
999 views

datepicker not sending value with rest of form

I used to use the 'ui_datepicker-rails3' gem to deal with my date pickers but have subsequently retired it with the view to moving things to rails 4 eventually. In addition to figuring out that '...
Ben Davis's user avatar
1 vote
2 answers
150 views

The right way to load a CSS file in Rails 3.2 in production

In our rails 3.2 app, a jquery-ui.css file was saved under app/assets/stylesheets/ for datepicker theme. In application view, the css file was referred as this: <link href="jquery-ui.css" ...
user938363's user avatar
  • 10.4k
0 votes
1 answer
1k views

Capybara and jQuery datepicker: Capybara thinks certain dates on the calendar are clickable (valid dates) when they aren't

I have a test I am doing where I am testing the available dates that my website shows for the datepicker. The datepicker is supposed to make the next X business days available, and ignore weekends and ...
Zyren's user avatar
  • 663
0 votes
2 answers
1k views

Jquery-ui datepicker with months and years menu rails

I have a rails app where I want to choose a date of birth. I'd like to use the jquery-ui datepicker for this but am not sure how to implement it into my rails app. This is a screenshot of the ...
nulltek's user avatar
  • 3,347
2 votes
0 answers
2k views

rails jquery datepicker don't popup TypeError: $(...).datepicker is not a function

I'm trying to get a simple jquery datepicker to work. I've followed the railscasts episode for it, and even was able to download and get his version working. I'm not sure why it's not working on my ...
nevieandphil's user avatar
4 votes
2 answers
331 views

Crazy behavior in jquery date-picker

I have 2 different instances of the jquery date-picker from jquery1.8.1.min.js in my RoR application. I have this function: $(".date-picker:not('#policy_starts_on')").datepicker(); $('#...
Ryan's user avatar
  • 5,682
2 votes
2 answers
817 views

Rails Client side validation not passing true even after selecting jquery datepicker

In my application I have implemented jquery datepicker as well as rails client side validations. But even after I select the dates, I get the error as "can't be blank" and the form doesn't gets ...
rubyist's user avatar
  • 3,142
0 votes
1 answer
365 views

Regional On Jquery Datepicker - Ruby On Rails

i have date.js.coffee jQuery -> $('#school_date').datepicker({ dateFormat: 'yy-mm-dd' }); $("#school_date").datepicker("option", $.datepicker.regional["id"]) but not working.. How to ...
GeekToL's user avatar
  • 1,815
1 vote
1 answer
762 views

Jquery-ui datepicker only appears after textbox focused second time

For some reason, when I load the partial and I click the textbox to bring up the datepicker I have to click out of the textbox then click back in the textbox before the datepicker appears. Can anyone ...
rails_developer's user avatar
1 vote
1 answer
361 views

No CSS for jquery_datepicker in Rails 3.2.x app

I am using jQuery datepicker gem in a Rails 3.2.x app and the calendar looks like there is no CSS applied to it. I have required all jQuery related JS files in my application.js //= require jquery //...
marcamillion's user avatar
  • 33.8k
2 votes
0 answers
244 views

Rails rake assets:precompile produces hundreds of jquery.ui.datepicker

I noticed that rake assets:precompile takes extremely long on my production server, at least 10+ minutes. I went to take a look at my public/assets folder and I noticed that there were hundreds of ...
Noz's user avatar
  • 6,346
0 votes
1 answer
539 views

Rails 3 Nested Form and jQuery UI datepicker updates first element only

This isn't working as I'd like. I have an entry form for a new job, which is made up of a number of steps. By default there are 4 new and unsaved steps populated per job. Using the code from the ...
twilson's user avatar
  • 2,062
0 votes
1 answer
348 views

Datepicker not showing calendar

Trying to implement a datepicker and style it a bit better, so it all works fine, until i use the buttonImage option, I have the file calendar_add.png in my assets/images folder, but it doesn't load ...
Lievcin's user avatar
  • 938
1 vote
1 answer
432 views

jQuery with Rails issue - datepicker()

I have a rails application and I want to add the jQuery datepicker, to show when the user selects a field in a form. The field is built using the following code: <%= f.text_field :...
Jack's user avatar
  • 3,888
15 votes
3 answers
4k views

Rails3/jQuery UI Datepicker - Month and day are reversed on save

(My problem is pretty much the same as described in this question, only that answer does not work in my case.) I'm using the jQuery UI Datepicker in a Rails app with a Postgres db. The default ...
ellawren's user avatar
  • 947

15 30 50 per page