ошибка, которую я хочу показать
flash[:error] = "Invalid username/password combination."
Я безуспешно пробовал
$(document).ready( function() {// When the Dom is ready
$('.error').hide();//Hide the div
$('.alert').hide();
$('.notice').hide();
$('.success').hide();
$('.info').hide();
$(".error").fadeOut(2000); //Add a fade out effect that will last for 2000 millisecond
$(".alert").fadeOut(2000);
$(".notice").fadeOut(2000);
$(".success").fadeOut(2000);
$(".info").fadeOut(2000);
});
.. Я включил файл javascript
<%= javascript_include_tag 'jquery-1.3.2' %>