Microverse表单:Rails中“表单”的简单实现

时间:2021-02-13 06:39:01
【文件属性】:
文件名称:Microverse表单:Rails中“表单”的简单实现
文件大小:76KB
文件格式:ZIP
更新时间:2021-02-13 06:39:01
Ruby 形式 在这个项目中,我们构建了一个Rails应用程序来演示在Rails中使用Forms的知识。 项目描述可以在找到。 Ruby版本-2.7.0 Rails版本-5.2.4.3 系统依赖性-必需的gem与Gemfile捆绑在一起 配置-在项目目录中,从命令行(终端)运行bundle install以安装所有必需的gem。 创建数据库-克隆项目后,导航到项目目录( cd Microverse-Forms ),然后执行以下命令rails db:migrate或bin/rails db:migrate来“迁移”数据库。 此项目涉及以下操作: 安装Rails应用程序。 添加用户模型,添加帖子模型,添加评论模型。 迁移数据库。 将验证添加到所有模型。 s :bust_in_silhouette: 艾哈迈德·托哈米(Ahmed Tohamy) : 推特: Linkedin: :bust_in_silhouette: 星期日Uche Ezeil
【文件预览】:
Microverse-Forms-develop
----.github()
--------workflows()
----log()
--------.keep(0B)
----public()
--------500.html(2KB)
--------robots.txt(98B)
--------422.html(2KB)
--------favicon.ico(0B)
--------apple-touch-icon.png(0B)
--------apple-touch-icon-precomposed.png(0B)
--------404.html(2KB)
----config.ru(130B)
----db()
--------seeds.rb(400B)
--------schema.rb(1022B)
--------migrate()
----tmp()
--------.keep(0B)
----.ruby-version(5B)
----lib()
--------tasks()
--------assets()
----Gemfile(2KB)
----.stylelintrc.json(265B)
----Rakefile(258B)
----config()
--------initializers()
--------application.rb(697B)
--------environments()
--------storage.yml(1KB)
--------locales()
--------boot.rb(238B)
--------spring.rb(142B)
--------cable.yml(198B)
--------credentials.yml.enc(464B)
--------puma.rb(1KB)
--------routes.rb(246B)
--------database.yml(594B)
--------environment.rb(159B)
----test()
--------test_helper.rb(290B)
--------integration()
--------application_system_test_case.rb(157B)
--------models()
--------controllers()
--------fixtures()
--------helpers()
--------mailers()
--------system()
----README.md(2KB)
----.rubocop.yml(1KB)
----Gemfile.lock(5KB)
----.gitignore(709B)
----storage()
--------.keep(0B)
----app()
--------views()
--------models()
--------controllers()
--------helpers()
--------channels()
--------mailers()
--------assets()
--------jobs()
----bin()
--------setup(988B)
--------bundle(156B)
--------yarn(294B)
--------rake(240B)
--------rails(291B)
--------update(850B)
--------spring(537B)
----package-lock.json(95KB)
----package.json(251B)
----vendor()
--------.keep(0B)

网友评论