浏览代码

Changed datamapper gem version

pull/3/head
Adrian Short 14 年前
父节点
当前提交
cd56e1dab2
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. +1
    -1
      .gems
  2. +2
    -0
      lib/models.rb

+ 1
- 1
.gems 查看文件

@@ -1,2 +1,2 @@
sbfaulkner-sinatra-helpers -s http://gems.github.com
datamapper --version '>= 1.0.0'
datamapper --version '0.10.1'

+ 2
- 0
lib/models.rb 查看文件

@@ -1,4 +1,5 @@
require 'rubygems'
gem "datamapper", "0.9.11"
require 'dm-core'
require 'dm-validations'
require 'dm-timestamps'
@@ -79,6 +80,7 @@ class Supplier
has n, :payments, :order => ['d']
has n, :services, { :through => :payments, :order => ['name'] }
has n, :directorates, { :through => :payments }
before :save, :slugify



正在加载...
取消
保存