Skip to content

Instantly share code, notes, and snippets.

View khelll's full-sized avatar

Khaled alHabache khelll

View GitHub Profile
testing
class Spot
include Mongoid::Document
include Mongoid::Timestamps
## Fields ##
field :name_t
## Associations ##
embeds_many :items
@@v = 1
class MyClass
@@v = 2
end
@@v #=>2
#!/usr/bin/ruby
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'growl'
# Configuration
#
# URL to get questions from
khelll@khelll-laptop:~/projects/merb-book$ git rebase mattetti/master
book-content/ar/toc.markdown: needs update
gems/bin/autospec: needs update
gems/bin/edit_json.rb: needs update
gems/bin/erubis: needs update
gems/bin/gpgen: needs update
gems/bin/maruku: needs update
gems/bin/marutex: needs update
gems/bin/merb: needs update
gems/bin/mongrel_rails: needs update