Closed joatu closed 5 years ago
Thanks, I'll take a look at that one soon! Do you actually use the caps for anything at the moment?
On Fri, Dec 7, 2018, 12:54 PM joatu <notifications@github.com wrote:
Clicked on caps generator, brought up error screen.
NoMethodError in Admin::CapsController#new
undefined method `_read_attribute' for #CapsGenerator:0x00007f0ee49aa610
Extracted source (around line #10 https://github.com/joatuapp/joatu-v2/pull/10):
8 9 10 11 12 13
@users = User.all
@organizations = Organization.all
@Form https://github.com/Form = CapsTransactionForm.new(CapsTransaction.new(source: CapsGenerator.instance))
authorize @form.model
respond_with(@caps_transaction = @Form https://github.com/Form)
end
Rails.root: /app
Application Trace | Framework Trace | Full Trace
app/controllers/admin/caps_controller.rb:10:in `new'
Request
Parameters:
{"locale"=>"en"}
Toggle session dump
_csrf_token: "LIN3BclRZY90oA7b2BSSitBQ2kWhNmy9MmEYJ4j9Cb0=" session_id: "c0200c8b572b2b206febcfa2d207a002" warden.user.user.key: [[2], "$2a$10$z4UNIXcG4HowBxdm28RJB."]
Toggle env dump
GATEWAY_INTERFACE: "CGI/1.2" HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng, /;q=0.8" HTTP_ACCEPT_ENCODING: "gzip, deflate" HTTP_ACCEPT_LANGUAGE: "en-CA,en-GB;q=0.9,en-US;q=0.8,en;q=0.7" HTTP_CACHE_CONTROL: "no-cache" HTTP_PRAGMA: "no-cache" REMOTE_ADDR: "10.159.208.89" SERVER_NAME: " alpha.joatu.org" SERVER_PROTOCOL: "HTTP/1.1"
Response
Headers:
None
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joatuapp/joatu-v2/issues/156, or mute the thread https://github.com/notifications/unsubscribe-auth/AKiWekaaJVnnG27EKRCEyEtQ2izYKd_nks5u2qtLgaJpZM4ZI4ll .
Nope!
On Fri, Dec 7, 2018, 1:37 PM Robert Smith <notifications@github.com wrote:
Thanks, I'll take a look at that one soon! Do you actually use the caps for anything at the moment?
On Fri, Dec 7, 2018, 12:54 PM joatu <notifications@github.com wrote:
Clicked on caps generator, brought up error screen.
NoMethodError in Admin::CapsController#new
undefined method `_read_attribute' for #CapsGenerator:0x00007f0ee49aa610
Extracted source (around line #10 https://github.com/joatuapp/joatu-v2/pull/10):
8 9 10 11 12 13
@users = User.all
@organizations = Organization.all
@Form https://github.com/Form = CapsTransactionForm.new(CapsTransaction.new(source: CapsGenerator.instance))
authorize @form.model
respond_with(@caps_transaction = @Form https://github.com/Form)
end
Rails.root: /app
Application Trace | Framework Trace | Full Trace
app/controllers/admin/caps_controller.rb:10:in `new'
Request
Parameters:
{"locale"=>"en"}
Toggle session dump
_csrf_token: "LIN3BclRZY90oA7b2BSSitBQ2kWhNmy9MmEYJ4j9Cb0=" session_id: "c0200c8b572b2b206febcfa2d207a002" warden.user.user.key: [[2], "$2a$10$z4UNIXcG4HowBxdm28RJB."]
Toggle env dump
GATEWAY_INTERFACE: "CGI/1.2" HTTP_ACCEPT:
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng, /;q=0.8" HTTP_ACCEPT_ENCODING: "gzip, deflate" HTTP_ACCEPT_LANGUAGE: "en-CA,en-GB;q=0.9,en-US;q=0.8,en;q=0.7" HTTP_CACHE_CONTROL: "no-cache" HTTP_PRAGMA: "no-cache" REMOTE_ADDR: "10.159.208.89" SERVER_NAME: " alpha.joatu.org" SERVER_PROTOCOL: "HTTP/1.1"
Response
Headers:
None
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joatuapp/joatu-v2/issues/156, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKiWekaaJVnnG27EKRCEyEtQ2izYKd_nks5u2qtLgaJpZM4ZI4ll
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joatuapp/joatu-v2/issues/156#issuecomment-445325104, or mute the thread https://github.com/notifications/unsubscribe-auth/AFGivJSH6XdcVNx6QtqD_AN0S3_RLqagks5u2rV-gaJpZM4ZI4ll .
This should be resolved now. Please test and close
Clicked on Caps generator, got this error.
Sorry, just realized that I forgot to deploy the changes for this fix. Should work now!
Fixed!
Clicked on caps generator, brought up error screen.
NoMethodError in Admin::CapsController#new
undefined method `_read_attribute' for #
Extracted source (around line #10):
8 9 10 11 12 13
@users = User.all
@organizations = Organization.all
@form = CapsTransactionForm.new(CapsTransaction.new(source: CapsGenerator.instance))
authorize @form.model
respond_with(@caps_transaction = @form)
end
Rails.root: /app
Application Trace | Framework Trace | Full Trace
app/controllers/admin/caps_controller.rb:10:in `new'
Request
Parameters:
{"locale"=>"en"}
Toggle session dump
_csrf_token: "LIN3BclRZY90oA7b2BSSitBQ2kWhNmy9MmEYJ4j9Cb0=" session_id: "c0200c8b572b2b206febcfa2d207a002" warden.user.user.key: [[2], "$2a$10$z4UNIXcG4HowBxdm28RJB."]
Toggle env dump
GATEWAY_INTERFACE: "CGI/1.2" HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8" HTTP_ACCEPT_ENCODING: "gzip, deflate" HTTP_ACCEPT_LANGUAGE: "en-CA,en-GB;q=0.9,en-US;q=0.8,en;q=0.7" HTTP_CACHE_CONTROL: "no-cache" HTTP_PRAGMA: "no-cache" REMOTE_ADDR: "10.159.208.89" SERVER_NAME: "alpha.joatu.org" SERVER_PROTOCOL: "HTTP/1.1"
Response
Headers:
None