Welcome To Snipplr


Everyone's Recent Rails Snippets Tagged rails



1 2 3 Next »
Send file from different name
1 1258 posted 17 years ago by tonic
2 1805 posted 17 years ago by tonic
1 1407 posted 17 years ago by mikegreen
"The new naming scheme for template (eg. .html.erb) does not seem to work for partials. When using :partial => 'form' a filename "_form.html.erb" is not recognized. " Rails now requires the partial to be referenced by dotted format
1 1208 posted 17 years ago by cczona
1 1400 posted 17 years ago by udayrayala
2 1366 posted 17 years ago by brettarogers
2 1053 posted 17 years ago by brettarogers
Use this to upload and resize your images using RMagick. Code by nixnewbie.
2 1734 posted 18 years ago by Tricon
override the boolean expression with your own conditions.
3 1288 posted 18 years ago by capitalist
From railscast #41
2 1539 posted 18 years ago by bordalix
1 1013 posted 18 years ago by bordalix
A quick and simple way of having any flash messages, from railscast #18
1 1082 posted 18 years ago by bordalix
1 1299 posted 18 years ago by t0d0r
1 1012 posted 18 years ago by sethbuntin
1 1099 posted 18 years ago by jpowell
1 1137 posted 18 years ago by jpowell
1 1130 posted 18 years ago by jpowell
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
3 2719 posted 18 years ago by jonhenshaw
1 2 3 Next »