{100 => ‘Continue’, 101 => ‘Switching Protocols’, 102 => ‘Processing’, #WebDAV 200 => ‘OK’, 201 =>…
[et_pb_section admin_label=”section”] [et_pb_row admin_label=”row”] [et_pb_column type=”4_4″][et_pb_text admin_label=”Text”] Basic ruby program validations Associations belongs_to has_one has_many has_many…
[code language=”ruby”] 1. views class ApplicationController < ActionController::Base helper :all# include all helpers end 2. Controller…
The resolution that needs a NGINX configuration changes to accept this action cable request. location /…
[code language=”ruby”] constraints(:host => "test.xploralab.com") do root to: redirect("https://test.xploralab.com/dealers") end constraints(:host => "admin.speed-dealing.com") do root to:…
[code language=”ruby”] class ApplicationController < ActionController::Base layout :setlayout def setlayout if current_user && current_user.company? ‘dashboard’ else…
press Ctrl + A then press [ then press Up and down arrows
[et_pb_section admin_label=”section”] [et_pb_row admin_label=”row”] [et_pb_column type=”4_4″][et_pb_text admin_label=”Text”]Step 1 — Install passenger.Since you already have ruby installed and setup…
generate certificate using mkcert then add the below code in script/rails file require ‘rails/commands/server’ require ‘rack’…
Recent Comments