Displaying 1 result from an estimated 1 matches for "contacttype".
Did you mean:
contact_type
2010 Jun 08
9
[Rails Heroku] Problem with saving object (on heroku hosting)
Hi All,
I have some strange problem which appears only on heroku hosting 2.3.5
default stack (not on my local computer)
I have some models. Here they are:
class Contact < ActiveRecord::Base
belongs_to :user
belongs_to :type, :class_name => "ContactType", :foreign_key =>
"type_id"
validates_presence_of :name, :on => :create, :message => "can''t be
blank"
validates_presence_of :type, :on => :create, :message => "can''t be
blank"
validates_presence_of :number, :on => :create...