I did a ground up re-write of my date-time picker. It now only relies on jQuery (1.4.1) and jQuery UI (1.8rc1).
Use case is pretty simple right now:
$(function(){
$(‘#datetimepicker’).dateTimePicker();
$(‘#datepicker’).dateTimePicker({showTime: false});
$(‘#timepicker’).dateTimePicker({showDate: false});
});
See the demo for more details. Enjoy!
::
(Read the rest of this)
A basic authentication scheme should go to some length to do a little bit of remembering in the event your user hits a restricted page before they are actually authenticated.
First, some context. I’ve got this in my ApplicationController:
def require_user
unless current_user
store_location
redirect_to login_path
[...]
::
(Read the rest of this)