Use ‘Actions’ as Table Name

undefined method `permit' for "create":String
{
"utf8"=>"✓",
"authenticity_token"=>"some token",
"query"=>{"name"=>"asdf"},
"controller"=>"queries",
"action"=>"create"
}
undefined method `new' for ActiveSupport::Callbacks::Callback:Class

--

--

--

Technology to write, life to grateful. Overthinking is good, only if it has the output. Fundamental is the main concern.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The most popular programming languages 2018

Watch out for an agile hangover!

Hey, You Got Bindr?

Knative journey EP4: route incoming requests to different Knative revisions with clear logic…

Android O — SOLID

AWS EKS and Google Cloud Functions

Semantic data types metadata sources: Wikidata, Wikipedia and other

What makes Kotlin different?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Iman Tung

Iman Tung

Technology to write, life to grateful. Overthinking is good, only if it has the output. Fundamental is the main concern.

More from Medium

All About Service Objects: Part 2 — Method Object Pattern

How to apply Rails migrations on databases in logical replication

User Auth and Password Protection: Rails

Introduction to creating a Sinatra and Active Record.