26Blog

I build web applications using Ruby on Rails.
Mar 9 ’11

gilt-tech:

Yesterday Jeremy Ashkenas came by Gilt to talk about CoffeeScript, a language he’s been working on since 2009. CoffeeScript is a simple language with syntactic roots in Python and Ruby. It compiles into JavaScript and adds interesting features including array comprehensions. CoffeeScript is arguably more readable than JavaScript.

Jeremy gave a great overview of CoffeeScript and who is using it. He gets into detail on the Syntax of the language and also discusses its implementation and how to go about creating your own language.

5 notes (via gilt-tech)

Jan 21 ’11

Jan 6 ’11

attr_accessor_with_default

rubyquicktips:

Here’s a method I haven’t seen before: attr_accessor_with_default

This ActiveSupport method allows you to set a default value for an attribute accessor:

class Person
  attr_accessor_with_default :age, 25
end

some_person.age    # => 25

some_person.age = 26
some_person.age    # => 26

You can even pass in a block.

(Source: rubydoc.info)

19 notes (via rubyquicktips & rubyflare)

Oct 15 ’10

2 notes (via dancroak)

Oct 6 ’10

45 notes (via thechangelog)

Aug 22 ’10

10 notes (via thechangelog)

Aug 14 ’10

41 notes (via thechangelog)

Aug 9 ’10

Building Large jQuery Applications

View more presentations from Rebecca Murphey.

Aug 8 ’10

13 notes (via thechangelog)

Aug 5 ’10

Chris Eppstein’s HAML/SASS Progress Bar

Awesome.

Progress Bar