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’…
[code language=”ruby”]require ‘csv’ CSV.foreach(Rails.root.join("db/seeds_data/movies.csv"), headers: true) do |row| Movie.find_or_create_by(title: row[0], release_year: row[1], price: row[2], description: row[3],…
when you are using mac with postgresapp, there is a chance of this error [code language=”ruby”]…
[code language=”ruby”] RSpec.describe ‘search’, type: :feature, js: true do context ‘collect ids of items’ do describe…
# forcefully change domain ‘site.tw’ and assign language to ‘en’. [code language=”ruby”] def change_domain_and_lang(url) uri =…
You can create a file ‘~/xploralab.txt’ and open it in file operation ‘a+’ mode. Then keep…
[code language=”ruby”] hash.all? { |k, v| v.present? } [/code]
Recent Comments