Skip to content

Instantly share code, notes, and snippets.

View brunofrank's full-sized avatar
🏠
Working from home

Bruno Frank brunofrank

🏠
Working from home
  • Frank Labs
  • Uruaçu, GO, Brazil
View GitHub Profile
TESTE_DATA = [
["(a[0]+b[2c[6]]) {24 + 53}", true],
["f(e(d))", true],
["[()]{}([])", true],
["((b)", false],
["(c]", false],
["{(a[])", false],
["([)]", false],
[")(", false],
["", false],
module Controllers::Crudify
extend ActiveSupport::Concern
included do
before_action :set_super_resource
before_action :set_resource, only: %i[show edit update]
show_search only: :index
show_back only: %i[new edit]