Sha256: 652869d48d1040a884b4183d3ee0e2f392678f1296d207e57592c869697379a7

Contents?: true

Size: 226 Bytes

Versions: 7

Compression:

Stored size: 226 Bytes

Contents

class User < ActiveRecord::Base
  acts_as_gmappable :address => :address
  
  attr_accessor :lat_test, :long_test, :bool_test
  
  after_initialize :set_lat_test
  
  def set_lat_test
    self.lat_test = address 
  end
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gmaps4rails-1.5.7 spec/dummy/app/models/user.rb
gmaps4rails-2.0.0.pre spec/dummy/app/models/user.rb
gmaps4rails-1.5.6 spec/dummy/app/models/user.rb
gmaps4rails-1.5.5 spec/dummy/app/models/user.rb
gmaps4rails-1.5.4 spec/dummy/app/models/user.rb
gmaps4rails-1.5.3 spec/dummy/app/models/user.rb
gmaps4rails-1.5.2 spec/dummy/app/models/user.rb