RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: tbhockey
Site: www.photoramblr.com
Thank you, I had run into the same issue. This fixed it.
Very helpful, thanks! If you want to use CSS triangles instead of images:
th .asc:after { width: 0; height: 0; content: ""; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #333; position: absolute; margin-top: 7px; margin-left: 5px; } th .desc:after { width: 0; height: 0; content: ""; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #333; position: absolute; margin-top: 7px; margin-left: 5px; }
Wow thank you @Barwin! I've been wrestling with this for the past 2 days and just couldn't figure out what I was doing wrong. I also had a respond_to block and just needed to pop in a format.js. Works like a champ.
format.js
Nevermind, my validations were failing because I had filtered them to only occur :on => :create.
:on => :create
The fields for the password_resets edit form are not validating for me. Has anyone else had this problem?
password_resets
Thank you, I had run into the same issue. This fixed it.
Very helpful, thanks!
If you want to use CSS triangles instead of images:
Wow thank you @Barwin! I've been wrestling with this for the past 2 days and just couldn't figure out what I was doing wrong. I also had a respond_to block and just needed to pop in a
format.js
. Works like a champ.Nevermind, my validations were failing because I had filtered them to only occur
:on => :create
.The fields for the
password_resets
edit form are not validating for me. Has anyone else had this problem?