Skip to content

Instantly share code, notes, and snippets.

View funglaub's full-sized avatar
🏠
Working from home

Florian Unglaub funglaub

🏠
Working from home
  • Nürnberg, Germany
View GitHub Profile
@lmmendes
lmmendes / tabless.rb
Created March 25, 2011 16:42
Rails 3 tableless model implementation
# based on a Ryan Bates article http://railscasts.com/episodes/219-active-model
class Tableless
include ActiveModel::Validations
include ActiveModel::Conversion
extend ActiveModel::Naming
def self.attr_accessor(*vars)
@attributes ||= []
@gutenye
gutenye / ember-with-middleman.md
Last active December 10, 2015 01:58
Write Ember.js App With Middleman

I. Create a Middleman project with middleman-ember-template

$ middleman init hello --template=ember

II. Install ember.js package

$ bower install ember