Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rails_view_generator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rails_view_generator

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

RailsViewGenerator

This gem adds a Rails generator that creates just the view file which would normally generated by a rails generate scaffold command.

Installation & Usage

bundle add rails_view_generator, group: :development

bundle install

rails generate view ModelName field_name:field_type field_name2:field_type2 ...

This generator utilizes the same look-up for the .html.erb.tt files as the original scaffold generator, which can be found in the rails/generators/erb/scaffold/templates.

You can customize these views by copying them to lib/templates/erb/scaffold and modifying them as needed.

Changelog

  • 0.1.0: Initial release

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/coezbek/rails_view_generator.

FAQs

Package last updated on 14 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc