Skip to content


rails logo

Ruby on Rails (Rails) is a web application framework written in Ruby. It is meant to help simplify the building of complex websites.

Here are 7,467 public repositories matching this topic...

vdegove commented Mar 19, 2020

For now, there is no mention of Webpack in the official guides – neither on edge guides – except for Ruby on Rails 6 release notes and upgrade guide. The documentation of the Webpacker gem is quite good, but a newcomer to Rails wouldn't know at first that he needs to have a look to it.

Specifically, it would be good to have a mention of Webpack in the following guides:

  • The Asset Pipeline
pmichaeljones commented Mar 20, 2019


  • Ruby 2.4.5
  • Rails 4.2.11
  • Devise 4.6.1

Current behavior

Devise is sending the "Email Changed" email when a user first signs up. This email is unnecessary because they haven't confirmed this email yet.

GIF showing both "confirmation" email AND "email changed" email.

![Double Email Gif](

DianaKoenraadt commented Apr 26, 2020

Is your feature request related to a problem? Please describe.
I want to add a role that can access only products and orders. All online documentation is from 2014 or earlier and does not work. The user with the new role (that does not have admin role, but only the new role) cannot access admin panel.

Describe the solution you'd like
Clear, comprehensive Spree extension documentat

poloka commented Dec 12, 2019

I wanted to ask if a migration guide was created for going from a 1.4.3 version to a 2.x version? If there is no migration guide, what non-passive changes were introduced that caused the 2.x version bump?

yuki24 commented May 24, 2018

We've received a good amount of feedback for formatting values instantiated within the page_entries_info method. Currently we don't have a concrete interface for the method and Kaminari users need to implement a decorator that's not intuitive. It would be helpful if the method sends a certain sed of messages to the collection object. I'm not sure what the interface should look like, but here i

eliotsykes commented Oct 3, 2019

I'm sorry to post an issue that is missing crucial evidence, but some debugging of a recent config loading bug makes me suspect that the react-rails railtie.rb may be modifying the load order of initializers, and preventing the values in Rails.application.config being as expected.

Whether this happens or not appears to be partly dependent on where in the Gemfile the react-rails gem is l

jonrohan commented Apr 9, 2018

I want to avoid checking SVG files into this repository. I feel strongly that having it here to, the confusion of where to contribute to Octicons increases.

However we need to address questions like primer/octicons#213

In my ideal world, we would include in the release script a line that zips up the /build/ folder and attaches it to a release on this repository. A

stnguyen90 commented Feb 13, 2020


The documentation on Error Handling indicates there should be a stack trace, but stack traces are no longer returned.

Steps to Reproduce the Problem

  1. buffalo new coke
  2. cd coke
  3. buffalo dev &
  4. curl -H 'Content-Type: application/json' 'http://localhost:3000/does_not_exist'

Expected Behavior

trace and

keyboard-clacker commented Apr 20, 2020

Is there any documentation on how to use less-loader with webpacker? I just spent the last four hours trying to figure out why my application was throwing a this[MODULE_NAME] is not a function because of a dependency upgrade, and found out that it was because in my loader I was using MiniCssExtractPlugin.loader, but webpacker was using its own internal version of MiniCssExtractPlugin. I wo

leehambley commented Mar 9, 2020

Is your feature request related to a problem? Please describe.

Due to interop with other services, I want to use the GraphQL IDL not the Ruby DSL to define my schema. That has no documentation I can find (nor any test cases, or open GitHub issues) on how to make the decoder implementation for the scalar type known to the Schema.

Describe the solution you'd like

Ideally I'd love

ndbroadbent commented Oct 14, 2019


I think I've figured out a good way to get SimpleCov working with Spring. For my Rails application, preloading the app would require some classes in my ./app directory, and this would cause some inaccurate coverage to be reported (any lines that were required during preloading were missing in the coverage.) I figured out how to fix this issue by starting SimpleCov in config/spring.rb

composerinteralia commented Feb 7, 2020

Rails generators can be a bit of a mystery for folks unfamiliar with them. While trying to explain to somebody where some of the file manipulation methods come from it took me way too many steps to find the documentation I was hoping for:

  1. The method wasn't defined in the suspenders generator I was looking at, so walked up the inheritance chain to Suspenders::Generators::Base
  2. Not define
tmr08c commented Mar 22, 2020

After generating annotations using the Yard doc format, running migrations does not update the annotations.


bundle exec annotate --models -f yard


# == Schema Information
# Table name: users
# @!attribute id
#   @return []
# @!attribute name
#   @return [String]
# @!attribute created_at
#   @return [Time]
# @!attribute updated_at
derekprior commented Jan 28, 2016

When authenticating a user, we skip any calls to BCrypt if we weren't able to find a user with the provided email address. This results in a faster response time to the client and less work on the server... but it also means one could possibly monitor the response times from the app to see if the provided user has an account.

When we detect that a user does not exist with the provided email, we s

Created by David Heinemeier Hansson

Released December 13 2005

You can’t perform that action at this time.