Skip to content

Commit

Permalink
Rails 8 (#1241)
Browse files Browse the repository at this point in the history
* initial upgrade

* fix custom form error

* fix static page controller error

* load defaults

* fix model: nil deprecation

* standard fix

* small fix

* assets

* more asset stuff

* bundle update

* space

* fix

* remove show before_action

fix

* remove faq

* autoload ignore

* update

* change from annotate gem to annotaterb for rails 8 support

more

* annotaterb

* migrate

* fix before action error
  • Loading branch information
jmilljr24 authored Dec 15, 2024
1 parent e89cad3 commit af4049b
Show file tree
Hide file tree
Showing 29 changed files with 934 additions and 275 deletions.
58 changes: 58 additions & 0 deletions .annotaterb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
:position: before
:position_in_additional_file_patterns: before
:position_in_class: before
:position_in_factory: before
:position_in_fixture: before
:position_in_routes: before
:position_in_serializer: before
:position_in_test: before
:classified_sort: true
:exclude_controllers: true
:exclude_factories: true
:exclude_fixtures: true
:exclude_helpers: true
:exclude_scaffolds: true
:exclude_serializers: false
:exclude_sti_subclasses: false
:exclude_tests: true
:force: false
:format_markdown: false
:format_rdoc: false
:format_yard: false
:frozen: false
:ignore_model_sub_dir: false
:ignore_unknown_models: false
:include_version: false
:show_check_constraints: false
:show_complete_foreign_keys: false
:show_foreign_keys: true
:show_indexes: true
:simple_indexes: false
:sort: false
:timestamp: false
:trace: false
:with_comment: true
:with_column_comments: true
:with_table_comments: true
:active_admin: false
:command:
:debug: false
:hide_default_column_types: ''
:hide_limit_column_types: ''
:ignore_columns:
:ignore_routes:
:models: true
:routes: false
:skip_on_db_migrate: false
:target_action: :do_annotations
:wrapper:
:wrapper_close:
:wrapper_open:
:classes_default_to_s: []
:additional_file_patterns: []
:model_dir:
- app/models
:require: []
:root_dir:
- ''
10 changes: 5 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.3.0"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.2.2"
gem "rails", "~> 8.0.0"

# Used to deploy to production
gem "kamal"
Expand Down Expand Up @@ -133,10 +133,6 @@ group :development, :test do
gem "debug", platforms: %i[mri mingw x64_mingw]
gem "pry", "~> 0.15.0"

# Add annotation to models to make it easier to navigate in the codebase
# and the database structure
gem "annotate"

# Linting
gem "standard"

Expand Down Expand Up @@ -164,6 +160,10 @@ group :development do
gem "better_errors", "~> 2.9", ">= 2.9.1"
gem "guard", "~> 2.19"
gem "guard-livereload", "~> 2.5", ">= 2.5.2", require: false

# Add annotation to models to make it easier to navigate in the codebase
# and the database structure
gem "annotaterb"
end

group :test do
Expand Down
Loading

0 comments on commit af4049b

Please sign in to comment.