nachoman

Activity Graph

Page 1 of 2 | Next »

2018-05-27

[04:46:39] nachoman: has joined #RubyOnRails
[04:46:40] nachoman: has joined #ruby
[06:08:27] nachoman: Ping timeout: 240 seconds

2018-05-25

[17:25:02] nachoman: has joined #ruby
[17:25:02] nachoman: has joined #RubyOnRails
[17:30:37] nachoman: Ping timeout: 245 seconds

2018-03-16

[02:25:02] nachoman: has joined #RubyOnRails
[02:25:09] nachoman: has joined #ruby
[07:32:16] nachoman: has joined #RubyOnRails
[07:32:37] nachoman: has joined #ruby
[11:30:20] nachoman: has joined #RubyOnRails
[11:30:31] nachoman: has joined #ruby

2018-03-15

[01:18:56] nachoman: has joined #RubyOnRails
[01:19:12] nachoman: has joined #ruby
[06:41:17] nachoman: has joined #RubyOnRails
[06:41:25] nachoman: has joined #ruby
[14:38:34] nachoman: has joined #RubyOnRails
[14:38:51] nachoman: has joined #ruby
[14:45:19] nachoman: has joined #RubyOnRails
[14:45:30] nachoman: has joined #ruby

2018-03-14

[04:01:26] nachoman: has joined #ruby
[04:01:26] nachoman: has joined #RubyOnRails
[16:51:02] nachoman: has joined #ruby
[16:51:02] nachoman: has joined #RubyOnRails
[17:11:56] nachoman: psql? I don't using postgres @kapil___

2018-02-02

2017-11-21

2017-11-20

[23:23:18] nachoman: has joined #ruby
[23:23:18] nachoman: has joined #RubyOnRails
[23:25:40] nachoman: can two asset files with the same name be referenced from asset_path so I can use both from views without changing their names?
[23:27:09] nachoman: app/assets/global/img/foo.jpg app/assets/layouts/img/foo.jpg
[23:31:05] nachoman: thank you Radar
[23:56:08] nachoman: Radar: when I try to reference an assset like asset_path('global/img/foo.jpg') doesn't work, it says that is not present in the asset pipeline, but when I import it with asset asset_path('img/foo.jpg') it works. Is there another way to specify absolute path (including ancestor directory) using asset_path or another helper?

2017-11-16

[21:16:27] nachoman: has joined #ruby
[21:16:27] nachoman: has joined #RubyOnRails
[21:17:53] nachoman: there is a recommended way to have a full and api application in a single project?
[21:23:58] nachoman: what about parameters for the api? how can I simplify them?
[21:26:07] nachoman: I had a problem with parameters in which I had to pass those using a strange format like entiry[parameter] as the name, can be simplified?
[21:27:11] nachoman: like parameter=value?
[21:33:26] nachoman: I was trying to create a new object using the default scaffold restful method (create) like POST /posts with data: title=asdasd body=asdasd and I wasn't able to do that because of the sanitizer, do you have any reference in how to setup parameters in this case?
[21:34:14] nachoman: I was only able to create the object when i used parameters like posts[title] posts[body]
[22:40:34] nachoman: @tfitts: maybe using scopes http://guides.rubyonrails.org/active_record_querying.html#scopes
[22:45:57] nachoman: thank you alfie, your advice make me realize that I was reasoning wrong about the api

2017-11-15

[02:20:20] nachoman: has joined #ruby
[02:20:20] nachoman: has joined #RubyOnRails
[02:24:20] nachoman: (Devise) is it ok if I use devise_for :admin, class_name: 'User' to avoid writing all routes for admin/...<paths> again?
[02:48:32] nachoman: Thanks. I'm using polymorphic associations between User and Admin, Customers, ... should I use STI? is it simpler?
[17:53:28] nachoman: has joined #RubyOnRails
[17:53:36] nachoman: has joined #ruby

2017-06-19

[07:01:47] nachoman: has joined #ruby
[07:01:47] nachoman: has joined #RubyOnRails

2017-06-18

[21:53:13] nachoman: has joined #RubyOnRails
[21:53:14] nachoman: has joined #ruby
[23:15:21] nachoman: has joined #RubyOnRails
[23:15:27] nachoman: has joined #ruby

2017-06-12

[15:37:21] nachoman: has joined #RubyOnRails
[15:37:40] nachoman: has joined #ruby
[15:39:48] nachoman: Max SendQ exceeded

2017-06-11

[07:18:08] nachoman: has joined #ruby
[07:18:08] nachoman: has joined #RubyOnRails
[08:48:11] nachoman: Read error: Connection reset by peer
[22:13:40] nachoman: has joined #ruby
[22:13:40] nachoman: has joined #RubyOnRails

2017-06-10

2017-06-09

[08:06:18] nachoman: has joined #ruby
[08:06:18] nachoman: has joined #RubyOnRails
[09:12:55] nachoman: has joined #RubyOnRails
[09:13:20] nachoman: has joined #ruby
[12:30:40] nachoman: has joined #RubyOnRails
[12:30:46] nachoman: has joined #ruby
[21:56:59] nachoman: has joined #ruby
[21:56:59] nachoman: has joined #RubyOnRails

2017-05-15

[00:04:36] nachoman: has joined #ruby
[00:04:36] nachoman: has joined #RubyOnRails
[01:13:48] nachoman: has joined #ruby
[01:13:48] nachoman: has joined #RubyOnRails
[01:16:08] nachoman: Client Quit

2017-05-14

2017-05-13

[07:58:35] nachoman: has joined #ruby
[07:58:35] nachoman: has joined #RubyOnRails
[09:01:46] nachoman: has joined #ruby
[09:01:46] nachoman: has joined #RubyOnRails
[11:30:20] nachoman: has joined #ruby
[11:30:20] nachoman: has joined #RubyOnRails
[15:31:03] nachoman: has joined #RubyOnRails
[15:31:14] nachoman: has joined #ruby
[15:43:38] nachoman: has joined #ruby
[15:43:38] nachoman: has joined #RubyOnRails
[19:08:12] nachoman: has joined #ruby
[19:08:12] nachoman: has joined #RubyOnRails
[20:42:20] nachoman: has joined #RubyOnRails
[20:42:24] nachoman: has joined #ruby
[21:26:49] nachoman: has joined #RubyOnRails
[21:26:58] nachoman: has joined #ruby
[23:15:10] nachoman: has joined #RubyOnRails
[23:15:26] nachoman: has joined #ruby

2017-05-06

[08:45:51] nachoman: has joined #RubyOnRails
[08:46:33] nachoman: Hi all, anyone willing to discuss about sprockets issues?, I have a nice one here with ember gem :)
[13:12:16] nachoman: Remote host closed the connection

2017-05-05

[19:17:53] nachoman: has joined #RubyOnRails
[19:18:13] nachoman: Hi all, I'm experiencing some difficulties with sprockets on rails 4.2.8
[19:18:27] nachoman: And ember loader, actually
[19:18:33] nachoman: Anyone has some experience on that?
[19:19:06] nachoman: How are you?
[19:19:24] nachoman: Well, do your templates work fine at least?
[19:19:34] nachoman: Fine, thanks ;)
[19:19:52] nachoman: If your templates render fine, that's already good
[19:20:13] nachoman: and then, what are you supposed to be using to send this mail?
[19:20:17] nachoman: A provider?
[19:20:30] nachoman: Is the configuration for the provider ok?
[19:20:37] nachoman: And your credentials correct?
[19:22:47] nachoman: config.action_mailer.raise_delivery_errors = false
[19:22:47] nachoman: config.action_mailer.perform_deliveries = true
[19:22:48] nachoman: What about these configs? รง
[19:29:53] nachoman: This part seems to be ok
[19:30:11] nachoman: I wonder whether the problem is on authentication with the gmail server
[19:30:23] nachoman: Any log on that?
[19:34:05] nachoman: Maybe set the raise_delivery_errors to true and you'll get an exception
[19:34:18] nachoman: From there, you might get some more information
[19:40:36] nachoman: Cheers to that
[19:40:57] nachoman: By the way, any experience with ember and sprockets?
[19:41:12] nachoman: I'm troubleshooting an issue here now and am a bit lost
[19:41:20] nachoman: no probs, dbugger
[19:44:06] nachoman: Well, when precompiling the assets I get that sprockets cannot find ember/loader
[19:44:21] nachoman: Checked in these paths:
[19:44:21] nachoman: Sprockets::FileNotFound: couldn't find file 'ember/loader' with type 'application/ecmascript-6+module'
[19:44:37] nachoman: And I actually wonder why and what to do
[19:46:21] nachoman: This is on rails 4.2.8, in case it helps
[19:46:29] nachoman: And I can provide more info if needed
[19:57:48] nachoman: Well, actually the ember up is already running
[19:57:54] nachoman: What happens is the following
[19:58:04] nachoman: I run bundle exec rake assets:precompile RAILS_ENV=production
[19:58:10] nachoman: To get the assets precompiled
[19:58:26] nachoman: And after compiling some of them, I get this
[19:58:33] nachoman: Sprockets::FileNotFound: couldn't find file 'ember/loader' with type 'application/ecmascript-6+module'
[19:58:38] nachoman: And sprockets stops
[19:59:00] nachoman: I have actually found many issues with sprockets not finding files but nothing regarding this ember/loader
[19:59:06] nachoman: And I'm a bit lost now
[20:01:04] nachoman: the thing is I searched for this ember/loader and I find nothing anywhere in the project
[20:07:35] nachoman: Nope, I don't
[20:07:47] nachoman: Let me check what happens if I add it
[20:09:24] nachoman: Though I think is a dependency of ember-rails
[20:09:29] nachoman: and that one I do have
[20:09:53] nachoman: Yup, it failed same way and I just checked the Gemfile.lock and it was already there
[20:10:18] nachoman: it's really weird this problem
[20:10:42] nachoman: I just upgraded to rails 4.2.8 from 4.1.8 and it was all fine at 4.1.8
[20:10:49] nachoman: I'm checking that now
[20:12:04] nachoman: Actually, yes, there's this file there, the loader.rb
[20:12:22] nachoman: let's see if I find some js in there
[20:14:11] nachoman: yup, it's really strange
[20:14:24] nachoman: It states that contains that loader.js file but I don't find it either
[20:14:42] nachoman: I'll search on the gems whether there's such this file anywhere
[20:14:50] nachoman: but with that name I might get 100 targets
[20:14:58] nachoman: Yes, in the current gems on my box
[20:16:39] nachoman: Well, actually, there is
[20:16:42] nachoman: And it's there
[20:17:02] nachoman: .rbenv/versions/2.3.1/lib/ruby/gems//2.3.0/gems/ember-emblem-template-0.4.0/lib/emblem
[20:18:28] nachoman: .rbenv/versions/2.3.1/lib/ruby/gems//2.3.0/gems/ember-cli-assets-0.0.35/vendor/assets/ember
[20:18:31] nachoman: Copied the wron
[20:20:01] nachoman: yup, I'm now checking in the log whether this is not available on the sprockets path or something like that
[20:20:51] nachoman: No, I didn't
[20:21:11] nachoman: I just found out that what sprockets checks as paths for this file
[20:21:20] nachoman: Doesn't contain this path
[20:21:42] nachoman: How could I add it there?, and why is it not already added?
[20:23:23] nachoman: I just added it to vendor/assets/javascripts and see what happens
[20:25:56] nachoman: Well, it failed in the same way
[20:27:48] nachoman: Strange, anyway
[20:28:06] nachoman: I wonder whether I should fill up an issue in github for sprockets
[20:28:28] nachoman: Though I've seen there's some with similar content and the latest hasn't been commented after 10 days or so
[20:34:48] nachoman: I'm trying, though my expectations are quite low now
[20:35:04] nachoman: Well, it failed anyway
[20:36:43] nachoman: Well, I replicate it on the server
[20:36:49] nachoman: and the server is a debian
[20:36:55] nachoman: I'm using rvm there
[20:37:02] nachoman: and same effect
[20:38:07] nachoman: dminuoso, any other point on this?, anything would be helpful
[20:39:16] nachoman: Ok, I'll paste it to you
[20:40:00] nachoman: https://hastebin.com/betaqoqaxi.sql
[20:40:59] nachoman: And with traces
[20:41:00] nachoman: https://hastebin.com/owaseguyug.hs
[20:44:58] nachoman: To me, it looks like these requires in /Users/nacho/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ember-rails-0.21.0/app/assets/javascripts/ember-rails/application.module.es6
[20:45:01] nachoman: At the beginning
[20:45:07] nachoman: Are not being resolved
[20:45:28] nachoman: They are actually pointing to ember-cli-assets and ember-rails gems
[20:46:05] nachoman: I wonder if it's just a syntax problem that sprockets has been updated to
[20:51:20] nachoman: What does corresponding key really mean?
[20:52:20] nachoman: because if it ends with something that means that they're not both the same
[20:55:06] nachoman: Well, guys, a pleasure, I'm leaving it for today
[20:55:33] nachoman: because I'm quite lost with this
[20:55:41] nachoman: Thanks for your help and support
[20:55:50] nachoman: See you next time

2017-03-25

[00:32:08] nachoman: has joined #ruby
[00:32:08] nachoman: has joined #RubyOnRails

2017-03-21

[01:09:46] nachoman: has joined #RubyOnRails
[01:09:57] nachoman: has joined #ruby
[02:08:38] nachoman: has joined #ruby
[02:08:38] nachoman: has joined #RubyOnRails

2017-03-20

[20:34:58] nachoman: has joined #ruby
[20:34:58] nachoman: has joined #RubyOnRails

2016-06-23

[11:30:08] nachoman: has joined #ruby
[11:30:08] nachoman: has joined #RubyOnRails
[11:34:48] nachoman: Ping timeout: 246 seconds

2016-06-22

[20:43:12] nachoman: has joined #RubyOnRails
[20:43:13] nachoman: has joined #ruby