Aupajo
Not a member
Aupajo's latest activity
Monday, April 12 2010
4334
to_param and <resource>_path() escapes forward slashes
was updated
in Ruby on Rails
-
Aupajo commented at 1:01 PMgarret,
Could you use
match "/areas/*locales" => "areas#show"in your routes? That value should then be accessible throughparams[:locales]. At least, according...
Monday, March 09 2009
1641
truncate with HTML ellipsis character entity
was updated
in Ruby on Rails
-
Aupajo commented at 3:20 AMA trade-off might be to increase the default
:lengthby 5 characters.Another solution would be to treat length as the encoded character length, and treat
&etc;...
Saturday, December 27 2008
1641
truncate with HTML ellipsis character entity
was created
in Ruby on Rails
-
Aupajo created the ticket at 2:24 AMI found myself changing the default from project to project, so here's my patch for it.
This sets
truncate's default:omissionfrom three dots (...) to the "pro...