Posts

Showing posts from June, 2022

project setup = 21kschoolhrmsfinance-51700-ruby

1. setup project repository 2. change database.yml - change the project name in production , development and default  3. rake db:create 4. rake db:migrate

production mein console chlana

 bundle exec rails c -e production 

How to Create Admin User and see localhost:3000/admin - When active admin is ibuilt by gem in the application.

  AdminUser.create!( :email => 'admin@example.com' , :password => 'password' , :password_confirmation => 'password' )

book management application

 https://web-crunch.com/posts/lets-build-ruby-on-rails-book-library-stripe-subscription-payments

book management system app

 https://www.codingdojo.com/blog/ruby-on-rails-examples

git hub reposititories for hotel management system

https://github.com/topics/hotel-management-system

webpacker not run ::: this webpack error comes in every application

  Webpacker::Manifest::MissingEntryError in Devise::Sessions#new yarn install - not happening webpacker install - not happening bundle exec rake assets:precompile bundle exec rake webpacker:compile You may define  scripts  in your  package.json  file.  -- ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 yarn install --check-files 2 bundle 3 rails webpacker:install An unexpected error occurred: "/Users/name/package.json: Unexpected token \\ in JSON at position 1" not a similar question

dummy poll application

pusher app:: 1. rails new pusher - rails - chart - T -- database = postgresql T - is used for test cases 2.

setup the new project for apple payment gateway with stripe

 https://www.google.co.in/search?q=apple+payment+gateway+through+stripe&sxsrf=ALiCzsa-RNhw7sVQz4yD0yF9AzL0_mF8qA%3A1655887625063&source=hp&ei=CdeyYr_RAc-h-Qbw1Jf4CA&iflsig=AJiK0e8AAAAAYrLlGUfrE_eQ7JsXifk2E5BDzHJM9DEI&ved=0ahUKEwj_-bWN1sD4AhXPUN4KHXDqBY8Q4dUDCAc&uact=5&oq=apple+payment+gateway+through+stripe&gs_lcp=Cgdnd3Mtd2l6EAMyBAgjECc6BwgjEOoCECc6BAgAEEM6DQgAEIAEEIcCELEDEBQ6CggAELEDEIMBEEM6CgguEMcBENEDEEM6CAgAEIAEELEDOg0ILhCxAxDHARDRAxBDOhAILhCxAxCDARDHARDRAxBDOgkIABCxAxAKEEM6CwguEIAEELEDEIMBOgsIABCABBCxAxCDAToHCAAQgAQQCjoHCAAQyQMQCjoFCAAQkgM6BwgAELEDEAo6CggAELEDEIMBEAo6BwgjELECECc6BQgAEJECOgoILhDHARCjAhBDOhAILhCxAxCDARDHARCjAhBDOggIABCxAxCDAToHCAAQQxCLAzoKCAAQsQMQQxCLAzoTCC4QsQMQgwEQxwEQowIQQxCLAzoNCAAQsQMQgwEQQxCLAzoLCAAQgAQQsQMQyQM6CggAEIAEEIcCEBQ6BQgAEIAEOgYIABAeEBZQgQNY21pgr1xoBXAAeAKAAbkEiAGVQpIBDDAuMzEuNS40LjAuMZgBAKABAbABCrgBAg&sclient=gws-wiz

ChingChing App RSpec for firebase_notification_controller

  Write Rspec :: R In ChingChing Project :: Firebase Controller :: push_notification_status_controller :: Note : We should also check the callback means before_action - that all the methods of the current user is using or not . ................................................................................... Step 1 :: For which Controller you are doing the Rspec - Check the type of the method in route - route.rb – search ........................................................................................................... namespace :bx_block_notifications do resources :notifications, :only => [:index, :show, :create, :destroy, :update] resources :subscribed_tips_nofication, :only => [:index, :show, :create, :destroy, :update] get 'read_status', to: "notifications#read_status" resources :notification_status, :only => [ :show, :create, :update] post 'triggering_firebase_notification' => 'firebase_notifications#triggering_firebase_notificat...