0

I have padrino version 0.15.3 and activerecord 7.2.I use task:

padrino rake ar:migrate

Errors:

undefined method `schema_format' for ActiveRecord::Base:Class Did you mean? schema_cache

1
  • The padrino-gen gem which supports AR tasks has not been updated in 3 years which predates Rails 7.2. This is likely to be an uphill battle without that gem being patched for newer rails versions. If you look at the patch that was provided in your previous post, github.com/padrino/padrino-framework/issues/2298, it addresses this as well by calling schema_format on the ActiveRecord module rather than the Base class. Commented Feb 18 at 16:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.