[Rails] WEBrick server

2015-12-11 Thread Naresh Jilla
hi all, How to install WEBrick server in ubuntu14.0 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Rails] WEBrick server

2015-12-11 Thread Kanna Vrk
Hi, No need to install WEBrick, it will inside Ubuntu package. Thanks. Thanks & Regards, Kanna On Fri, Dec 11, 2015 at 3:55 PM, Naresh Jilla wrote: > hi all, > How to install WEBrick server in ubuntu14.0 > > -- > Posted via http://www.ruby-forum.com/. > > -- > You

Re: [Rails] WEBrick server

2015-12-11 Thread Colin Law
On 11 December 2015 at 10:25, Naresh Jilla wrote: > hi all, > How to install WEBrick server in ubuntu14.0 There is no Ubuntu 14.0, perhaps you mean 14.04. What exactly are you trying to do? Do you mean that you want it to be used when you run rails s? If so then which

[Rails] Re: create/unload runtime routes

2015-12-11 Thread Matt Jones
On Thursday, 10 December 2015 16:48:28 UTC-5, mark wrote: > > Hi, > > I am trying to create routes at runtime but I am finding this a but of a > challenge. I can get it to register as a route using the code below but > then when url_for( with_url_options ) is called it throws an on any >

[Rails] Re: Failure to install or update any gem through Win CMD

2015-12-11 Thread Matt Jones
On Monday, 30 November 2015 08:24:15 UTC-5, Ruby-Forum.com User wrote: > > Hello, > > I've been trying to install and update different gems to work with Ruby > on Rails, but keep getting the same error, apparently indicating I can't > install or update any gem: > > I generally type in

[Rails] Re: Any one has Rails Bricks 3.2.8

2015-12-11 Thread Karthikeyan A K
Hello Prople, Have a cached version of railsbricks, have put it up here https://rubygems.org/gems/phoenixbricks . Will work on it when I am not lazy. Please contribute to improve it if you can. On Friday, December 11, 2015 at 12:28:18 PM UTC+5:30, Karthikeyan A K wrote: > > Hello Folks, > >

Re: [Rails] Migration with active records

2015-12-11 Thread Colin Law
On 11 December 2015 at 02:02, Manuel Shenavai wrote: > Hi everyone, > > I got a question regarding active records. Im new to ruby as well as active > records. > > As mentioned here, its possible to migrate database schema with active > records. > "Rails provides a

Re: [Rails] Re: Why is admin_signed_in? false even after logging in as admin?

2015-12-11 Thread Jason Hsu, Ruby on High Speed Rails
Thanks. Yes, this was the problem. Now I understand that this is the proper procedure for logging in for functional tests. This raises another question: Given my use of if statements in my def create function, is there any point to using before_filter or before_action in the controller? The

Re: [Rails] Why is admin_signed_in? false even after logging in as admin?

2015-12-11 Thread Colin Law
On 11 December 2015 at 17:54, Jason Hsu, Ruby on High Speed Rails wrote: > Back story: > I'm developing a new Rails site for the local Ruby user group. I'm using > Devise to provide authentication for separate user and admin classes. > > Current task: > I'm working on the

[Rails] Why is admin_signed_in? false even after logging in as admin?

2015-12-11 Thread Jason Hsu, Ruby on High Speed Rails
Back story: I'm developing a new Rails site for the local Ruby user group. I'm using Devise to provide authentication for separate user and admin classes. Current task: I'm working on the create/new function for the sponsor class. Sponsors are an independent class and are not tied to users,

[Rails] Re: Why is admin_signed_in? false even after logging in as admin?

2015-12-11 Thread Jason Hsu, Ruby on High Speed Rails
The admin_signed_in? method comes from the Devise gem. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To

Re: [Rails] Why is admin_signed_in? false even after logging in as admin?

2015-12-11 Thread Rob Biedenharn
> On 2015-Dec-11, at 14:58 , Jason Hsu, Ruby on High Speed Rails > wrote: > > Thanks. Yes, this was the problem. Now I understand that this is the proper > procedure for logging in for functional tests. > > This raises another question: Given my use of if statements

Re: [Rails] Re: Why is admin_signed_in? false even after logging in as admin?

2015-12-11 Thread Rob Biedenharn
> On 2015-Dec-11, at 13:12 , Jason Hsu, Ruby on High Speed Rails > wrote: > > The admin_signed_in? method comes from the Devise gem. Are you using the :admin scope to do the login? I.e., somewhere in your login_as helper there should be something like? sign_in