Skip to content

Rails 4.1 support#49

Open
anowell wants to merge 5 commits intoalbertopq:masterfrom
anowell:rails4
Open

Rails 4.1 support#49
anowell wants to merge 5 commits intoalbertopq:masterfrom
anowell:rails4

Conversation

@anowell
Copy link

@anowell anowell commented Oct 29, 2014

I started with @hale's fix, upgraded rails to 4.1.6, and made a handful of changes to get all the tests passing again. The switch from InstanceTag to Tags::TextField implies this will only work for Rails 4.1 and later.

I also re-factored it a bit (separate commit) to avoid needing to copy parts of the options hash between a JqueryDatePicker::InstanceTag and a TextField. Now you can directly render the JqueryDatePicker::InstanceTag. All tests should still be passing.

hale and others added 5 commits June 28, 2013 21:53
This removes the need to instantiate a JqueryDatepicker
  that we only use to scrape attributes
  before rendering a generic TextField
  Now we can instantate the JqueryDatePicker and it renders
  the text field as it should, and provides an accessor
  to get at all the DatePicker specific attributes
@anowell
Copy link
Author

anowell commented Oct 29, 2014

I had forgotten to drop ruby 1.9.2 from the travis build. I replaced it with the latest-and-greatest 2.1.4 and now things look happy.

@shireeshj
Copy link

is there any change this will be merged into master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants