Skip to content

Commit

Permalink
bumped v
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianmandrup committed May 8, 2011
1 parent e8023b5 commit 276695e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.9.1
0.9.2
28 changes: 19 additions & 9 deletions lib/generators/cream/app/app_generator.rb
Expand Up @@ -78,18 +78,28 @@ def create_guest_user
# attr_accessor :login, :password
# attr_accessor :username, :email
# attr_accessor :country, :country_code, :language, :language_code, :city
def self.create options = {}
include ActiveModel::Validations
include ActiveModel::Conversion
extend ActiveModel::Naming
def initialize(attributes = {})
attributes.each do |name, value|
send("\#{name}=", value)
end
end
def self.create options = {}
Guest.new options
end
def save
false
end
def save!
false
end
# def save
# false
# end
#
# def save!
# false
# end
def is? role
role == :guest
Expand Down

0 comments on commit 276695e

Please sign in to comment.