【文件属性】:
文件名称:awesome_rails_console:Rails 控制台增强 - 让你的 Rails 控制台很棒
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-30 05:43:40
Ruby
使您的Rails Console很棒
这个 gem 的灵感来自 、 和 。
awesome_rails_console的优点是:
更少的宝石依赖关系(仅使用除prail-rails和awesome_print之外的rails。其余都是可选的)
更简单的提示修改(类似于你已经熟悉的默认提示)
无需担心配置(因为反正没有太多选择)
安装
宝石档案:
gem 'awesome_rails_console'
在终端:
bundle
rails g awesome_rails_console:install # This will include dependency gems to the gemfile
# you should review your Gemfile at this point (and adjust if needed)
bundle
spring stop
【文件预览】:
awesome_rails_console-master
----lib()
--------generators()
--------awesome_rails_console()
--------awesome_rails_console.rb(99B)
----Gemfile(106B)
----awesome_rails_console.gemspec(1KB)
----spec()
--------awesome_rails_console_spec.rb(201B)
--------spec_helper.rb(91B)
----Rakefile(28B)
----.travis.yml(30B)
----LICENSE(1KB)
----README.md(2KB)
----.rspec(31B)
----.gitignore(87B)
----bin()
--------console(346B)
--------setup(115B)
----CHANGELOG.md(1019B)