Displaying 8 results from an estimated 8 matches for "securityerror".
2006 Mar 16
4
Handling/Catching Exceptions
Hello!
I was wondering, sometimes I raise an exception in my Rails apps, e.g.:
raise SecurityError unless @post.user == logged_in_user
Now: is there any way to catch that SecurityError exception somewhere
and render a custom template? E.g., I want to render
''app/views/content/security_error.rhtml''
Does anyone know how to do this?
Thanks a bunch,
Rob
2008 Feb 28
2
random exception driving me crazy: SecurityError (Insecure: can't modify array)
Hi all, I''m running into a very strange but incredibly annoying
problem that I just can''t seem to solve.
The exception is occurring from a seemingly innocuous line in my code,
a simple ''logger.warn("some debug information")''. The backtrace
follows:
SecurityError (Insecure: can''t modify array)
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/buffered_logger.rb:68:in
`<<''
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/buffered_logger.rb:68:in
`add''
[RAILS_ROOT]/vendor/rails/active...
2008 Aug 25
1
acts_as_state_machine: SecurityError calling insecure method
(also posted on rails forum:
http://railsforum.com/viewtopic.php?id=21744, then I discovered this
lilst and there are many more people...)
Hi, since yesterday I suddenly recieve lots of such messages in my
logfiles - and everything in the user model that uses that plugin fails!
My deployed Rails code hasn''t changeed in 5 days, and those errors
started to appear only a day ago.
2016 Feb 18
2
Asterisk 13 and WebRTC. Is wiki page still valid ?
...C.
My server has asterisk 13.7.0.
I'm following the instructions from the wiki [1].
So I'm using [2] live demo from a Chrome navigator (v48) on Debian Jessie
station.
Whenever I type something like ws://123.123.123.123:8088/ws in Expert Mode
form (see [1]), I'm getting this error :
*2:SecurityError: Failed to construct 'WebSocket': An insecure WebSocket
connection may not be initiated from a page loaded over HTTPS.*
If I replace ws://123.123.123.123:8088/ws with wss://123.123.123.123:8088/ws,
this error message becomes with
*Disconnected: Failed to connet to the server*
My questions...
2005 Jan 28
17
breakpoint not working
I keep getting:
No connection to breakpoint service at druby://localhost:42531
(DRb::DRbConnError)
Tries to connect will be made every 3 seconds...
This happens every time i run ./script/breakpointer using 0.9.5 on OSX
or Windows.
Any ideas?
2009 Oct 28
1
Using Cucumber with Lockdown
...ry_time=>Wed Oct 28 13:33:43 +0000 2009,
:access_rights=>["user_sessions/new", "user_sessions/create",
"users/new", "users/create"], "flash"=>{}, :return_to=>"/admin",
:session_id=>"14
ff27628c482546f0604f7d241c"} (SecurityError)
When I test it manually on the site everything works as expected.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 24
2
Access to session data
Greetings,
This, I hope, is a simply answered question.
Based on Agile Web Development with Rails (depot application), I''m
developing a single table application for contact info. There is only
an admin side to this, so there''s always authentication.
Part of the info record (member) is changed_by and changed_at which I
automatically want updated. Changed_at looks after
2016 Feb 18
2
Asterisk 13 and WebRTC. Is wiki page still valid ?
...> I'm following the instructions from the wiki [1].
> So I'm using [2] live demo from a Chrome navigator (v48) on Debian Jessie
> station.
>
> Whenever I type something like ws://123.123.123.123:8088/ws in Expert
> Mode form (see [1]), I'm getting this error :
> *2:SecurityError: Failed to construct 'WebSocket': An insecure WebSocket
> connection may not be initiated from a page loaded over HTTPS.*
> If I replace ws://123.123.123.123:8088/ws with wss://
> 123.123.123.123:8088/ws, this error message becomes with
> *Disconnected: Failed to connet to the s...