Ramin Hazegh

Results 12 comments of Ramin Hazegh

Having a similar issue (CanCan 1.6.9, Devise 2.1.2, Rails 3.2.11). Is there any workarounds for this issue?

I tried `controller.stub!(:current_user).and_return(user)` in the controller RSpec test but I am still getting _CanCan::AccessDenied: You are not authorized to access this page._ When I access the controller with curl, it...

I debugged the code and it turns out the factory that created the user was not assigning any roles to the user. I fixed the factory and now it works...

+1 for OpenVPN support

I thought I'd try installing `openvpn` in the downloaded container and if it worked, I'd add it to the Dockerfile. I ran a `bash` in the docker container: ``` $...

@ribmo I only did some experiments but did not use this for real. I think if one wants to use VPN for a torrent client, all network connections should be...

If you are using "Oh My Tmux" (https://github.com/gpakosz/.tmux): Open `.tmux.conf` and find the following line: ``` # status_right=$(echo "$status_right" | sed 's%#{circled_session_name}%#(cut -c3- ~/.tmux.conf | sh -s _circled #S)%g') ```...

> > Solution - to override parser for `date` fields: > > ``` > > var types = require('pg').types > > types.setTypeParser(types.builtins.DATE, (val) => val) > > ``` > >...

@gitim Let's reopen this issue. I have the exact same problem as @harrisonturton