Log in Sign up
2 Matching Annotations
  1. Feb 2022
  2. github.com github.com
    GitHub - code-and-effect/effective_resources: Replaces your Rails controllers, views and forms with meta programming. Considers routes.rb, ability.rb, current_user and does the right thing. It's ruby on rails, on effective rails.
    2
    1. TylerRick 09 Feb 2022
      in Public
      include Effective::CrudController
      similar to: inherited_resources (Rails)
    2. TylerRick 09 Feb 2022
      in Public
      # All queries and objects will be built with this scope resource_scope -> { current_user.posts } # Similar to above, with block syntax resource_scope do Post.active.where(user: current_user) end
      similar to: inherited_resources (Rails)
    Visit annotations in context

    Tags

    • inherited_resources (Rails)
    • similar to:

    Annotators

    • TylerRick

    URL

    github.com/code-and-effect/effective_resources
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy