-
Guys, I'm trying to upgrade an application from Rails 3.2.22 to 4.0.13 and I'm getting `Gem Load Error is: uninitialized constant ActiveModel::ForbiddenAttributesProtection` when trying to load slugge…
-
**Describe the bug**
On #8669 we've migrated from `Virtus` to `ActiveModel::Attributes`.
For better backward compatibility, we've left that attributes can be defined as symbols, just like `Virt…
-
# Current status
Some places we use "bigint unsigned" and others we use "int".
# Option 1: Short term fix
1. Use "bigint unsigned" for all the id columns. Keep exposing the database ids in th…
-
Hi,
I'm trying to use this helper with a non active record model. here is the model code without application logic:
class Source < Foodtree::API::Base
include ActiveModel::Validations
include A…
-
### Pitch
As a service provider I need to track usage for billing. I need the media attachment size exposed in the admin:read context. This way we can write a script external to mastodon to monitor u…
-
## Description
hi, I am developing the backend of an app with axum and sea-orm, so there is a route to register a user, and insert the user to databse, i am using mysql as my database, but any time…
-
This gem doesn't work for Sequel, not outside of the box at least. The EachValidator object is AFAIK only defined in Rails, and is not part of the ActiveModel spec.
One could remove the ORM-agnostic…
-
Here is my Redmine setup Information:
> Environment:
> Redmine version 2.4.2.stable
> Ruby version 1.9.3-p484 (2013-11-22) [x86_64-linux]
> Rails version …
-
I feel as if this is probably my own fault and I'm just too stupid to notice, but I can't seem to get Strong Parameters to work in production using Unicorn.
The Unicorn workers won't start, failing w…
-
If you use phony_rails gem, you can use something like this:
```ruby
class Model
validates :phone,
phony_plausible: true,
format: { with: /\A\+\d+/, message: 'should start with +' }
…