首页 开发技术 其它     /    rails-form_tag-lab-v-000-源码

rails-form_tag-lab-v-000-源码

上传者: weixin_42169245 | 上传时间:2017/10/25 12:53:01 | 文件大小:42KB | 文件类型:ZIP
rails-form_tag-lab-v-000-源码
Railsform_tag实验室目标使用form_tag构建功能性的Rails表单将路由助手作为参数传递给form_tag将带有方法的选项散列传递给form_tag使用text_field_tag和其他表单控件来创建输入构建一个new动作,该动作将呈现一个提交给create动作的表单指示该实验室当前失败的两个规格位于specs/features/student_spec.rb的formpage功能内。
在本实验中,您需要构建一个表单来创建一个新学生,将表单重定向回到new视图模板(通常,create操作会将其重定向到index),然后将表单参数打印到屏幕上。
以下是一些要记住的事项:绘制一个new并为students资源create路线将学生值打印到视图模板页面要记住的关键查看测试以查看您应该使用哪些字段值确保使用form_tag协助器资源在L 本软件ID:15365734

文件下载

资源详情

[{"title":"(69个子文件42KB)rails-form_tag-lab-v-000-源码","children":[{"title":"rails-form_tag-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;'>507B</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;'>233B</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;'>965B</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;'>162B</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;'>126B</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":"Gemfile.lock <span style='color:#111;'>5.15KB</span>","children":null,"spread":false},{"title":".rspec <span style='color:#111;'>11B</span>","children":null,"spread":false},{"title":"spec","children":[{"title":"models","children":[{"title":"student_spec.rb <span style='color:#111;'>314B</span>","children":null,"spread":false}],"spread":true},{"title":"features","children":[{"title":"student_spec.rb <span style='color:#111;'>1.65KB</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;'>106B</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"tasks","children":[{"title":".keep <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":false},{"title":"assets","children":[{"title":".keep <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"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":false},{"title":"README.md <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"config.ru <span style='color:#111;'>153B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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