Path to this page:
Subject: CVS commit: pkgsrc/devel/ruby-railties70
From: Takahiro Kambe
Date: 2022-06-07 17:22:15
Message id: 20220607152215.2765FFB19@cvs.NetBSD.org
Log Message:
devel/ruby-railties70: update to 7.0.3
7.0.3 (2022-05-12)
* If reloading and eager loading are both enabled, after a reload Rails
eager loads again the application code.
* Use controller_class_path in Rails::Generators::NamedBase#route_url
The route_url method now returns the correct path when generating a
namespaced controller with a top-level model using --model-name.
Previously, when running this command:
bin/rails generate scaffold_controller Admin/Post --model-name Post
the comments above the controller action would look like:
# GET /posts
def index
@posts = Post.all
end
afterwards, they now look like this:
# GET /admin/posts
def index
@posts = Post.all
end
Fixes #44662.
Files: