没有合适的资源?快使用搜索试试~ 我知道了~
otr-activerecord:离轨
共93个文件
rb:55个
yml:7个
rakefile:6个
需积分: 9 0 下载量 176 浏览量
2021-05-01
21:38:08
上传
评论
收藏 53KB ZIP 举报
温馨提示
主动记录 一种轻松使用ActiveRecord的简便方法。 可与Grape,Sinatra,普通的旧机架甚至是无聊的小脚本一起使用!。 默认值都是非常Railsy的( config/database.yml , db/seeds.rb , db/migrate等),但是您可以轻松更改它们。 (以前称为grape-activerecord 。)支持: ActiveRecord 6 ActiveRecord 5 ActiveRecord 4 如何使用 1.将其添加到您的Gemfile gem "otr-activerecord" 2.配置您的数据库连接 加载了gem之后,请使用以下示例之一将有关数据库配置的信息告知OTR::ActiveRecord : OTR::ActiveRecord.configure_from_file! "config/database.yml" OTR::
资源推荐
资源详情
资源评论
收起资源包目录
otr-activerecord-master.zip (93个子文件)
otr-activerecord-master
lib
tasks
otr-activerecord.rake 3KB
otr-activerecord.rb 283B
otr-activerecord
compatibility_4.rb 867B
compatibility_6.rb 936B
middleware
query_cache.rb 779B
connection_management.rb 616B
activerecord.rb 2KB
compatibility_5.rb 936B
defaults.rb 579B
version.rb 83B
Rakefile 51B
examples
rakefile-activerecord6.0
Gemfile 152B
Rakefile 1KB
data
seeds.rb 75B
schema.rb 1KB
config.yml 353B
migrate
20160731142314_create_widgets.rb 180B
20171128231939_create_splines.rb 193B
20180423164820_foo.rb 136B
Gemfile.lock 952B
.gitignore 25B
environment.rb 536B
rakefile-activerecord5.2
Gemfile 147B
Rakefile 1KB
data
seeds.rb 75B
schema.rb 1KB
config.yml 323B
migrate
20160731142314_create_widgets.rb 180B
20171128231939_create_splines.rb 193B
20180423164820_foo.rb 136B
Gemfile.lock 890B
.gitignore 25B
environment.rb 536B
rakefile-activerecord5
Gemfile 148B
Rakefile 1KB
data
seeds.rb 75B
schema.rb 963B
config.yml 322B
migrate
20160731142314_create_widgets.rb 180B
Gemfile.lock 844B
.gitignore 25B
environment.rb 242B
grape-activerecord5
config.ru 151B
database
seeds.rb 75B
schema.rb 963B
migrations
20160730195332_create_widgets.rb 180B
lib
.keep 0B
Gemfile 354B
Rakefile 464B
config
application.rb 391B
database.yml 334B
environment.rb 300B
test
test_helper.rb 303B
models
widgets_test.rb 169B
fixtures
widgets.yml 88B
support
helpers.rb 110B
test_case.rb 535B
api_test_case.rb 287B
routes
v1
widgets_test.rb 171B
Gemfile.lock 2KB
.gitignore 29B
app
models
widget.rb 38B
entities
v1
widget.rb 204B
routes
v1.rb 142B
v1
widgets.rb 197B
grape-activerecord4
config.ru 151B
db
seeds.rb 75B
schema.rb 981B
migrate
20140913065838_create_widgets.rb 175B
lib
.keep 0B
Gemfile 354B
Rakefile 453B
config
application.rb 391B
database.yml 316B
environment.rb 300B
test
test_helper.rb 303B
models
widgets_test.rb 169B
fixtures
widgets.yml 88B
support
helpers.rb 110B
test_case.rb 535B
api_test_case.rb 287B
routes
v1
widgets_test.rb 171B
Gemfile.lock 2KB
.gitignore 23B
app
models
widget.rb 38B
entities
v1
widget.rb 204B
routes
v1.rb 142B
v1
widgets.rb 197B
LICENSE 1KB
README.md 3KB
otr-activerecord.gemspec 885B
.gitignore 40B
CHANGELOG.md 1KB
共 93 条
- 1
资源评论
应聘
- 粉丝: 27
- 资源: 4568
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功