rails-url-helpers-lab-v-000-源码

上传者: 42151599 | 上传时间: 2021-02-19 17:07:28 | 文件大小: 41KB | 文件类型: ZIP
Rails URL帮助器实验室 目标 使用路由助手生成URL 使用:as使用隐式和显式名称绘制路由 用变量绘制路线 使用需要变量的路由助手生成URL 指示 在本实验中,您将开始集成页面之间的链接功能,从而为Flatiron School建立学生管理仪表板。 当前正在通过四个测试,其余的需要实现代码才能开始通过。 为了完成本实验,您将需要完成以下任务: 用户应该能够导航到/students以查看所有学生。 用户应该能够在index页面上单击该学生的姓名,并被带到该特定学生的show页面。 在students表中创建一个名为active的新布尔属性。 (提示:您可能必须四处寻找设置( ahem )默认值(应默认为false)的最佳方法。 用户应该能够转到/students/:id/activate来在true和false之间切换其active属性。 (这只是激活路线,而不是实际视图。

文件下载

资源详情

[{"title":"( 67 个子文件 41KB ) rails-url-helpers-lab-v-000-源码","children":[{"title":"rails-url-helpers-lab-v-000-master","children":[{"title":"bin","children":[{"title":"update <span style='color:#111;'> 782B </span>","children":null,"spread":false},{"title":"rake <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"setup <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"spring <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"rails <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"bundle <span style='color:#111;'> 129B </span>","children":null,"spread":false}],"spread":true},{"title":"vendor","children":[{"title":"assets","children":[{"title":"javascripts","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"stylesheets","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"config","children":[{"title":"locales","children":[{"title":"en.yml <span style='color:#111;'> 634B </span>","children":null,"spread":false}],"spread":true},{"title":"database.yml <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"initializers","children":[{"title":"filter_parameter_logging.rb <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":"assets.rb <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":"wrap_parameters.rb <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"new_framework_defaults.rb <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"backtrace_silencers.rb <span style='color:#111;'> 404B </span>","children":null,"spread":false},{"title":"session_store.rb <span style='color:#111;'> 137B </span>","children":null,"spread":false},{"title":"cookies_serializer.rb <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"application_controller_renderer.rb <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"mime_types.rb <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"inflections.rb <span style='color:#111;'> 647B </span>","children":null,"spread":false}],"spread":true},{"title":"puma.rb <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"application.rb <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"routes.rb <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"boot.rb <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"spring.rb <span style='color:#111;'> 111B </span>","children":null,"spread":false},{"title":"cable.yml <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"secrets.yml <span style='color:#111;'> 965B </span>","children":null,"spread":false},{"title":"environment.rb <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"environments","children":[{"title":"test.rb <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"development.rb <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"production.rb <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"db","children":[{"title":"seeds.rb <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"migrate","children":[{"title":"001_create_students.rb <span style='color:#111;'> 196B </span>","children":null,"spread":false}],"spread":true},{"title":"schema.rb <span style='color:#111;'> 983B </span>","children":null,"spread":false}],"spread":true},{"title":"Rakefile <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"models","children":[{"title":"student.rb <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"concerns","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":[{"title":"images","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"javascripts","children":[{"title":"application.js <span style='color:#111;'> 661B </span>","children":null,"spread":false}],"spread":true},{"title":"stylesheets","children":[{"title":"application.css <span style='color:#111;'> 686B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"controllers","children":[{"title":"concerns","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"students_controller.rb <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"application_controller.rb <span style='color:#111;'> 204B </span>","children":null,"spread":false}],"spread":true},{"title":"views","children":[{"title":"layouts","children":[{"title":"application.html.erb <span style='color:#111;'> 295B </span>","children":null,"spread":false}],"spread":true},{"title":"students","children":[{"title":"index.html.erb <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"show.html.erb <span style='color:#111;'> 29B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"mailers","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"helpers","children":[{"title":"application_helper.rb <span style='color:#111;'> 29B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CONTRIBUTING.md <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"Gemfile <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"spec","children":[{"title":"models","children":[{"title":"student_spec.rb <span style='color:#111;'> 420B </span>","children":null,"spread":false}],"spread":true},{"title":"features","children":[{"title":"student_spec.rb <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"rails_helper.rb <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"spec_helper.rb <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE.md <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 642B </span>","children":null,"spread":false},{"title":".learn <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"tasks","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"public","children":[{"title":"404.html <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"robots.txt <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"500.html <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"422.html <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"config.ru <span style='color:#111;'> 153B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明