Re: [Rails] vertical align a link_to(image_tag

2017-03-02 Thread Rob Biedenharn
> On 2017-Mar-2, at 19:00 , fugee ohu wrote: > > don't know why i can't get this image to vertical-align to the top of the > div, i'm not sure if i'm passing the class the right way > > here's my html > <%= link_to (image_tag("logo.png")), '/' , {:class => "logo"} %>

[Rails] vertical align a link_to(image_tag

2017-03-02 Thread fugee ohu
don't know why i can't get this image to vertical-align to the top of the div, i'm not sure if i'm passing the class the right way here's my html <%= link_to (image_tag("logo.png")), '/' , {:class => "logo"} %> here's my css .logo { vertical-align: top; height: 100%; } -- You received this

[Rails] Re: Devise omniauth-facebook redirect_uri isn't an absolute URI

2017-03-02 Thread fabrizio bertoglio
I found the solution of the Problem at the following link. *http://stackoverflow.com/questions/42549803/devise-omniauth-facebook-redirect-uri-isnt-an-absolute-uri* -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this

Re: [Rails] show method variable

2017-03-02 Thread Joe Guerra
ok good. yes, I will call it from within that same controller.. Now I've got to figure out how to run an update query. On Thursday, March 2, 2017 at 11:15:20 AM UTC-5, tamouse wrote: > > > > On Thu, Mar 2, 2017 at 10:07 AM Joe Guerra > wrote: > >> In my show method

Re: [Rails] show method variable

2017-03-02 Thread tamouse pontiki
On Thu, Mar 2, 2017 at 10:07 AM Joe Guerra wrote: > In my show method for my products controller I've got a variable that > track qty ( @remaining ). > > Can I access this variable from another method within the same controller? > Joe, You *can* as it is an *instance

[Rails] show method variable

2017-03-02 Thread Joe Guerra
In my show method for my products controller I've got a variable that track qty ( @remaining ). Can I access this variable from another method within the same controller? Thanks, Joe -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

[Rails] An application resource called Cables

2017-03-02 Thread tonypm
I have an application which has a resource called cables. But after upgrading to Rails 5.0.1, I can no longer access the cables index page. in the log I get: Started GET "/cables" for 127.0.0.1 at 2017-03-02 12:32:04 + Started GET "/cable/s"[non-WebSocket] for 127.0.0.1 at 2017-03-02

[Rails] Devise omniauth-facebook redirect_uri isn't an absolute URI

2017-03-02 Thread fabrizio bertoglio
thanks a lot for the advise. I *migrated to Heroku* and I have the following problem with *facebook omniauth* authentication. When I authenticate with facebook the *callback URL* does not work and I get sent to the homepage https://barteringapps.herokuapp.com/#_=_ with the following log