> Also, try to evaluate this on Heroku's console: filename[/\.(\w+)$/,1]
> (where filename is the filename of the index template).
>
> --
> // Magnus Holm
> _______________________________________________
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list

Ruby console for tokyoartparties.heroku.com
>> "index.haml"[/\.(\w+)$/,1]
=> "haml"

Hope this is correct...
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to