Skip to content
Snippets Groups Projects
Closed undefined method `new_person_requests_url'
  • View options
  • undefined method `new_person_requests_url'

  • View options
  • Closed Issue created by azul
    Started GET "/people/la99xp/friend_request/new" for 127.0.0.1 at 2018-06-20 10:29:04 -0700
    Processing by Person::FriendRequestsController#new as JS
      Parameters: {"person_id"=>"la99xp"}
      Rendered person/friend_requests/new.html.haml (3.0ms)
    Completed 200 OK in 16ms (Views: 11.4ms | ActiveRecord: 0.4ms)
    Started GET "/assets/361016/OCCUPY+imp+BW.pdf]" for 127.0.0.1 at 2018-06-20 10:29:04 -0700
    Processing by AssetsController#show as
      Parameters: {"id"=>"361016", "path"=>"OCCUPY+imp+BW"}
    Sent file /srv/crabgrass/assets/0036/1016/OCCUPY imp BW.pdf (0.1ms)
    Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
    Started POST "/people/la99xp/friend_request" for 127.0.0.1 at 2018-06-20 10:29:06 -0700
    Processing by Person::FriendRequestsController#create as HTML
      Parameters: {"utf8"=>"✓", "authenticity_token"=>"tHNPo36t5B55A3382wj3gs5q2a5bwIOvK2eIal8QteuDD066k9VwY6fo7g+acS2JfR4AGqwMQ8m+i3a4m6b/1w==", "person_id"=>"la99xp"}
    Completed 500 Internal Server Error in 24ms (ActiveRecord: 1.8ms)
    
    NoMethodError (undefined method `new_person_requests_url' for #<Person::FriendRequestsController:0x00000007708508>):
      app/controllers/person/friend_requests_controller.rb:23:in `create'

    Not sure if this is related to the pundit changes. But at least i have never seen it before.

    Linked items 0

  • Link items together to show that they're related.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first