-
Decanter should be smart about finding decanters based on the inheritance of the underlying models.
For example, let's say we have the following ActiveRecord models:
```
class Animal < Applicat…
-
### Steps to reproduce
Here's a repo i put together for reproducing the issue : https://bitbucket.org/alfiemax/traderapp
The readme in it should be self explanatory.
I've got Trader & Retailer Mo…
-
**Describe the bug:**
ActiveRecord overrides the `new` method for all Model classes, e.g. `User.new`.
It's defined like this in `activerecord.rbi`:
```ruby
module ActiveRecord::Inheritance::Clas…
-
# Steps to reproduce
```ruby
create_table :parents do |t|
t.string :type
end
class Parent < ActiveRecord::Base
end
class Child < Parent
end
```
## Actual:
```ruby
kid = Child.new
#
…
-
This is to track/coordinate support for Rails 6.
/cc @enebo @kares @rdubya
-
To keep things clean usually `rules()` used that way:
``` php
public function rules()
{
return [
['slug', 'required'],
['name', 'trim'],
['name', 'required'],
['n…
-
### Steps to reproduce
1) rails new my_app
2) add oracle-enhanced & ruby-oci8 to gemfile
3) bundle
4) configure database.yml
5) rails active_storage:install
6) rake db:migrate
### Expected be…
-
As I was mentioned in #343, I went to try running that branch against my Rails application. After updating my Gemfile to reference that branch, my specs failed as mobility wasn't defining `locale_acce…
-
Not a big problem, but it woudl be nice if a worker could just handle the case of a disappearing task object.
```
2018-07-04 11:56:13 FATAL SubWorker-94426: Some object has disappeared while proce…
-
To reproduce:
Create a rails 4.0.2 app with h2 and JRuby-1.7.11
schema.rb
``` ruby
ActiveRecord::Schema.define do
create_table 'tables', primary_key: 'id', force: true do |t|
t.decimal 'umlaut…