- Видео 489
- Просмотров 858 716
APPSIMPACT Academy
Индия
Добавлен 22 май 2021
We at APPSIMPACT Academy focus on creating the latest and up-to-date tutorials for learning Ruby on Rails. At our channel, you will get various mini-courses that will help you to understand how to build a real-world rails application. Our tutorials will be helpful for you in getting your dream job as a Ruby on Rails developer.
You can contact us at:
Email: training.appsimpact@gmail.com
You can contact us at:
Email: training.appsimpact@gmail.com
What is the Best Way to Update Existing Column Values in Rails?
"Updating column values in Rails sounds simple, but when you’re working with large datasets or production environments, choosing the right approach is essential for maintaining performance and data integrity.
In this video, I’ll walk you through the best methods for updating column values in a Rails application. We’ll cover:
Migrations: Ideal for schema-level changes and one-time updates across many records.
Active Jobs: Perfect for handling large-scale or periodic updates in production without blocking the application.
Rails Console: Great for quick, one-off fixes, but risky for large updates in production.
Whether you’re working on a small project or managing a large-scale production app, un...
In this video, I’ll walk you through the best methods for updating column values in a Rails application. We’ll cover:
Migrations: Ideal for schema-level changes and one-time updates across many records.
Active Jobs: Perfect for handling large-scale or periodic updates in production without blocking the application.
Rails Console: Great for quick, one-off fixes, but risky for large updates in production.
Whether you’re working on a small project or managing a large-scale production app, un...
Просмотров: 64
Видео
Overriding Devise Controller for Resource Registration
Просмотров 4514 дней назад
Hello Everyone, In this lecture, we’ll learn how to override Devise controller methods when creating a new Devise resource. By default, Devise provides built-in functionality for tasks like creating and authenticating resources, but knowing how to override these methods is essential in certain scenarios. In this session, we’ll specifically override the create action in the RegistrationsControll...
Adding non-resource attributes into devise signup form
Просмотров 2314 дней назад
Hello Everyone, In this lecture, we’ll learn how to add custom attributes to the Devise registration/signup form, specifically attributes from a non-Devise resource. This approach will help you add non-model attributes to a Devise form, and by the end, you’ll be able to incorporate attributes from multiple models into a single form. Be sure to watch the entire session for a thorough understandi...
Different signup options based on devise resource roles
Просмотров 3014 дней назад
Hello Everyone, In this session, we'll begin working on new assignments for our real-world Rails development project. We'll explore various signup options for a Devise resource based on user roles within the system. By the end of this lecture, you'll have the skills to customize signup forms according to different Devise roles. Make sure to watch the entire session for a complete understanding....
How to Identify Bugs in a Project?
Просмотров 7321 день назад
Hello Everyone, Welcome to today's lecture, where we’ll dive into one of the most critical aspects of software development-finding and fixing bugs in an application. Regardless of the phase your project is in, the ability to efficiently identify and resolve bugs is what sets apart high-quality software from the rest. Why is this so important? Bugs not only affect functionality but also impact u...
Exporting active record data in CSV/Excel using ActiveJob
Просмотров 4028 дней назад
Hello Everyone! In this lecture, we’ll explore how to export Active Record data using ActiveJob and send it to the user via email. You’ll learn how to offload CSV/Excel export tasks from controller actions, allowing for a cleaner and more efficient approach. Be sure to watch the full lecture to gain a deeper understanding of this process. Also please checkout the pull request for this assignmen...
Working with Rails URLs and Query String
Просмотров 43Месяц назад
Hello Everyone, In this lecture, we’ll focus on exporting filtered data into CSV and Excel formats. To achieve this, we’ll cover how to include query string parameters in Rails URLs for data export. Understanding how to work with query parameters is crucial in Rails, as it often involves not just handling URLs but also managing paths defined in your views. Be sure to watch the full lecture for ...
Exporting ActiveRecord Data to Excel with Customisation
Просмотров 29Месяц назад
Hello Everyone, In this lecture, we’ll be covering how to export job applications into an Excel file, a common feature in many web applications. Not only will we demonstrate how to export data into a Excel format in Rails, but we’ll also explore how to customize the header, and include associated data in each row. Here we will learn that how the spreadsheet gem is working and how to create work...
Exporting ActiveRecord Data to CSV with Customisation
Просмотров 23Месяц назад
Hello Everyone, In this lecture, we’ll be covering how to export job applications into a CSV file, a common feature in many web applications. Not only will we demonstrate how to export data into a CSV format in Rails, but we’ll also explore how to customize the header, and include associated data in each row. Be sure to watch the entire lecture for a comprehensive understanding. Thank you!
Implement Search Form from Scratch in Rails
Просмотров 59Месяц назад
Hello everyone! In this lecture, we’ll implement a feature that allows employers to filter applications for individual jobs by building a custom search functionality. What's key here is that we’ll accomplish this without relying on any gems like Ransack. Instead, you'll learn how to create a search form in Rails entirely from scratch. Be sure to watch the full lecture to gain a deeper understan...
List Associated Models Data in Rails
Просмотров 44Месяц назад
Hello everyone! In this lecture, we'll dive into new task of Assignment 5, focusing on listing associated model data in Rails. Our goal is to display all job applications received for each individual job on a web browser. This enhancement aims to significantly improve user experience for employers, allowing them to effortlessly access a comprehensive list of applicants/job seekers for their pos...
Sending Emails using ActiveJob and Delayed Job - Part 2
Просмотров 22Месяц назад
Hello everyone! In this lecture, in this lecture we will continuing sending emails using ActiveJobs in rails. Here we will do this for the event when a job seeker applies on a job, and then we send a thank you email to the job seekers and the notification email to the employeer. Make sure to watch the entire lecture for a thorough understanding. Thank you!
Sending Emails using ActiveJob and Delayed Job - Part 1
Просмотров 26Месяц назад
Hello everyone! In this lecture, we’ll dive into using ActiveJob in a real-world Rails project. Specifically, we'll offload ActiveRecord callbacks that send notification emails, and instead, handle them with ActiveJob. You’ll learn how to perform tasks, access arguments in the perform method, and execute these tasks asynchronously in the background. This session is packed with valuable learning...
Setup Environment for ActiveJob with Delayed Job
Просмотров 47Месяц назад
Hello everyone! In this session, we’ll be setting up the environment in our project to work with ActiveJobs. We'll integrate DelayedJob as our queue adapter, enabling ActiveJobs to run in the background. We’ll go through each step of the setup process, and this session is crucial for everyone to follow. Additionally, we'll explore a practical example of how ActiveJob and DelayedJob work togethe...
ActiveJobs in Rails - General Walk-through
Просмотров 44Месяц назад
Hello Everyone, In this video, we'll dive into the theoretical aspects of ActiveJobs in Ruby on Rails. If you're looking to understand how background job processing works in Rails without diving into the code, this is the perfect video for you. We'll cover what ActiveJobs are, why they are important for background processing, and how they fit into the Rails ecosystem. You'll learn about the key...
Implementing Single Responsibility Principle in Controller Actions - Rails
Просмотров 61Месяц назад
Implementing Single Responsibility Principle in Controller Actions - Rails
Difference between persisted? and new_record?
Просмотров 54Месяц назад
Difference between persisted? and new_record?
Joining and Filtering Data from Multiple Models - Advanced ActiveRecord Queries in Rails
Просмотров 85Месяц назад
Joining and Filtering Data from Multiple Models - Advanced ActiveRecord Queries in Rails
Allow users with role job seeker to apply for jobs
Просмотров 42Месяц назад
Allow users with role job seeker to apply for jobs
Notifying users when job removed from favourite job list
Просмотров 44Месяц назад
Notifying users when job removed from favourite job list
Sending Emails to Multiple Recipients at Once vs One by One
Просмотров 41Месяц назад
Sending Emails to Multiple Recipients at Once vs One by One
Using ActiveRecord Query Methods Over Ruby Array Methods for Filtering
Просмотров 49Месяц назад
Using ActiveRecord Query Methods Over Ruby Array Methods for Filtering
Working with ActionMailer - Send Email to Users When New Job Posted
Просмотров 69Месяц назад
Working with ActionMailer - Send Email to Users When New Job Posted
Update Notification Setting for User and Working With Bootstrap check-boxes
Просмотров 37Месяц назад
Update Notification Setting for User and Working With Bootstrap check-boxes
Create Notification Setting for User - Save new has_one Record in DB
Просмотров 28Месяц назад
Create Notification Setting for User - Save new has_one Record in DB
Initializing form for One to One association - Rails
Просмотров 28Месяц назад
Initializing form for One to One association - Rails
One to One Relationship Implementation using has_one + belongs_to
Просмотров 42Месяц назад
One to One Relationship Implementation using has_one belongs_to
Query Optimization for favourite job list and Navigation Improvements
Просмотров 482 месяца назад
Query Optimization for favourite job list and Navigation Improvements
Allow Users to Manage Favourite Jobs in their dashboard
Просмотров 352 месяца назад
Allow Users to Manage Favourite Jobs in their dashboard
I have a question. what would happen if you update all these records from the rails console?
@@ricardomordaunt1101 it's just not recommended but doable. The only concern is that we can not track schema changes with rails console. And for production console their might be some chances of timeout if the database is too large. That may lead to inconsistent state. On recommended for test and dev environment
@APPSIMPACTAcademy Thank you for clarifying that..
Mr Ravi.. Thank you...
Sir, I'm using rails version 7 but following your steps. I did all the things correctly but now I facing a problem I add theme code but I'm only seeing words not theme colour and other things😢 What should i do now?
Great Explanantion Sir
As always "Great Informative lecture"
Thanks buddy, you helped me sort some bugs
Hi, excellent! Could you provide a link to the prior video that you reference?
Your Ruby version is 3.1.2, but your Gemfile specified 3.1.4 I clone source code but this error I am using windows system how to solve please make separate video
works without reversible block class AddDummyRecordsToDemoTable < ActiveRecord::Migration[7.2] def up 10.times do |i| puts "Creating Demo #{i + 1}" Demo.create( title: "Demo Title #{i + 1}", description: "Demo Description #{i + 1}" ) end end def down 10.times do |i| puts "Deleting Demo #{i + 1}" demo = Demo.find_by(title: "Demo Title #{i + 1}") demo.destroy if demo.present? end end end
now change_column can receive 4 arguments :table_name, :column_name, :new_type, new_option. something like null: false or default: "value"
I've done the assignment. Thank for sharing knowledge
if students table disappeared from you schema.rb file you can always use command rails db:rollback and after fixing add_attrs_to_students.rb file you can run rails db:migration. Use it and be safe 🦠
If you have an error with validation. try to add data:{turbo:false} <h1>New Student</h1> <%= form_with model: @student, data: { turbo: false } do |form| %> <% if @student.errors.any? %> <% @student.errors.full_messages.each do |message| %> <p><%= message %></p> <% end %> <% end %> <div> <%= form.label :first_name %><br> <%= form.text_field :first_name %> </div> <div> <%= form.label :last_name %><br> <%= form.text_field :last_name %> </div> <div> <%= form.label :email %><br> <%= form.email_field :email %> </div> <div><br> <%= form.submit %> </div> <% end %>
Thank you..
"I know Node.js and am now learning Ruby on Rails. The market is filled with Node.js and MERN stack developers, so I believe that learning Ruby on Rails, along with my knowledge of React, will open up better job opportunities for me. Additionally, I think that Rails and Ruby will become more popular in the upcoming years. What is your view on this topic?"
@@aabbaayy I say yes, i have no doubt on this. Happy learning
working with ruby in windows is a pain a i tired it failed switch to ubantu now everything is working fine
Thanks for this awesome useful learning videos
Hi Sir when will you be uploading videos regarding rails 8?
Thank you.. very helpful..
Thankyou very much sir 🙌
Thank you..
Thank you
From Copacabana Brazil ❤RJ guru
Good, but you can simplify the logic in the model: - add enum instead of JOB_TYPE constant and scopes (:active_jobs...). PS 1) When creating an enum, you can specify the default value and, if necessary, a suffix. 2) This attribute should have the format integer
Hi @ravi Pls create one more project using websocket
Very good material. I am a beginner in rails and this is helping a lot!!!
Please make video on Docker in development mode, 1- Building a Rails app with Docker 2- Applying Docker to an existing Rails app
Please make video on Docker in development mode, 1- Building a Rails app with Docker 2- Applying Docker to an existing Rails app
Please make video on Docker in development mode, 1- Building a Rails app with Docker 2- Applying Docker to an existing Rails app
Thank you, sir. I have been struggling with React for a couple of years now, and your explanations helped me finally understand basic concepts I always struggled with. Thank you
Please make video on Docker in development mode, 1- Building a Rails app with Docker 2- Applying Docker to an existing Rails app
Please make video on Docker in development mode, 1- Building a Rails app with Docker 2- Applying Docker to an existing Rails app
Thanks sir my question is To which account does the amount go on Stripe? The person who created the account on Stripe?
Yes, the account whose credentials are in use
yes i am also getting same error. please provide solution.
@@ShitalPatil-p5z can you please check your node version?
Hii Sir, i want to follow this series from beginning so is there any way that i can get old code from onsight typo issue currently i am cloning this repo so its fixed please guide me how can i get old code so that i could try to fix it by myself to learn. Thankyou and you are doing great for rails community, keep it up sir.
thank you so much for the opportunity 😊
your fan from nepal❤❤ i will start doing this assignment from now
Great lecture but I got issue when I click the button "Connect", nothing happened after click and the log showing ActionController::ParameterMissing (param is missing or the value is empty: connection): app/controllers/connections_controller.rb:21:in `connection_params' app/controllers/connections_controller.rb:6:in `create' Checked all code and same as yours. Also in rails console when I input "Connection.last.update(status: 'accepted')", it shows err message "undefined method `update' for nil (NoMethodError) Connection.last.update(status: 'accepted')" Could you please help? Thank you.
Amazing I am waiting for this kind of playlist. It's Helpful Sir!
❤
❤
❤
Thanks sir ❤
Very informative video; I learned many things from it
great job
Hi, can you please tell how to use the custom css styles for react component? Using es build rails application custom css styles is not applying in application. Can you please clarify it?
Good job; it really helped the junior developer
Helpful sir👍
sir please make some videos on active jobs or some rails project videos