Skip to content

Instantly share code, notes, and snippets.

View PlasticLizard's full-sized avatar

Nathan Stults PlasticLizard

View GitHub Profile
# These are my notes from the PragProg book on CoffeeScript of things that either
# aren't in the main CS language reference or I didn't pick them up there. I wrote
# them down before I forgot, and put it here for others but mainly as a reference for
# myself.
# assign arguments in constructor to properties of the same name:
class Thingie
constructor: (@name, @url) ->
# is the same as:
testclasses.rb
class Expense
include MongoMapper::Document
key :expense_id, ObjectId
key :amount, Float #FloatToDecimalPrecision
key :date, Time
key :notes, String
key :tags, Array # => company
key :type, String
Rails CMS alternatives
======================
Note: project activity was checked on 11/26/09.
Active projects:
---------------
adva-cms
repo: http://github.com/svenfuchs/adva_cms/
site: http://adva-cms.org/
Last update: 11/24/09