rspec-rails
Administrate
Our great sponsors
rspec-rails | Administrate | |
---|---|---|
19 | 11 | |
5,111 | 5,805 | |
0.5% | 0.6% | |
8.7 | 8.8 | |
12 days ago | 5 days ago | |
Ruby | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rspec-rails
-
Test Driving a Rails API - Part Two
When starting a Rails project, you have a lot of decisions to make. Whether or not to write tests should not be one of them. The big decision is to use Minitest or Rspec. Both of those testing frameworks are great and provide everything you need to test a Rails application thoroughly.
-
How to Use Shoulda Matchers with RSpec for Ruby on Rails
RSpec
-
How to Setup RSpec on a Rails Project
rspec-rails factory_bot_rails faker
-
Tests Everywhere - Ruby
Ruby testing with RSpec
-
Introduction to Rails API: How to Create Your First Endpoint in Less Than a Minute?
After all requests have been added, we need to cover them using request specs to ensure that everything will work as expected in the future as well. To add specs, we will use the rspec-rails gem. Our plan is to cover the 4 HTTP request methods that have been added above:
-
Should i learn testing
as a beginner you can skip it, just focus on understanding Rails' philosophy and getting comfortable with it. However, make sure you remember to come back to unit testing later bc it's a mandatory skill for a Rails developer. Unit test can help you understand your project's specs thoroughly (assume its test coverage is more than 90%). I recommend learning RSpec instead of Rails' built-in testing tool (the one being used in the Rails tutorial iirc)
-
Code Reviewing a Ruby on Rails application.
RSpec is a testing framework for Ruby that is widely used in the Ruby on Rails community. It allows developers to write and execute automated tests. RSpec promotes behavior-driven development (BDD) by providing a readable syntax for describing the expected behavior of the application.
-
Generating an OpenAPI/Swagger spec from a Ruby on Rails API
This is where rswag comes in. It is an extension to rspec-rails for "describing and testing API operations".
- Relishapp is down, anyone knows what happened?
- Top 5 Ruby on Rails Gems
Administrate
-
The Admin Framework for Minimalist
thoughtbot/administrate is a well-known framework for administrative screen, but it's not developer friendly。I implement my own template files for Administrate, so when new Administrate version released, It is hard to update Administrate because template file is changed.**
-
Get help from thoughtbot for free (mentoring / office hours)
I work at thoughtbot, you might know us for our open source work like administrate, factory_bot or shoulda-matchers.
-
Show HN: Build Ruby on Rails apps 10x faster – Avo
This looks very similar to Administrate by thoughtbot https://github.com/thoughtbot/administrate
-
From partials to ViewComponents: writing reusable front-end code in Rails
We briefly considered migrating to a full-grown Rails admin interface, such as ActiveAdmin, RailsAdmin, Administrate or Avo. We especially liked Avo which is built on a very modern stack similar to ours (Tailwind + Hotwire + ViewComponents). In the end, we didn’t go this route as we found some of the options a bit too restrictive (even though Avo is very flexible) and we did not feel like trying to amend it to our needs. For example, Avo renders forms in a 1-field-per-row layout while we wanted something more similar to the Tailwind UI Stacked form layout. Nevertheless, we found a great deal of inspiration in the Avo code and its design principles.
-
Rails administrate : big tutorial, bits of philosophy
We have already covered many use cases for customisation, everything else can be found in the official documentation.
-
Admin Framework for Rails
Administrate
-
10 things I add to every Rails app
I usually tend to create these from Scratch, but moving forward I’ve started to use thoughtbot’s administrate gem. It sticks to the Rails conventions of controllers and routing, so it’s easy to customise and add new functionality to.
-
Free trial feature
That's exactly what we do. Easy to extend trials as needed for users when needed too via https://github.com/thoughtbot/administrate
-
Rails Admin or Active Admin?
Documentation https://administrate-demo.herokuapp.com/
What are some alternatives?
Rack::Attack - Rack middleware for blocking & throttling
ActiveAdmin - The administration framework for Ruby on Rails applications.
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
RailsAdmin - RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
postmark-rails - Official integration library for using Rails and ActionMailer with the Postmark HTTP API
Trestle - A modern, responsive admin framework for Ruby on Rails
factory_bot_rails - Factory Bot ♥ Rails
Avo - Build Ruby on Rails apps 10x faster
Sidekiq - Simple, efficient background processing for Ruby
Upmin Admin - Framework for creating powerful admin backends with minimal effort in Ruby on Rails.
devise_masquerade - Extension for devise, enable login as functionality. Add link to the masquerade_path(resource) and use it.
Godmin - Admin framework for Rails 5+