mrbubbles

Activity Graph

Page 1 of 11 | Next »

2019-05-30

[15:08:34] mrbubbles: has joined #RubyOnRails

2018-11-16

[16:33:07] mrbubbles: has joined #RubyOnRails
[16:33:36] mrbubbles: Evening folks. I'm just trying to override a controller action (the controller is provided by Devise) but leave the rest of the controller intact. Am I correct in thinking that I should use a decorator for that?
[20:41:11] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2018-10-09

[21:31:54] mrbubbles: has joined #RubyOnRails
[21:31:59] mrbubbles: I'm trying to stub an active model relationship in rspec. basically I want to be able to access @project.owner.name and have it equal "paul" but I'm struggling with it
[21:32:23] mrbubbles: I thought I'd be able to use @project = { owner: { name: 'paul' } } but is there a better way?
[21:46:45] mrbubbles: ah, receive_message_chain :) nice
[21:56:35] mrbubbles: Quit: Textual IRC Client: www.textualapp.com
[21:56:59] mrbubbles: has joined #RubyOnRails
[21:57:27] mrbubbles: Client Quit

2018-09-15

[13:30:04] mrbubbles: has joined #RubyOnRails
[13:35:27] mrbubbles: I've a rails API running on a server. Is there a way that I can do a catch-all route to redirect to the main app, if none of the API routes match?
[23:06:26] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2018-09-14

[21:17:40] mrbubbles: has joined #RubyOnRails
[23:22:54] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2018-09-13

[10:28:18] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…
[10:34:26] mrbubbles: has joined #RubyOnRails
[10:40:59] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-09-12

[21:06:56] mrbubbles: has joined #RubyOnRails
[21:07:01] mrbubbles: Good evening
[21:07:25] mrbubbles: Does anyone know whether it's possible to use send_file in a rails controller to send an image blob to a JS front end?
[21:09:35] mrbubbles: Ah, I was trying to I was use send_file path, type: 'application/pdf', disposition: 'inline' to send a PDF but for some reason the PDFs always come out blank in the front end, so I assumed I was doing something wrong
[21:12:10] mrbubbles: In the front end I'm using axios to GET the end point (using a Accept: 'application/pdf' header) then constructing a new Blob([response.data]. Does that sound correct?
[21:18:58] mrbubbles: Thanks apeiros. Okay so the URL is working fine, so I guess that the Rails half of things is working great (as usual). Must be the JS end that's screwing up (as usual!)

2018-08-30

[19:35:57] mrbubbles: has joined #RubyOnRails
[19:36:00] mrbubbles: Does anyone have much experience with Active Record Serializers?
[19:36:22] mrbubbles: I have 3 has_many relationships on a model, I'm just trying to wrap them in a key but it's not working :(
[21:21:32] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:23:38] mrbubbles: has joined #RubyOnRails
[21:26:55] mrbubbles: Client Quit

2018-07-27

[14:47:03] mrbubbles: has joined #RubyOnRails
[14:47:43] mrbubbles: hey folks, I've confused myself a bit about polymorphism. if I've got a model called user, which has_many :degrees, has_many :cerficiates, can I group these somehow so I can do user.achievements ?
[15:15:40] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2018-06-29

[00:42:17] mrbubbles: Ping timeout: 268 seconds

2018-06-28

[10:42:15] mrbubbles: has joined #RubyOnRails

2018-06-14

[02:15:57] mrbubbles: Ping timeout: 260 seconds

2018-06-13

[14:47:39] mrbubbles: has joined #RubyOnRails
[14:50:48] mrbubbles: another way to do it?
[14:50:48] mrbubbles: Hey folks. I'm trying to make a POST request to another rails app. In the target app, the first line is: @params = JSON.parse(request.params[:data]). I'd been encoding my data to JSON and then attaching to the request body (see here: https://gist.github.com/joeczucha/628366af7fa233f67bd3cb9f8b04a817) but the target server thinks that it's empty. I'm guessing that it's not being sent as a URL param (sorry I'm a bit rubbish at this stuff), is there
[14:51:56] mrbubbles: States","countryCode": "US","company": "Widgets Inc."}}'
[14:51:56] mrbubbles: To give some context, the following CURL command works as expected: curl -X POST https://support.xx.com/webhook/form/xx --data-urlencode 'data={"message": {"kind": "ticket","subject": "Need Help","body": "Hi there. I need help.","channel": "web","team":"tier 1"},"customer": {"fullName": "Bob Doe","emailAddress": "bob@example.com","work_phone": "(555) 555-5555","home_phone": "(555) 555-5555","city": "Palo Alto","region": "CA","country": "United
[15:02:00] mrbubbles: lupine - yep I thought so. so it's not just the encoding that's different?
[15:04:12] mrbubbles: lupine yep I'd prefer to just be sending JSON tbh but the target app wasn't written by me so I don't have control over it
[15:06:24] mrbubbles: Okay, I'll check. Thanks
[15:32:04] mrbubbles: Ugh this is horrible

2018-05-27

[02:06:55] mrbubbles: Ping timeout: 245 seconds

2018-05-24

[10:28:28] mrbubbles: has joined #RubyOnRails
[10:28:38] mrbubbles: Hey folks. If I'm supplying an array of symbols, but sometimes I want to include a proc, is there a way I can do this? I'm basically listing some columns to use in an admin panel. It's an array at the moment, I was going to use a hash but then I have to duplicate everything
[10:28:50] mrbubbles: Sorry I explained that terribly, see here https://gist.github.com/joeczucha/4aef4512bf88ccabcf0029ed7295abfa
[10:29:59] mrbubbles: dminuoso fair enough, is there a better pattern for what I'm trying to do ?
[10:32:08] mrbubbles: Thanks for the tips dminuoso

2018-05-03

[13:37:31] mrbubbles: has joined #RubyOnRails
[13:41:13] mrbubbles: Hey folks, I was just hoping someone can advise on using accepts_nested_attributes_for. Here is a minimal recreation of my issue: https://gist.github.com/joeczucha/26b25bf65f74c34f613c2667c7d84503
[13:41:52] mrbubbles: Basically A and C are joined through join model B. I want to create a new C and at the same time create a join record B, with a couple of attributes
[13:42:40] mrbubbles: But when I use accepts_nested_attributes_for C is able to create B but doesn't include the ID of A so it fails
[13:42:43] mrbubbles: Hopefully my gist will make sense :)
[14:52:51] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2018-04-30

[01:19:58] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-29

[22:13:44] mrbubbles: has joined #RubyOnRails

2018-04-18

[08:39:44] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2018-04-17

[17:13:30] mrbubbles: has joined #RubyOnRails
[17:13:52] mrbubbles: Good evening. I've got a collection of models - jobs, classifieds, etc. and I want to collect all from a given user into an array. So basically collect the results of self.jobs, self.classifieds, etc
[17:14:11] mrbubbles: I thought I could use %w[jobs classifieds].inject { |c| self.send(c) } but that seems to return each array value rater then the results of the method call?
[17:23:05] mrbubbles: tbuehlmann I had considered that but I thought that inject would keep an accumulator of the results of each method call?
[17:25:53] mrbubbles: It's more that I want [job_1, job_2, classified_1, classified_2]
[17:26:14] mrbubbles: So to call self.jobs and append the result to a array, then self.classifieds and append the classifieds to the array
[17:26:33] mrbubbles: Okay I'll try, thanks
[17:48:04] mrbubbles: Worked a treat, thanks tbuehlmann

2018-03-13

[12:40:26] mrbubbles: has joined #RubyOnRails
[12:40:31] mrbubbles: I'm building an API based Rails/Vue app.
[12:40:44] mrbubbles: I want to have the ability to show users messages if needed - so a popup saying "a new file has arrived". I was thinking of just having a messages table which messages get added to and then a ajax call on the front end that queries it every 5 seconds and displays messages if any exist. Does that sound sensible?
[12:41:08] mrbubbles: I wasn't sure if something like ActionCable was more suitable (I'm a bit confused by/scared of ActionCable)
[12:44:02] mrbubbles: Thanks tbuehlmann okay I'll look into it
[13:39:53] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-03-08

[15:04:09] mrbubbles: has joined #RubyOnRails
[15:05:03] mrbubbles: I've been reading around that STI is evil... is this really the case? My models are all *pretty* similar but with a few unique fields each. 16 models, there would be 37 unique columns in total if I use STI
[15:05:18] mrbubbles: Sorry, so 37 columns in total in the DB
[21:30:14] mrbubbles: Quit: My iMac has gone to sleep. ZZZzzz…

2018-02-22

[00:30:05] mrbubbles: Hmm trying to run a Spree installer... getting a weird error: append public/robots.txt The file /Users/joe/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/bundler/gems/alchemy-solidus-0906127071ca/public/robots.txt does not appear to exist
[00:30:19] mrbubbles: It's like it's looking inside another gem folder rather than in the root of the project :(
[01:15:36] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-02-21

[15:45:12] mrbubbles: Quit: Textual IRC Client: www.textualapp.com
[15:45:34] mrbubbles: has joined #RubyOnRails
[16:01:38] mrbubbles: If I want a random user or a random profile, is there a cleaner way than: [User.all.sample, Profile.all.sample].sample
[19:54:55] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:55:14] mrbubbles: has joined #RubyOnRails
[23:55:37] mrbubbles: Has anyone ever seen where you install a gem and it starts kicking off about sqlite3 not being installed?
[23:55:44] mrbubbles: I'm using postgres on the app...

2018-02-20

[09:10:02] mrbubbles: has joined #RubyOnRails
[09:14:56] mrbubbles: FactoryBot - is there any way to extract common factory behaviour into a single class? Like concerns, basically, but for Factories?
[09:17:22] mrbubbles: Ah - you can just register traits globally

2018-01-19

[20:15:29] mrbubbles: Ping timeout: 248 seconds

2018-01-17

[13:37:02] mrbubbles: has joined #spree
[13:37:41] mrbubbles: has joined #RubyOnRails

2018-01-14

[08:20:47] mrbubbles: Ping timeout: 248 seconds

2018-01-11

[10:30:27] mrbubbles: has joined #spree
[11:34:29] mrbubbles: Quit: Textual IRC Client: www.textualapp.com
[18:28:42] mrbubbles: has joined #spree

2018-01-09

[04:04:04] mrbubbles: Ping timeout: 252 seconds

2018-01-08

[13:28:44] mrbubbles: has joined #spree

2017-12-18

[17:32:31] mrbubbles: has joined #RubyOnRails
[17:32:50] mrbubbles: Has anyone used Pundit?
[17:34:23] mrbubbles: Oh amperry - I was going to say... what version of factoryBot do you have in your Gemfile.lock?
[17:35:09] mrbubbles: https://github.com/thoughtbot/factory_bot/issues/1055
[17:35:18] mrbubbles: I saw this earlier... someone else was discussing the same issue you had
[17:35:34] mrbubbles: See https://github.com/thoughtbot/factory_bot/issues/1055#issuecomment-338425454
[17:37:41] mrbubbles: Hmm, I'd go the other way
[17:37:51] mrbubbles: Try updating your Gemfile to include the latest Github version of factory_bot_rails
[17:37:53] mrbubbles: e.g. gem 'factory_bot_rails', github: 'thoughtbot/factory_bot', branch: '4-9-0-stable'
[17:37:59] mrbubbles: That will hopefully sort it
[17:51:59] mrbubbles: amperry is the error you're getting: NameError: uninitialized constant User ?
[17:53:10] mrbubbles: Ah no sorry my bad
[17:53:30] mrbubbles: Okay so I've just scaffolded up a new project and done the barebones to have FactoryBot be able to build a new object
[17:54:21] mrbubbles: Things to check: 1) in your gemfile you need rspec-rails and factory_bot_rails and these should be wrapped in group :development, :test do
[17:55:33] mrbubbles: Next, if you're creating a factory for :user then you need to have a User model and a users table created. You should have this already though
[17:55:56] mrbubbles: Next, in spec/factories/users.rb (plural) you should have the following:
[17:56:11] mrbubbles: https://gist.github.com/joeczucha/c698019c8a840fd10bbed1dbf4a5f783
[17:56:19] mrbubbles: Note factory name is singular, but in a plural filename
[17:58:48] mrbubbles: No I haven't needed to
[17:59:14] mrbubbles: Okay, and it's named plural? Not sure if it makes a difference but just in case
[18:00:44] mrbubbles: Hmm. How far along is the project? Would it be a huge job to remove anything confidential and git a copy so that I can have a play? This is annoying me now :)
[18:04:38] mrbubbles: Haha mate don't worry my code is hardly amazing
[19:56:42] mrbubbles: Remote host closed the connection
[20:04:11] mrbubbles: has joined #RubyOnRails
[20:21:44] mrbubbles: Where is the best place to test URL params? As in, I have a few dropdowns on the page which each add a sorting param to the URL. I want to check that clicking one sets the URL param correctly
[20:23:20] mrbubbles: Thanks dminuoso - so i'm sorting using scopes. Probably capybara to test that the url params are set and then test that the scopes work as expected in the model spec?
[20:45:29] mrbubbles: Is there any way to get URL params with Capybara? I'm using expect(page).to have_current_path at the moment but that matches the entire URL
[22:07:46] mrbubbles: dminuoso - sorry I'm struggling to work out how to use Rack::Utils to grab the URL params... can you point me in the right direction? Should I be using unescape?
[22:30:47] mrbubbles: Ping timeout: 255 seconds

2017-12-17

[17:51:31] mrbubbles: has joined #RubyOnRails
[17:52:32] mrbubbles: hello friends. quick rspec question - where is the best place to check that a form includes all the necessary fields? would that be a view spec or a feature spec?
[18:29:06] mrbubbles: amperry I like to do it before_save, so that the defaults are saved along with the record.
[18:51:43] mrbubbles: amperry there is something funky going on with your factories
[18:54:32] mrbubbles: I've added a comment to your gist to suggest using traits, just to avoid the repitition
[21:27:04] mrbubbles: amperry try moving your factory into spec/factories/users.rb
[21:35:48] mrbubbles: amperry what happens if you try FactoryBot.build(:user) in rails console
[21:38:22] mrbubbles: amperry Shouldn't need to do anything, do you have FactoryBot in group :development, :test in your Gemfile?
[22:23:10] mrbubbles: amperry No, don't know any alternatives. TBH never had any problems installing it myself
[22:23:19] mrbubbles: Have you tried just scaffolding a new project, just to see if the error persists?
[23:59:09] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…

2017-12-07

[14:48:23] mrbubbles: *.net *.split
[14:54:56] mrbubbles: has joined #spree
[18:12:56] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2017-12-05

[18:56:01] mrbubbles: has joined #spree

2017-12-03

[08:34:16] mrbubbles: Ping timeout: 260 seconds

2017-12-01

[02:28:24] mrbubbles: has joined #spree

2017-11-30

[11:54:14] mrbubbles: I'm trying to integrate Trestle with Devise. Trestle can call a function on login which authenticates a user but I can't find which one to call on the Devise model. I thought it would be something like User.authenticate(email, password) can anyone shed any light?

2017-11-29

[17:14:43] mrbubbles: has joined #RubyOnRails
[17:14:43] mrbubbles: has joined #spree
[17:15:17] mrbubbles: Don't seem to be able to set Rails.cache.write in a sidekiq job... the exact same code works in console, I can quit console and reload and it still retains it... but in the sidekiq job it doesn't seem to carry thoguh
[17:15:23] mrbubbles: Am I overlooking something obvious?
[17:17:51] mrbubbles: I don't know about that
[17:19:01] mrbubbles: Oh I think I know, it's because the app is on heroku, it's using filestore caching and the file systems between the worker and the app processes are different

2017-11-10

[04:26:23] mrbubbles: Read error: Connection reset by peer

2017-11-09

[08:34:51] mrbubbles: Quit: Textual IRC Client: www.textualapp.com
[11:47:49] mrbubbles: has joined #spree

2017-11-08

[16:04:50] mrbubbles: has joined #spree
[16:04:56] mrbubbles: has joined #RubyOnRails
[16:05:38] mrbubbles: Hey folks. Quick question about API responses. Where is the correct place to include "meta" about the results you're returning? I'm returning chart series and depending on the date range requested it returns daily, monthly, weekly readings. I want to include this in the response (for debugging) so would I just add a key, or a response header
[16:07:36] mrbubbles: Nice, thanks havenwood
[16:23:19] mrbubbles: I'm having a bit of trouble with a problem. Basically data is arriving every 5 minutes. It's stored, then we have a number of views - which kind of cascade - but it's causing the queries to be super slow
[16:23:28] mrbubbles: This might be more of a postgres question actually :)

2017-11-06

[14:44:54] mrbubbles: has joined #spree
[15:13:18] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2017-11-02

[14:06:15] mrbubbles: has joined #spree
[15:04:53] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2017-10-06

[15:04:42] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2017-10-05

[14:40:47] mrbubbles: has joined #spree
[14:46:43] mrbubbles: has joined #RubyOnRails
[14:47:00] mrbubbles: When deploying to heroku with a RAils 5.1 app, what dictates the version of Yarn that is installed? Is it the buildpack?
[15:21:27] mrbubbles: I was trying to use Webpack on my project after upgrading to Rails 5.1 but it's causing no end of issues. Is there a single line I can comment out to just revert to Asset Pipeline, but leaving all the webpack stuff there so I can look at it when I have more time?

2017-09-08

[19:09:58] mrbubbles: Ping timeout: 255 seconds

2017-09-06

[11:32:36] mrbubbles: Raandom Q - let's say I built a website dashboard in Rails that I wanted to run some linux commands. What would be the best way to do that? And (if possible) capture stdout and output it on the screen? Is Open4 the preferred method?
[11:34:16] mrbubbles: Good point, yeah I suppose I could do it in the background that would be fine. But would be cool to be able to catch the logs though, just so can review it later
[12:16:16] mrbubbles: dminuoso can sidekiq handle shell commands? Or would I sitll use Open4

2017-09-05

[20:33:57] mrbubbles: has joined #spree
[20:34:04] mrbubbles: has joined #RubyOnRails
[20:34:24] mrbubbles: Good evening folks
[20:35:03] mrbubbles: Raandom Q - let's say I built a website dashboard in Rails that I wanted to run some linux commands. What would be the best way to do that? And (if possible) capture stdout and output it on the screen

2017-09-02

[07:11:46] mrbubbles: Ping timeout: 264 seconds

2017-08-28

[02:30:45] mrbubbles: Ping timeout: 240 seconds
[09:32:46] mrbubbles: has joined #spree
[09:44:23] mrbubbles: Quit: Textual IRC Client: www.textualapp.com
[09:44:50] mrbubbles: has joined #RubyOnRails
[09:44:58] mrbubbles: has joined #spree
[09:45:10] mrbubbles: syndikate sorry for the slow reply, yes I do have webpack
[09:45:44] mrbubbles: I understand the bit about installing packages - i'm just not sure what to do next :) all the tutorials seem to focus on how easy doing "yarn add" is but then go a bit quiet after that :)
[09:54:50] mrbubbles: No problem, sorry it was a couple of days ago. So I'm using Rails 5.1 and everyone is saying to use Yarn to manage front-end packages. So, if I want to use (for example) flatpickr (https://chmln.github.io/flatpickr/getting-started/) I see I can just say "yarn install flatpickr"
[09:55:08] mrbubbles: Sorry "yarn add". But I'm not then sure how to import the JS and styles into my app
[09:55:36] mrbubbles: It says "If you’re using a bundler, e.g. webpack, you’ll need to import flatpickr" : const flatpickr = require("flatpickr") but I wasn't sure where to put that
[10:04:01] mrbubbles: Ah yes I've got that uncommented
[10:04:09] mrbubbles: But I was thinking that it might be better to use webpack?
[10:04:19] mrbubbles: So that I can use some nice ES6 stuff maybe :D
[11:18:22] mrbubbles: Cool yep so I've got the webpack gem installed, that's all good
[11:18:42] mrbubbles: Just not sure, once I've yarned in a dependency, how to have webpack pull it in

2017-08-26

[16:14:19] mrbubbles: has joined #spree
[16:14:29] mrbubbles: has joined #RubyOnRails
[16:15:37] mrbubbles: I'm still a little confused by management of assets with Yarn. So I've installed clipboard.js with yarn, it's in my node_modules folder. How would I then require it? Do I need to import via application.js

2017-08-11

[02:18:55] mrbubbles: Ping timeout: 260 seconds

2017-08-09

[11:21:33] mrbubbles: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:14:35] mrbubbles: has joined #spree

2017-08-08

[20:42:36] mrbubbles: has joined #RubyOnRails
[23:23:32] mrbubbles: I must say, I'm not a fan of this new webpacker build process
[23:23:40] mrbubbles: Seems to make everything 10x more compilated
[23:31:44] mrbubbles: ocpysh Yep, you just need to install Yarn
[23:31:54] mrbubbles: Rails 5.1 apps use Yarn as a package manager so you need to have it installed locally
[23:45:42] mrbubbles: Looks pretty good. TBH I got a bit braindead after HAML, it's just another thing to think about
[23:45:50] mrbubbles: I know HTML so well that I'd rather just bash that out
[23:45:58] mrbubbles: Probably should look into it though
[23:50:19] mrbubbles: ocpysh Is that something where you just get a Digital Ocean box, run some software and it provisions it and then you can deploy to it with a git push?
[23:51:26] mrbubbles: There are two that I know of. Dokku and Flynn. I've played with both: found Dokku to be a bit unreliable but Flynn is ace
[23:51:28] mrbubbles: https://flynn.io/
[23:52:00] mrbubbles: I've been running it in production for about 6 months. If you've used Heroku it's basically a self-hosted clone of that. You do it all from the command line: deploy (git push), sync databases, etc
[23:55:17] mrbubbles: No no, that's the hosted version
[23:56:00] mrbubbles: Ah, well it's pretty easy to setup
[23:56:06] mrbubbles: But otherwise if you want hosted why not just use Heroku?
[23:57:12] mrbubbles: Yeah it can be. Otherwise you should consider Flynn, really. It's probably half an hour to setup but once you've done that you're away and it's super quick to deploy apps
[23:57:30] mrbubbles: You can do it on a $10 Digital Ocean box so it's pretty good, I've had 10+ apps running on there https://flynn.io/docs/installation/manual
[23:58:07] mrbubbles: You can also deploy node apps, static sites, phoenix apps to the same box

2017-08-01

[15:39:44] mrbubbles: Quit: Textual IRC Client: www.textualapp.com
[15:39:57] mrbubbles: has joined #RubyOnRails
[15:40:32] mrbubbles: hi folks. I'm struggling with this new "use yarn instead of bundler" thing in rails 5.1. trying to use yarn to install font-awesome. has anyone managed to get that working?
[15:41:16] mrbubbles: I've installed it just fine, included it in my SCSS and then used the $fa-font-path path to specify the font path... all works fine in development. But in production the font files are missing. Maybe not being precompield correctly?
[17:27:53] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2017-07-31

[13:54:27] mrbubbles: has joined #spree
[13:54:50] mrbubbles: has joined #RubyOnRails
[13:55:41] mrbubbles: Apologies in advance if this is a silly question, but I'm using Solidus and overriding a back-end product edit form view. That bit works fine, but the view renders a couple of partials... which aren't found (as I haven't copied those over). Is there a way that I can tell the view to look in the engine to find the partial, or shoudl I just copy those over too?
[13:56:46] mrbubbles: This is the form- https://github.com/solidusio/solidus/blob/master/backend/app/views/spree/admin/products/_form.html.erb - line 52 is causing the error. I know you can prefix a route with a namespace so that it knows what to target, perhaps its the same with partialss?
[14:23:07] mrbubbles: Thanks say^ I'll try that :)
[14:31:02] mrbubbles: Ping timeout: 258 seconds
[18:19:11] mrbubbles: has joined #spree

2017-07-13

[11:23:39] mrbubbles: has joined #RubyOnRails
[11:23:56] mrbubbles: has joined #spree
[16:20:49] mrbubbles: Read error: Connection reset by peer

2017-07-02

[17:26:52] mrbubbles: Ping timeout: 260 seconds

2017-06-28

[01:57:12] mrbubbles: Ping timeout: 260 seconds
[15:12:35] mrbubbles: has joined #spree
[18:26:01] mrbubbles: has joined #RubyOnRails

2017-06-27

[13:56:39] mrbubbles: has joined #spree
[18:00:20] mrbubbles: has joined #RubyOnRails

2017-06-23

[19:58:04] mrbubbles: Quit: Textual IRC Client: www.textualapp.com

2017-06-20

[11:23:36] mrbubbles: has joined #spree
[18:20:03] mrbubbles: has joined #RubyOnRails
[18:20:17] mrbubbles: You know how you can have namespaced engines - like main_app, then spree.products_path etc
[18:20:28] mrbubbles: Is there a way to check whether you're in one of those namespaces?