Gathering detailed insights and metrics for @rails/actiontext
Gathering detailed insights and metrics for @rails/actiontext
Gathering detailed insights and metrics for @rails/actiontext
Gathering detailed insights and metrics for @rails/actiontext
npm install @rails/actiontext
99.7
Supply Chain
76.8
Quality
97.8
Maintenance
100
Vulnerability
99.6
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
56,133 Stars
93,813 Commits
21,701 Forks
2,325 Watching
62 Branches
5,094 Contributors
Updated on 29 Nov 2024
Minified
Minified + Gzipped
Ruby (97%)
JavaScript (1.3%)
HTML (1.13%)
SCSS (0.29%)
CSS (0.27%)
Dockerfile (0.01%)
Cumulative downloads
Total Downloads
Last day
-35.3%
13,132
Compared to previous day
Last week
-7.5%
98,810
Compared to previous week
Last month
1.3%
447,217
Compared to previous month
Last year
15.3%
4,637,735
Compared to previous year
1
1
4
Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
Understanding the MVC pattern is key to understanding Rails. MVC divides your application into three layers: Model, View, and Controller, each with a specific responsibility.
The Model layer represents the domain model (such as Account, Product,
Person, Post, etc.) and encapsulates the business logic specific to
your application. In Rails, database-backed model classes are derived from
ActiveRecord::Base
. Active Record allows you to present the data from
database rows as objects and embellish these data objects with business logic
methods.
Although most Rails models are backed by a database, models can also be ordinary
Ruby classes, or Ruby classes that implement a set of interfaces as provided by
the Active Model module.
The View layer is composed of "templates" that are responsible for providing appropriate representations of your application's resources. Templates can come in a variety of formats, but most view templates are HTML with embedded Ruby code (ERB files). Views are typically rendered to generate a controller response or to generate the body of an email. In Rails, View generation is handled by Action View.
The Controller layer is responsible for handling incoming HTTP requests and
providing a suitable response. Usually, this means returning HTML, but Rails controllers
can also generate XML, JSON, PDFs, mobile-specific views, and more. Controllers load and
manipulate models, and render view templates in order to generate the appropriate HTTP response.
In Rails, incoming requests are routed by Action Dispatch to an appropriate controller, and
controller classes are derived from ActionController::Base
. Action Dispatch and Action Controller
are bundled together in Action Pack.
Active Record, Active Model, Action Pack, and Action View can each be used independently outside Rails.
In addition to that, Rails also comes with:
Install Rails at the command prompt if you haven't yet:
1$ gem install rails
At the command prompt, create a new Rails application:
1$ rails new myapp
where "myapp" is the application name.
Change directory to myapp
and start the web server:
1$ cd myapp 2$ bin/rails server
Run with --help
or -h
for options.
Go to http://localhost:3000
and you'll see the Rails bootscreen with your Rails and Ruby versions.
Follow the guidelines to start developing your application. You may find the following resources handy:
We encourage you to contribute to Ruby on Rails! Please check out the Contributing to Ruby on Rails guide for guidelines about how to proceed. Join us!
Trying to report a possible security vulnerability in Rails? Please check out our security policy for guidelines about how to proceed.
Everyone interacting in Rails and its sub-projects' codebases, issue trackers, chat rooms, and mailing lists is expected to follow the Rails code of conduct.
Ruby on Rails is released under the MIT License.
No vulnerabilities found.
Reason
30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 14/17 approved changesets -- score normalized to 8
Reason
branch protection is not maximal on development and all release branches
Details
Reason
badge detected: InProgress
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
19 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More