public
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Search Repo:
Using Preference model to set mailer params
Michael Hartl (author)
Tue Apr 15 16:43:30 -0700 2008
commit  fd47d917f0869f5035e00553fad9a57d8b817f8c
tree    efaee57ecfdb5f55e4e6af92c99d1b5d6341be78
parent  f44671adc198d3e00ce61f06d401eddb0b77d5fd
...
12
13
14
 
 
15
16
17
...
12
13
14
15
16
17
18
19
0
@@ -12,6 +12,8 @@
0
 #
0
 
0
 class Preference < ActiveRecord::Base
0
+ attr_accessible :email_domain, :smtp_server, :email_notifications
0
+
0
   validates_presence_of :email_domain, :if => :email_notifications
0
   validates_presence_of :smtp_server, :if => :email_notifications
0
   

Comments

    No one has commented yet.