Skip to content

Commit

Permalink
Merge pull request #22 from dalizard/add-ruby-3-support-to-example-app
Browse files Browse the repository at this point in the history
Add Ruby 3 support to the example app
  • Loading branch information
RStankov committed Oct 18, 2023
2 parents 2f84110 + 36fc20b commit d6afdb2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion example/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

source 'https://rubygems.org'

gem 'rails', '6.0.2.1'
gem 'rails', '6.1.5'

gem 'bootstrap-sass'
gem 'jquery-rails'
gem 'rspec-rails'
gem 'sass-rails', '~> 5.0.0'
gem 'slim'
gem 'sqlite3'
gem 'webrick', '~> 1.8'
gem 'will_paginate'
gem 'will_paginate-bootstrap'
2 changes: 1 addition & 1 deletion example/config/boot.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)

require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
6 changes: 3 additions & 3 deletions example/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# This file is the source Rails uses to define your schema when running `rails
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
# This file is the source Rails uses to define your schema when running `bin/rails
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
# be faster and is potentially less error prone than running all of your
# migrations from scratch. Old migrations may fail to apply correctly if those
# migrations use external dependencies or application code.
Expand All @@ -27,7 +27,7 @@
end

create_table "users", force: :cascade do |t|
t.string "name", limit: 255, null: false
t.string "name", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.index ["name"], name: "index_users_on_name", unique: true
Expand Down

0 comments on commit d6afdb2

Please sign in to comment.