-
-
Save indigoviolet/10ab4ca652b622c8013da94e589110e8 to your computer and use it in GitHub Desktop.
fin blog embed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2] development (main)> Entry.with_no_db do | |
[2] development (main)* Entry.first | |
[2] development (main)* end | |
CoreExt::ActiveRecord::ConnectionAdapters::ExecutionControl::DBExecutionDisallowed: Database queries are disallowed here: ["SELECT \"entries\".* FROM \"entries\" WHERE \"entries\".\"deleted_at\" IS NULL ORDER BY \"entries\".\"id\" ASC LIMIT $1", "Entry Load", [#<ActiveRecord::Attribute::WithCastValue:0x00562f9063e410 @name="LIMIT", @value_before_type_cast=1, @type=#<ActiveModel::Type::Value:0x00562f852874f8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>], {:prepare=>true}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment