Beginners’ Guide To Pry Gem For Debugging RoR Applications development by Komal Swami - April 15, 2022April 15, 20220 In the previous post, we enjoyed playing around with Byebug, The de-facto debugger for Ruby on Rails Rails. This post for Beginners' Guide To Pry Gem For Debugging RoR Applications, will dwell on another debugging technique of debugging ruby on rails applications. Before getting into pry, As we know REPL, REPL stands for Read-Eval-Print-Loop. It’s a program that allows you to type Ruby code & see the result directly. IRB is the built-in Ruby REPL that every Ruby developer is familiar with. Debug Using IRB - Interactive ruby shell How can you use IRB?Interactive Ruby Shell. You can open IRB by typing IRB inside a terminal window. Then you can write your Ruby code & press enter to run it. If you
MVC architecture in Ruby On Rails Quick Guide howto by Someshwar Mirge - June 22, 2021July 3, 20210 When we are beginner to Ruby on rails , or just getting started , we come across the term MVC . MVC stands for Model , View and Controller . But there are other components involved also . Following image shows how all the components of MVC relate to each other . Now lets have a closer look to each of them . Following are the core components that we must be familiar with . ModelViewControllerRouting SystemDatabase Before diving deep into the Rails MVC world , let me give you a bird eye view of whats happening here . First of all , let us assume that you are the user of this application say AppX ! Now , when
How to add an external CSS stylesheet to your ROR application Uncategorized by Komal Swami - August 31, 2020August 13, 20210 I assume that you already have your css and html.erb files. Hello folks, when you make your first app using ruby on rails then you want it to look good especially when you know how the magic of css works and then end up using html tags for css stylesheet. but it dont work at all. when i was getting started with ruby on rails it was a big deal for me to find a way to add custom css to my UI so here are two simple steps and tadda your css start working. 1.You need to put all your css files in assets ->stylesheets and use <%= stylesheet_link_tag %> Thank you.