Re: [Rails] how to override a gem's views

2019-01-08 Thread fugee ohu
On Tuesday, January 8, 2019 at 10:22:22 AM UTC-5, Walter Lee Davis wrote: > > > > On Jan 8, 2019, at 1:16 AM, fugee ohu > > wrote: > > > > > > > > On Monday, January 7, 2019 at 8:35:45 PM UTC-5, Walter Lee Davis wrote: > > > > > On Jan 7, 2019, at 7:50 PM, fugee ohu wrote: > > > > > >

[Rails] ArgumentError (Before process_action callback has not been defined)

2019-01-08 Thread AJ
I am updating from rails `4.1.7` to `5.1.5` and ruby `2.1.2` to `2.5.3`. I have been reading the rails upgrade guide , but I'm having an issue that I might not fully understand what is going on or have missed something somewhere. I

Re: [Rails] how to override a gem's views

2019-01-08 Thread Walter Lee Davis
> On Jan 8, 2019, at 1:16 AM, fugee ohu wrote: > > > > On Monday, January 7, 2019 at 8:35:45 PM UTC-5, Walter Lee Davis wrote: > > > On Jan 7, 2019, at 7:50 PM, fugee ohu wrote: > > > > > > > > On Saturday, January 5, 2019 at 8:33:18 AM UTC-5, fugee ohu wrote: > > I'm trying to

Re: [Rails] column named "key"

2019-01-08 Thread Rob Zolkos
There didn't seem to be a question here but assume you want to know how to select a column with a reserved word. This issue has some examples https://github.com/rails/rails/issues/2601 Looks like using a symbol or double quoting it should work. On Mon, Jan 7, 2019 at 7:40 PM fugee ohu wrote:

[Rails] Re: Logging in as a seeded user in an OmniAuth app

2019-01-08 Thread Rob Jonson
looks like that example is using devise, so you can bypass signin (after checking authorisation) https://www.rubydoc.info/github/plataformatec/devise/Devise%2FControllers%2FSignInOut:bypass_sign_in or see: