Skip to content

Commit

Permalink
frindly id e geo gems
Browse files Browse the repository at this point in the history
  • Loading branch information
nofxx committed May 3, 2009
1 parent 48530d5 commit e151106
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/models/article.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#
class Article < ActiveRecord::Base
belongs_to :user
has_friendly_id :title
has_friendly_id :title, :use_slug => true

validates_presence_of :user
validates_presence_of :title, :body
Expand Down
2 changes: 1 addition & 1 deletion app/models/person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Person < ActiveRecord::Base
has_one :user

has_money :revenue
has_friendly_id :name
has_friendly_id :name, :use_slug => true
autocomplete :dad, :mom, :spouse, :birthplace

symbolize :blood, :in => [:"A+", :"A-", :"O+", :"O-", :"B+", :"B-", :"AB+", :"AB-"], :i18n => false
Expand Down
4 changes: 2 additions & 2 deletions config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
config.i18n.default_locale = "pt"

config.gem "postgres"
config.gem "postgis_adapter"
config.gem "authlogic"
config.gem "haml"
config.gem "rghost"
config.gem "GeoRuby", :lib => "geo_ruby"
config.gem "nofxx-georuby", :lib => "geo_ruby"
config.gem "nofxx-postgis_adapter", :lib => "postgis_adapter"
config.gem "bcrypt-ruby", :lib => "bcrypt"
config.gem "thoughtbot-paperclip" , :lib => "paperclip"
config.gem "giraffesoft-is_taggable", :lib => "is_taggable"
Expand Down

0 comments on commit e151106

Please sign in to comment.