Search results “Rails resources as”
Rails Resources
This video will help you get started with rails resources. It will show you how to do a basic form submission using rails helpers and render the results to the browser.
Views: 658 Joyce John
Rails 5 Routing Basics
The basics of collection and member routing with one model and one controller. Covers routes.rb file, resources based routes, the link_to view helper, and more. Associated GitHub Repo: https://github.com/StungEye-RRC/Rails-5-Routing-Basics
Views: 1906 Kyle Geske
Rails Nested Resources
An introduction to implementing RESTful nested resources in Ruby on Rails. This video is an edited version of a live lesson given by Gilbert Garza at MakerSquare, a Software Development School with locations in Austin and San Francisco. Check us out at: www.makersquare.com :)
Views: 8970 Hack Reactor
Edit Nested Resources in a Rails Application
Learn how to edit nested resources in a Ruby on Rails application. In this update to the Introduction to Rails course you'll learn how to edit purchases nested inside of Invoices and also how to refactor the code to conform to best practices and remove duplicate code.
Views: 1886 edutechional
18- Ruby on Rails || Resources Route? ماهي
========== اعمل سبسكرايب واستمع لاخر الاخبار انظم معنا على تواصل الاجتماعي https://www.youtube.com/c/hussienahmmed/about تصفح قائمة الدورات من هنا https://www.youtube.com/user/alxs1aa/playlists ------- جميع حقوق النشر محفوظة للقناة
Views: 1086 TheNewBaghdad
Ruby on Rails Tutorial Part 3 - Routing
In this Ruby on Rails Tutorial we'll learn the basics of resource routing in rails for the seven restful routes, actions, and their named routes. In this video I'm using Rails 3.1 and Ruby 1.9.2 on Linux. The source code for this video should be available on my site within a few days: http://www.andrews-custom-web-design.com/
Views: 51637 andrewperk
RailsConf 2006 - Keynote: Resources on Rails by David Heinemeier Hansson
Source: http://www.vcasmo.com/video/ruby/689 Edited together into a single video and mirrored here on YouTube for when the original inevitably disappears.
Views: 4714 Adam Wathan
Rails 6: How to Use Nested Resources With a Shared Form Partial
As I'm learning how to build web apps in Ruby on Rails 6 (this info works for Rails 5.2 and earlier versions too)... I constantly get tripped up when working with nested resources. Nested resources are super common—basically they are parent-child relationships between models. What trips me up is using a single form partial, placed in multiple views on a nested resource. In this example, I created nested resources for Bands that have many Albums. You can view a band (the band's Show page), and on that page, view all of the albums by that band. You can add an album to a band straight from the band's page, and you can edit each individual album shown there on the band's page—That is especially useful if you plan to build an inline-editing form system later on. In the video, I'll walk through how I wired up the routes, the controllers, the views, the form_with tag, passing local variables into it from 3 different instances of rendering the form partial. Hopefully this video helps you understand this. It took me some time to wrap my head around it!
Views: 130 Brian Casel
19.- Curso Ruby on Rails 4 desde cero - Nested resources
⚡️Únete a Premium (+100 cursos) aquí: https://codigofacilito.com/suscripcion --- Clic aquí para todos nuestros cursos y tutoriales: ►http://codigofacilito.com/ Síguenos en Twitter: ►http://twitter.com/codigofacilito "Like" en Facebook: ►http://facebook.com/codigofacilito ----- MÁS CURSOS de CódigoFacilito: Curso para crear una página web en HTML5: ►http://bit.ly/PaginaWebHTML5 Curso de Ruby ► http://bit.ly/RubyFacilito Curso de Ruby on Rails ► http://bit.ly/RailsFacilito Curso de Python: ►http://bit.ly/PythonFacilito Curso de HTML5: ►http://bit.ly/HTML5Facilito Curso de WordPress (Crea un tema desde cero): ► http://bit.ly/WordPressFacilito Curso de CSS: ►http://bit.ly/CSSFacilito Curso de PHP: ►http://bit.ly/PHPFacilito Curso de JavaScript y jQuery: ►http://bit.ly/jQueryFacilito Curso de Java: ►http://bit.ly/JavaFacilito Curso de C++: ►http://bit.ly/CFacilito Curso de Xcode: ►http://bit.ly/XcodeFacilito ----- Sitio web: ►http://codigofacilito.com/ Síguenos en Twitter: ►http://twitter.com/codigofacilito "Like" en Facebook: ►http://facebook.com/codigofacilito Suscríbete en YouTube: ►http://bit.ly/qHEewR Únete al Newsletter: ►http://bit.ly/CorreoFacilito ----- ►¿Quiéres ser tutor en CódigoFacilito? Escríbeme a alejandroruibal arroba gmail.com y cuéntame porqué te gustaría participar en nuestro proyecto, qué curso te gustaría impartir y un poco de tu experiencia como programador. Es una excelente manera de compartir tus conocimientos con la comunidad mientras al mismo tiempo generas un ingreso extra.
Views: 13908 codigofacilito
Что такое REST (на примере Ruby on Rails)
! [ Не пропустите наш интенсив по Ruby on Rails: http://goodprogrammer.ru/rails-summer-16 ] REST-архитектура на пальцах, главная идея на примере одного из популярнейших веб-фреймворков Ruby on Rails. Любой веб-разработчик рано или поздно сталкивается с проблемой, по каким путям (url) какие действия в его приложении должны быть. Чуть позже он узнает, что есть такая архетиктура, как REST (REpresentational State Transfer). В одном из отрывков курса по Ruby on Rails мы рассказываем том, что это такое и почему это так здорово. Другие курсы: Настоящее программирование для всех I: http://bit.ly/1RsD9Ec Настоящее программирование для всех II: http://bit.ly/1OOIUw8 ---------------------- Темы видео: rest rest ruby on rails rest архитектура что такое rest rest architecture representational state transfer rest это как устроены routes в ror rest ror rails routes rails resources resful application интенсив хорошего программиста
How to Use Nesting in a Ruby on Rails Application
In this video I walk through one of the more complex topics of the course and explain how to integrate nesting. This involves updating the file structure, re-configuring the routes file, and updating both the controllers and views. The code for this version of the application can be accessed from its git repository here: https://github.com/jordanhudgens/enterpriseape/tree/d815bd4adde8877eab043987817634529c06a447
Views: 8366 edutechional
JSON API with Rails 5
Building a Rails 5 API following the JSON API spec - comparing and contrasting using ActiveModelSerializers and JSONAPI::Resources.
Views: 19570 Jon Evans
Rails: Namespacing our Controllers Part 1
We begin modularizing our controllers. We begin extracting our authentication system into its own module and refactoring parts of the code to support the new module.
Views: 2990 Codemy School
Creating nested routes in Rails
Learn how to integrate nested routes inside of a Ruby on Rails application. Go through the full guide here: http://rails.devcamp.com/learn-ruby-on-rails-from-scratch/ruby-gems-and-advanced-development-features/guide-to-nested-routes-in-rails
Views: 3131 edutechional
How to Create Custom Scaffold Templates in Ruby on Rails
Hi, My name is Andy Leverenz and I work as a Product Designer at Dribbble. For fun, I design, code, and write. Check out my blog called Web-Crunch https://web-crunch.com where I publish design and development tutorials with the occasional vlog. ==================== Ruby on Rails is such a powerful framework. It has its own CLI of which harnesses what are known as "generators". These generators can quickly scale up resources for your app with a few keystrokes. In this post learn how to create custom scaffold templates in Ruby on Rails ### Conventions get you far Having made quite a few brand new Ruby on Rails apps in my time I always find the default look and feel of scaffolding out a resource a bit lackluster. By default, Rails generates a ton of files and stylesheets associated with a given model you pass on the command line when creating a new "scaffold". Example: $ rails generate scaffold Post title:string body:text The command above will create an entire CRUD-like concept around the `Post` model in a given rails application. To do this it generates a number of files which include everything from stylesheets to test-specific files. It also creates an Active Record migration file which will later be migrated into a database. This ultimately means a new table is born called `posts`. This concept is a huge time saver. This is especially true if you're just prototyping an idea or testing a theory. ### Extending conventions Within a typical scaffold, you get an entire view folder with associated views for the restful routing that gets created. app/views/posts/_form.html.erb app/views/posts/edit.html.erb app/views/posts/index.html.erb app/views/posts/new.html.erb app/views/posts/show.html.erb Here we get the bare bones views with the logic they need to make the app work as intended. Having run so many scaffolds in my time I've come to realize I hate the default look and feel. Can this be changed? The answer to that is YES! Continue reading here: https://web-crunch.com/how-to-create-custom-scaffold-templates-in-ruby-on-rails ==================== 📰 Subscribe: https://www.youtube.com/user/webcrunchblog?sub_confirmation=1 💎🛤 NEW COURSE: HELLO RAILS - Get notified https://hellorails.io 💻 Previously published at: https://web-crunch.com/how-to-create-custom-scaffold-templates-in-ruby-on-rails 💻 Check out the blog: https://web-crunch.com 🦄 Check out my personal site: https://justalever.com 🚀 Links: Weekly Newsletter: https://web-crunch.com/subscribe Twitter: https://twitter.com/webcrunchblog Twitter(Personal Account): https://twitter.com/justalever Facebook: https://facebook.com/webcrunchblog Dribbble: https://dribbble.com/justalever Github: https://github.com/justalever Medium: https://medium.com/the-web-crunch-publication 📘Check out my book on UX Design: "LUXD: Learn User Experience Design" https://web-crunch.com/books/luxd 📙 Check out my FREE book on Tumblr Theming: "Pro Tumblr Theming" https://web-crunch.com/books/ptt 💯 Need awesome web hosting? Check out cloudways. They allow me to use a variety of hosting providers and build apps with ease: http://bit.ly/webcrunchhosting 🌊 Need more advanced hosting for Rails, PHP, Node, or other projects? Digital Ocean has you covered. https://m.do.co/c/ee243ee15648 💎 Ruby on Rails devs, Try HatchBox.io. You'll save upwards of 50% compared to Heroku. I use it and love it! https://hatchbox.io/?via=andy ☕️ Or buy me a coffee https://www.buymeacoffee.com/webcrunch
Views: 328 Web-Crunch
Simple Ruby on Rails 5 REST API From Scratch
In this video I will show you how to create a very simple REST API from scratch using Ruby on Rails 5. We will be able to make requests to perform CRUD on articles stored in a MySQL database. We will install the mysql2 gem along with the faker gem to randomly generate content. CODE: Code for this video https://github.com/bradtraversy/simple-rails-rest SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support: http://www.paypal.me/traversymedia http://www.patreon.com/traversymedia FOLLOW TRAVERSY MEDIA: http://www.facebook.com/traversymedia http://www.twitter.com/traversymedia http://www.instagram.com/traversymedia MY EDUONIX COURSES: Please use affiliate links from website below http://www.traversymedia.com/eduonix-courses
Views: 59263 Traversy Media
Episode #070 - Nested Forms from Scratch
Learn how to handle multiple models in a single form with accepts_nested_attributes_for and learn how to add and remove nested records through JavaScript. https://www.driftingruby.com/episodes/nested-forms-from-scratch
Views: 10613 Drifting Ruby
Databases & Rails: Wk5 Routes as Resources
More: http://schneems.com/ut-rails
Views: 1105 schneems
Ruby on Rails - Learning Resources
Resources: AJAX & Stripe Tutorials - https://www.devsprout.io/ Ruby - https://pine.fm/LearnToProgram/chap_00.html Ruby - https://www.youtube.com/watch?v=Dji9ALCgfpM Ruby - https://hackr.io/tutorials/learn-ruby Rails - http://guides.rubyonrails.org/getting_started.html Rails - https://www.railstutorial.org/book C9.io - https://wdb-c9-invite.herokuapp.com/
Views: 610 Ian Schoonover
Analyzing the Rails Process:Routing with Resources
Part 1: https://www.youtube.com/watch?v=8_aBgFqbCto Part 2: https://www.youtube.com/watch?v=XOFRMW9dShs&t=456s
Views: 11 R.I.S.E.
How I Learned Ruby on Rails (Best Resources & Daily Habits)
*Rails Tutorial* by Michael Hartl: http://railstutorial.org *Practicing Rails* by Justin Weiss: https://www.justinweiss.com/practicing-rails/ my biz: http://www.triumph.ai my blog: http://www.kyleduck.com
Views: 1484 Kyle Duck
Rails 5 JSON API with JSONAPI-resources
I wanted to try this gem out. Here's a super basic API I created to do just that :) jsonapi-resources: https://github.com/cerebris/jsonapi-resources CURL COMMANDS: // For creating a user: curl -i -H "Accept: application/vnd.api+json" -H 'Content-Type:application/vnd.api+json' -X POST -d '{"data": {"type":"users", "attributes":{"name":"Consuela"}}}' http://localhost:3000/users // For creating a post that belongs to contact with id of 1: curl -i -H "Accept: application/vnd.api+json" -H 'Content-Type:application/vnd.api+json' -X POST -d '{ "data": { "type": "posts", "relationships": { "user": { "data": { "type": "users", "id": "1" } } }, "attributes": { "title": "Laughter Post", "content": "HAHAHA" } } }' http://localhost:3000/posts
Configuring redirect routes for nested resources in Rails
Learn how to integrate the ability to redirect users in the controller for a nested resource in a Ruby on Rails app. Go through the full Ruby on Rails guide here: http://rails.devcamp.com/learn-ruby-on-rails-from-scratch/ruby-gems-and-advanced-development-features/how-to-configure-redirect-routes-for-nested-resource-in-rails
Views: 1250 edutechional
Custom routes for pages in a Rails application
Go through the full Ruby on Rails bootcamp here: http://rails.devcamp.com/learn-ruby-on-rails-from-scratch/rails-routing-guide/custom-routes-for-pages-in-a-rails-application In order to have custom pages show up in a Rails application you need to draw routes in the config/routes.rb file, learn how to implement these custom routes in this video.
Views: 1953 edutechional
Saving values in the backend of a nested resource in Rails
Leverage the controller in order to save additional attributes inside of a Rails nested form. You can go through the full guide here: http://rails.devcamp.com/learn-ruby-on-rails-from-scratch/ruby-gems-and-advanced-development-features/how-to-save-values-in-the-backend-of-a-nested-resource-in-rails
Views: 958 edutechional
Live Coding 1-3: Improving the Rails Bank Application with more CRUD + Nested Resources
In this live coding session, we improve the bank application by adding CRUD functionality for bank accounts from the client resource by using nested resources. We see the difference in using simple_form for usual CRUD (top level/root level resource CRUD) and with using nested resources. Patreon: https://www.patreon.com/user?u=3746811
Views: 1149 devlogs
Learn Ruby on Rails in 2018! #7: Understanding Rails resources and implementing "index"
Let's learn the wonderful web application framework Ruby on Rails. In 2018, it's still an incredibly compelling tool for building powerful web applications. In this episode, we'll use the Rails resource routing, and list our todos using the "index" route. Find the source code: https://github.com/imkmf/todoapp Follow me on Twitter: https://twitter.com/imkmf Ask questions on Twitter or in the comments - thanks for watching! Want to support my work of educating people online? Check out my project Byteconf - free developer conferences for everyone. Support us on Patreon, too: https://patreon.com/byteconf
Views: 45 signalnerve
Nested resources in Rails 2.0.2
For more Ruby/Rails screencasts, checkout https://rubyplus.com/episodes. Nested resources in Rails 2.0.2.
Views: 140 bparanj
Learn Ruby the Holdaway: 2 Hour Dive into Rails for Developers
Additional Resources: The BEST place to learn Rails - https://www.railstutorial.org/book/frontmatter Advanced/Specific Rails Lessons - http://railscasts.com Level up your Ruby - https://learnrubythehardway.org/book/
Views: 1496 Lambda School
Rails Routes Tutorial - A MUST For RoR Devs :)
In this Ruby on Rails tutorial, we cover the core aspects of Rails routing. Starting with the basics, we will demonstrate standard HTTP requests, followed by redirects, :id and more advanced routing topics. An excellent primer for a new Ruby on Rails developer. Please Consider Supporting This Channel via Subscribing: http://goo.gl/HDo2G0 -- Extra Content I Suggest -- Book: "Clean Code" - Robert C. Martin - https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882/?tag=devfactor-20 Sign Up for Monthly (non-spam) updates: http://www.devfactor.io Support Us:https://www.patreon.com/devfactor Follow me on Twitter: http://www.twitter.com/andhofmt #programming #code
Views: 4118 DevFactor
RESTful Routing in Rails
Go through the full Rails bootcamp here: http://rails.devcamp.com/learn-ruby-on-rails-from-scratch/rails-routing-guide/restful-routing-in-rails Learn how the Ruby on Rails framework leverages RESTful routing principles to integrate easy to follow route naming and scalable API development,
Views: 2098 edutechional
Learn Rails Routes and Resources at Treehouse
You've seen how to create a Rails resource using a scaffold. But scaffolds don't offer flexibility in how a resource is set up. Let's create a resource totally by hand to see how it's put together. Along the way, we'll learn another important component of Rails: routes. Join Treehouse today and start your free trial! http://trhou.se/148kMOY Learn how to build websites and apps, write code, or start a business at Treehouse. Learn from over 1,000 videos created by our expert teachers on web design, coding, business, and much more. Treehouse teaches the in-demand technology skills you need to land your dream job.
Views: 1935 Treehouse
Rails Routes & Route Helpers
A look at Routes and Route Helpers in Rails.
Views: 181 Seth Alexander
Ruby On Rails In 60 Minutes
In this video we will cover all of the fundamentals of the Ruby on Rails framework by building a blog application with comment functionality Routes Controllers Models Views Resources Relationships Database Migrations Basic Ruby Code RAILS PROJECTS COURSE - https://www.eduonix.com/affiliates/id/16-10051 LEARN RAILS FROM SCRATCH - https://www.eduonix.com/affiliates/id/16-10055 SUPPORT THIS CHANNEL WITH A CUP OF COFFEE PER MONTH: http://www.patreon.com/traversymedia ONE TIME DONATIONS: http://www.paypal.me/traversymedia
Views: 303635 Traversy Media
Ruby on Rails - Railscasts PRO #196 Nested Model Form (revised)
Handling multiple models in a single form is easy with accepts_nested_attributes_for. Here you will also learn how to add and remove nested records through JavaScript.
Views: 20748 Railscasts Reloaded
14.- Curso de Ruby on Rails 5 - Nested Resources
Cursos:: Firebase:https://goo.gl/KBz7TT Ionic2:https://goo.gl/DpfZnk Rails:https://goo.gl/1xgi22 Bootstrap4:https://goo.gl/Z05mvW Si estas [email protected] en mas cursos 1. No olvides Suscribirte.... 2.Sigueme por las redes sociales Twitter:https://twitter.com/_TecnoSoftware Facebook:https://www.facebook.com/TecnoSoftwareEs /***************************************************************/ Si deseas colaborar en el canal y compartir tus conocimientos Escribeme a : [email protected]
Views: 597 TecnoSoftware
6- Ruby on Rails || Routes
========== اعمل سبسكرايب واستمع لاخر الاخبار انظم معنا على تواصل الاجتماعي https://www.youtube.com/c/hussienahmmed/about تصفح قائمة الدورات من هنا https://www.youtube.com/user/alxs1aa/playlists ------- جميع حقوق النشر محفوظة للقناة
Views: 2109 TheNewBaghdad
Databases & Rails: Wk4 Routes & Controllers
Learn how to map URL's & HTTP methods to controllers to render different code in Rails. This is the last video for Week 4. After finishing it, jump on over to https://github.com/schneems/routes_controller_exercise and work on the exercise
Views: 3128 schneems
RailsConf 2017: Perusing the Rails Source Code - A Beginners Guide by Alex Kitchens
RailsConf 2017: Perusing the Rails Source Code - A Beginners Guide by Alex Kitchens Open source projects like Rails are intimidating, especially as a beginner. It’s hard to look at the code and know what it does. But Ruby on Rails is more than just code. Written into it are years of research, discussions, and motivations. Also written into it are bugs, typos, and all of the pieces that make the code human. This talk outlines steps you can take to explore the inner workings of Rails and gain context on its design. Understanding how Rails works will allow you to write better Rails applications and better Ruby code. You will leave with many resources and tips on perusing Rails.
Views: 6011 Confreaks