[Rails] ActionCable, Forms & CSRF

2016-05-24 Thread Dave Bell
I have a search view which collects a search term from a user and then passes them to the search result view. The results view is constructed in two parts: 1) basic server side rendering which builds the overall structure of the page and includes a search form 2) ActionCable delivers rendered

Re: [Rails] Rails 5.0.0.beta3 thinks it is in production mode when it isn't.

2016-03-09 Thread Dave Bell
9, 2016 at 6:13:47 AM UTC-8, Colin Law wrote: > > On 8 March 2016 at 23:22, Dave Bell > wrote: > > I believe a similar thing is happen with my install of Rails 5. It > appears > > to me that the development environment is attempting to serve assets via > the >

Re: [Rails] Rails 5.0.0.beta3 thinks it is in production mode when it isn't.

2016-03-09 Thread Dave Bell
I believe a similar thing is happen with my install of Rails 5. It appears to me that the development environment is attempting to serve assets via the pipeline. For my experiment I use an image_tag to pull down an image. In the first load case the PNG requested is not present in app/assets/