Search results “Rails routes resources as”
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: 9057 Hack Reactor
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: 51755 andrewperk
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: 3258 edutechional
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: 2036 Kyle Geske
Databases & Rails: Wk5 Routes as Resources
More: http://schneems.com/ut-rails
Views: 1107 schneems
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: 2003 edutechional
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: 1292 edutechional
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: 8454 edutechional
Dynamically-generated route helpers for RESTful resources
When we set up RESTful routes for a resource, the Rails routing system not only arranges to setup URIs for each of the RESTful controller actions, but also dynamically generates (using metaprogramming) helper methods like `new_movie_path()` that return the correct URI for use in views, as the accompanying figure shows.
Views: 11 saasbook
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: 12 R.I.S.E.
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: 234 Brian Casel
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: 4146 DevFactor
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: 1931 edutechional
18- Ruby on Rails || Resources Route? ماهي
========== اعمل سبسكرايب واستمع لاخر الاخبار انظم معنا على تواصل الاجتماعي https://www.youtube.com/c/hussienahmmed/about تصفح قائمة الدورات من هنا https://www.youtube.com/user/alxs1aa/playlists ------- جميع حقوق النشر محفوظة للقناة
Views: 1106 TheNewBaghdad
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: 2133 edutechional
Rails Routes & Route Helpers
A look at Routes and Route Helpers in Rails.
Views: 185 Seth Alexander
6- Ruby on Rails || Routes
========== اعمل سبسكرايب واستمع لاخر الاخبار انظم معنا على تواصل الاجتماعي https://www.youtube.com/c/hussienahmmed/about تصفح قائمة الدورات من هنا https://www.youtube.com/user/alxs1aa/playlists ------- جميع حقوق النشر محفوظة للقناة
Views: 2147 TheNewBaghdad
Rails Routes
Rails Routes Basics
Views: 18 Kudzai Nyandoro
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: 3092 Codemy School
Rails Routing Take Two
Routing Static and then Semi-Static Pages with Rails 4.1.6. Associated repo: https://github.com/stungeye/Routing-Pages-with-Rails
Views: 266 Kyle Geske
Rails Routing Demo
A demo of manual and resource based routing in Rails. Associated github repo: https://github.com/stungeye/Rails-Routing
Views: 662 Kyle Geske
Rails Routes
Views: 87 Kevin Rojas
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: 663 Joyce John
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: 1173 devlogs
Creating routes for new login resources
A quick modification to the config/routes.rb file to add in functionality for the new resource.
Views: 131 Jonathan Geisler
Introduction to routing in Rails
You can take the full Rails bootcamp here: http://rails.devcamp.com/learn-ruby-on-rails-from-scratch/rails-routing-guide/introduction-to-routing-in-rails Rails relies on RESTful routing principles for managing request flow in an application, explore the basic ways to draw routes in a Rails application.
Views: 599 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: 2018 Treehouse
API Tutorial: Guide to RESTful Routing
In scientific research there is principle called Occam’s razor. The term states that the simplest solution is usually the best one. This concept is especially true when it comes to application routing, especially if you want to work with popular APIs that utilize tools such as JSON or XML. In this guide we’ll go through a RESTful routing tutorial, including a walk through of a real world application. What is RESTful Routing? Since this is a Manageable Monday episode, the goal is to give a dead simple explanation for what REST is. And more importantly, how you can use it as a developer. restful routing tutorial So what exactly is RESTful routing? REST stands for Representational State Transfer. The concept of REST was originally created by the computer scientist Roy Fielding for his dissertation at UC Irvine. If that doesn’t make any sense, don’t worry. You don’t have to understand the intricacies of REST in order to use it. HTTP Protocol Let’s begin with talking about the communication system that REST uses: the HTTP protocol. HTTP is what you use when you: - Navigate on the Internet - Submit forms - Or even look at Yelp restaurant reviews on your phone One of the issues with HTTP is that it is stateless. Which means that when you navigate from one page to another page, HTTP doesn’t retain any of the information between pages. This means that developers need to implement code to let applications know how to act like they know what’s going on. Dead Simple REST Examples Remember when I mentioned Occam’s razor at the beginning of the guide? That principle came to mind when I was researching this post because at its core RESTful routing is the definition of simplicity. Essentially REST is a naming structure that encompasses every action that users and applications need to make. REST Terms So what are the terms? Let’s go through them one by one and give a real world example of how they’re used. After going through it you’ll see that everything you do on the web can be boiled down to five tasks. I’m going to use the example of using Twitter to illustrate what each term does. Formal Term Action Practical Example POST Create Creating a new Tweet GET Read Seeing a single or multiple Tweets PUT Update/Replace Replacing a Tweet PATCH Update/Modify Editing a Tweet DELETE Delete Deleting a Tweet If you think about each of those behaviors, you can derive every action that you or an API takes on the web. Why is REST Important? So why exactly is REST important? It seems so straightforward that many developers forget what it was like before RESTful routing became popular. Years ago application routes were dictated by the developer. This may not seem like a big deal. Except that it meant that every application had a different naming structure for routes. Having unique names for routes was not a scalable solution. Thankfully REST was created to bring a level of standardization to development. By leveraging RESTful routes you can immediately be familiar with how data will flow through an application. The concept of REST was so helpful to the developer community that it was embraced by the most popular frameworks in the space. When it comes to modern application or API development you’ll discover that the REST architecture is the primary routing system utilized. RESTful Routing Tutorial Let’s walk through what this looks like in a real world application. Here is a basic Ruby on Rails application that has a single feature: managing tasks. This project is taken from my Learn Ruby on Rails from Scratch Course if you want to check it out. If you look at the routes you’ll see that the Rails framework provides for each of the RESTful routes we discussed. In the red box I designate all of the routes for the app’s Project feature. In the yellow box I highlighted each of the RESTful verbs. Lastly, in blue I show where each of the HTTP actions are mapped to. For example, notice how the features that revolve around showing pages, such as index, new, edit, and show are all GET requests? This is because the server is looking up information in the application or database and GETTING resources to show the user. This is different from the action such as POST that actually creates a new item in the database. Summary I hope that this has been a helpful RESTful routing tutorial. And that you now feel more confident in understanding how you can use REST to build your own applications. Follow me: Twitter: https://twitter.com/jordanhudgens Instagram: https://www.instagram.com/jordanhudgens/ GitHub: http://github.com/jordanhudgens Full guide: https://www.crondose.com/2016/07/restful-routing-tutorial-developers-guide/
Views: 2220 edutechional
rails routes
Views: 31 Pro Khanh
Ruby on Rails Tutorial 03 Routes and Controllers
Routes and Controllers (a part of MVC architecture) in Ruby on Rails. Files located at: http://1drv.ms/1KIcDUq Please rate and subscribe! Let us know what we can improve on in the comments below!
Views: 5152 CourseHack
Ruby on Rails Tutorial - Rails Routes & Public Folder Demo
http://arsmagnatutorials.com Ruby on Rails tutorial for absolute beginners, we will go over how rails treats the public folder. Also, we will delete the index file in the public folder which will cause a routing error. Next, we set up a couple of rules to see how routes work. Ruby on Rails will treat routes as rules. Root will be the homepage that will be served to the client. We will cover more on routes in another Ruby on Rails tutorial for beginners. ruby on rails tutorial ruby on rails tutorial for beginners ruby on rails ruby on rails for absolute beginners ruby on rails 3 tutorial ruby on rails 3.2 tutorial ruby on rails beginner tutorial ruby on rails for beginners ruby on rails tutorial ruby on rails Ruby on Rails screencast ruby on rails programming tutorial ruby on rails 3.2 programming tutorial ruby on rails programming for beginners ruby on rails 3 programming tutorial ruby on rails programming ruby on rails demo Ruby on Rails screencast for beginners
Views: 5008 BlastOffLab
REST-ful resources on Rails
How to set up a REST-ful resource in Rails.
Views: 383 Jonathan Geisler
Railscasts Episode 139: Nested Resources
In this episode Ryan Bates shows how to nest resources through routing and go into some new additions in Rails 2.2. Original URL: http://railscasts.com/episodes/139-nested-resources
Views: 820 cyclopse01
nested resources ruby on rails tutorial
Ruby on Rails 4 5 Ruby on Rails 4, tutorials
Views: 662 J J
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: 3129 schneems
Rails Routing (Topic #9: Ruby on Rails course from JPassion.com)
This is a partial presentation. For complete presentation, hands-on lab document, and sample apps, please go to http://jpassion.com and acquire full subscription.
Views: 161 Sang Shin
Databases & Rails: Wk4 Restful Routes
What does it mean to be a RESTful server? We've covered URL's and HTTP Verbs already, in this video see how we can use the two together to build a server that has representational state transfer (REST). It sounds much harder than it is, just watch the vid.
Views: 5346 schneems
RailsConf 2018: Re-graphing The Mental Model of The Rails Router by Vaidehi Joshi
Re-graphing The Mental Model of The Rails Router by Vaidehi Joshi Rails is incredibly powerful because of its abstractions. For years, developers have been able to hit the ground running and be productive without having to know the in's and out's of the core computer science concepts that fuel this framework. But just because something is hidden away doesn't mean that it's not worth knowing! In this talk, we'll unpack the CS fundamentals that are used in the Rails router. Together, we'll demystify the graph data structure that lies under the hood of the router in order to understand how a simple structure allows for routing to actually work in a Rails app.
Views: 1159 Confreaks
Ruby on Rails 5 Tutorial #11.1 CRUD And Resourceful Routes ( हिन्दी)
Programming in Hindi ( हिन्दी) Ruby on Rails 5 Training covers the essential features of the framework, along with best practices and real-world development techniques, resulting in a complete application with dynamic, database-driven content. Full Source Code available on GitHub :-https://github.com/CsgeeksYoutube/Ruby-on-Rails-5-code Learn Ruby : ------- https://www.youtube.com/playlist?list=PLgPJX9sVy92yefe1xmyxgcyXjxmLHsSEV Learn MySql:-- https://www.youtube.com/playlist?list=PLgPJX9sVy92x2dPJVgDw7JdcuPDi7pFNX Learn javascript :---- https://www.youtube.com/playlist?list=PLgPJX9sVy92yiBtI86AACy5XII2Cxlzbj Please support us by Paytm:--9634533596 Best XHTML And CSS Tutorials:--https://www.youtube.com/playlist?list=PLgPJX9sVy92w1pmbv9S1G6jdyCuMDFVek Best android app development Tutorials:--https://www.youtube.com/playlist?list=PLgPJX9sVy92zmA9YedYtbnOfLP8DH6Ihd Best Python tutorial:-https://www.youtube.com/playlist?list=PLgPJX9sVy92xVxrM7YJRZ2TUXPgWYyfVr Please support us by Paytm:--9634533596 Angular 2 :--- https://www.youtube.com/playlist?list=PLgPJX9sVy92yLg2jIwlG9cNIEfzQhO4dj Angular 4:----- https://www.youtube.com/playlist?list=PLgPJX9sVy92y8p1ax7Twnsn_YtQMHqqMp MEAN Stack Tutorial :-----https://www.youtube.com/playlist?list=PLgPJX9sVy92ywOAYayY7MnljGCaNY-8v5 Learn NodeJS:----- https://www.youtube.com/playlist?list=PLgPJX9sVy92wCSjrOcAlIaCXMi8wrrv_d NodeJS + Express JS:----https://www.youtube.com/playlist?list=PLgPJX9sVy92zI5qCkrkepXfGiRLXdCoAx MongoDB :----https://www.youtube.com/playlist?list=PLgPJX9sVy92xUxpTFgAOSBHdBwIdxav39 Learn javascript :---- https://www.youtube.com/playlist?list=PLgPJX9sVy92yiBtI86AACy5XII2Cxlzbj Learn Bootstrap:-- https://www.youtube.com/playlist?list=PLgPJX9sVy92wc38jA6JtvkA4l1xmJcKKH ---------------------------------------------------------------------- Laptop I used :--- http://fkrt.it/Gq49vLuuuN Mic I used :--- http://fkrt.it/Gi2DyLuuuN ----------------------------------------------------------------------
Views: 1091 CS Geeks
Ruby on Rails - Root route and version control 14
The full playlist: https://www.youtube.com/playlist?list=PLVtH-m-2HqnvQ-1Ev98_nat75skJ1JPrq, the full course at https://www.udemy.com/the-complete-ruby-on-rails-developer-course/?couponCode=railstube, GET FREE COURSE - sign-up for course discounts http://www.mashrurhossain.com/#get-free-course, top picks for online development http://www.mashrurhossain.com/#udemy
Views: 314 Mashrur Hossain