10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/active_record/acts/muck_profile.rb', line 10
def acts_as_muck_profile(options = {})
belongs_to :user
has_attached_file :photo,
:styles => { :medium => "300x300>",
:thumb => "100x100>",
:icon => "50x50>",
:tiny => "24x24>" },
:default_url => "/images/profile_default.jpg"
class_eval " attr_protected :created_at, :updated_at, :photo_file_name, :photo_content_type, :photo_file_size\n EOV\n\n include ActiveRecord::Acts::MuckProfile::InstanceMethods\n extend ActiveRecord::Acts::MuckProfile::SingletonMethods\n\nend\n"
|