30 Sep '14, 4am

Eep! @awia @BrutalPixie hey! we devs can see you

mb_chars is a multibyte safe proxy for string methods. It creates and returns an instance of the ActiveSupport::Multibyte::Chars class which encapsulates the original string. A Unicode safe version of all the String methods are defined on this proxy class. If the proxy class doesn't respond to a certain method, it's forwarded to the encapsulated string. name = 'Claus Müller' name.reverse # => "rell??M sualC" name.length # => 13 name.mb_chars.reverse.to_s # => "rellüM sualC" name.mb_chars.length # => 12 Method chaining All the methods on the Chars proxy which normally return a string will return a Chars object. This allows method chaining on the result of any of these methods. name.mb_chars.reverse.length # => 12 Interoperability and configuration The Chars object tries to be as interchangeable with String objects as possible: sorting and comparing between String and Char w...

Full article: http://api.rubyonrails.org/classes/String.html#method-i-c...

Tweets

Singapore Food Festival at Howdy Hello Hola Hey...

yennyw.wordpress.com 30 Sep '14, 2am

Howdy Hello Hola Hey Ho (H5) is known for its specialisation in Southeast Asian street food. Therefore, with the aim to de...

If Berkeley can’t pass a soda tax, who can?

If Berkeley can’t pass a soda tax, who can?

grist.org 29 Sep '14, 10am

Here in Berkeley, where I live, the signs are everywhere. Yard signs, that is, for and against a new soda tax. According t...

ICANN is pleased to announce the successful com...

domainnews.com 29 Sep '14, 3pm

ICANN : IDN ccTLD Request from the Republic of Belarus Successfully Passes String Evaluation Tweet ICANN is pleased to ann...

Mantis Shrimp Eyes Inspire Cameras to See Cancer

Mantis Shrimp Eyes Inspire Cameras to See Cancer

spectrum.ieee.org 30 Sep '14, 9pm

Millions of years of evolution have given the Mantis shrimp compound eyes to spot delicious meals that it can either spear...

How solar can become the world’s largest source of electricity via @grist

How solar can become the world’s largest source...

grist.org 29 Sep '14, 8pm

Back in May, the (typically stodgy and conservative) International Energy Agency released its annual Energy Technology Per...

How Social Campaign Audits Can Inform Your SEO

searchengineland.com 24 Sep '14, 1pm

Social has continued its growth trajectory into a key marketing channel for businesses, but what impact — if any — does it...

Can Google Determine the Level of Quality in Your Content?

Can Google Determine the Level of Quality in Yo...

seo.com 27 Sep '14, 3pm

In the recently released Searchmetrics Ranking Factors Study , the case for quality content is once again highlighted as a...

The Air Jordan 1 High OG “Chicago” Will See A Remaster In 2015 -

The Air Jordan 1 High OG “Chicago” Will See A R...

kicksonfire.com 29 Sep '14, 1am

The Air Jordan 1 High OG “Chicago” is probably the most recognizable Air Jordan to date. The classic Air Jordan 1 is the s...