07 May '12, 1pm

GOD DAMN YOU, HAML! (╯°□°)╯︵ ˥W∀H

The encoding to use for the HTML output. Only available in Ruby 1.9 or higher. This can be a string or an Encoding Object. Note that Haml does not automatically re-encode Ruby values; any strings coming from outside the application should be converted before being passed into the Haml template. Defaults to Encoding.default_internal ; if that’s not set, defaults to the encoding of the Haml template; if that’s us-ascii , defaults to "utf-8" . Many Ruby database drivers are not yet Ruby 1.9 compatible; in particular, they return strings marked as ASCII-encoded even when those strings contain non-ASCII characters (such as UTF-8). This will cause encoding errors if the Haml encoding isn’t set to "ascii-8bit" . To solve this, either call #force_encoding on all the strings returned from the database, set :encoding to "ascii-8bit" , or try to get the authors of the database driver...

Full article: http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html...

Tweets

File: HAML_REFERENCE:

haml-lang.com 07 May '12, 8pm

The encoding to use for the HTML output. Only available in Ruby 1.9 or higher. This can be a string or an Encoding Object....

@nickmabry Haml has a :markdown filter. Did the...

haml-lang.com 06 May '12, 5am

Haml is a markup language that’s used to cleanly and simply describe the XHTML of any web document, without the use of inl...

File: HAML_REFERENCE:

haml-lang.com 26 Apr '12, 9pm

Square brackets follow a tag definition and contain a Ruby object that is used to set the class and id of that tag. The cl...

jQuery plugin Role with haml support

rubyflow.com 06 May '12, 7pm

jQuery plugin Role with haml support Posted by gazay on May 06, 2012 — 0 comments I just released role-haml gem. It is Ham...

Sass 3.1.17なってた。 windowsで--watchするとWARNING: Lis...

sass-lang.com 07 May '12, 8am

It is now possible to define a custom importer that can be used to find imports using different import semantics than the ...

unicornの設計方針。 / “File: DESIGN [Unicorn: Rack HT...

unicorn.bogomips.org 06 May '12, 5pm

Simplicity: Unicorn is a traditional UNIX prefork web server. No threads are used at all, this makes applications easier t...

@MarcoSuarez You can do it on the haml site pre...

haml-lang.com 07 May '12, 4pm

Providing a fresh selection of: Download Editor Support Development #haml.try Give Haml a try online! Just type in some Ha...