-
When we `use_js` in a test, the database is in an inconsistent state! This caused us yesterday some headaches...
> the tests are being wrapped in database transactions, so any code running outside th…
-
Hello 👋 I'm trying to access to the `highlighted_area` method of an offense, which is on the public api, but it's raising an error.
--------
## Expected behavior
Should return a `Parser::Sou…
-
Where you preload some associations with `includes(:association)` callbacks are called multiple times.
### Steps to reproduce
```ruby
# frozen_string_literal: true
require 'bundler/inline'
…
-
https://rspec.info/features/6-0/rspec-rails/request-specs/request-spec/
`RSpec.describe SomeClass, type: :request do`
a 'response' method is often referenced in these tests.
method_missing wi…
-
At the moment we can do:
```
bundle exec rake TESTOPTS='-v'
```
to print how much time each test takes to run. However it would be nice to be able to see, say, the top 20 slowest tests.
I f…
-
### Steps to reproduce
This bug is directly related to https://github.com/rails/rails/issues/44986.
```ruby
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
…
-
Hey, trying to add Bootstrap 3 and Datatables together.
Here is my gemfile:
source 'https://rubygems.org'
gem 'rails', '4.2.1'
gem 'pg'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'co…
-
This is my .autotest:
```
# ~.autotest
require 'rubygems'
require 'autotest/inotify' # broken. this causes tests to run twice and sometimes failing tests to be ignored
require 'autotest/growl'
SPEAKI…
-
Rails 4.2 [was released](http://guides.rubyonrails.org/4_2_release_notes.html) recently, so we should start the project on that platform.
I guess the handiest is to scrub the repo's contents, and use…
-
**Describe the bug**
Currently the callbacks such as after_discard are run outside of the discarded model's transaction. This can lead to unexpected behavior where, for example, the model is discar…