Sha256: 7ef599a5ec909096df9545997b333504dbf6d31426e205b687fbed9b1d165d6e

Contents?: true

Size: 327 Bytes

Versions: 5

Compression:

Stored size: 327 Bytes

Contents

if RUBY_VERSION == "1.9.3"
  
  require 'mongoid'

  class Place  
    include Mongoid::Document
    include Gmaps4rails::ActsAsGmappable

    acts_as_gmappable :address => :address, :position => :pos
    
    field :pos,      :type => Array
    field :address,  :type => String
    field :gmaps,    :type => Boolean
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

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