ekem

Activity Graph

Page 1 of 3 | Next »

2017-06-16

[23:26:16] ekem: *.net *.split

2017-03-23

[06:12:41] ekem: has joined #spree
[06:12:41] ekem: has joined #ruby
[06:12:41] ekem: has joined #RubyOnRails

2017-03-12

[03:36:41] ekem: *.net *.split

2017-03-09

[07:42:26] ekem: Ping timeout: 258 seconds
[07:45:26] ekem: has joined #spree
[07:45:26] ekem: has joined #ruby
[07:45:26] ekem: has joined #RubyOnRails

2016-07-20

[03:05:29] ekem: Excess Flood
[03:06:09] ekem: has joined #spree
[03:06:09] ekem: has joined #ruby
[03:06:09] ekem: has joined #RubyOnRails

2016-04-21

[17:19:14] ekem: *.net *.split
[17:20:11] ekem: has joined #spree
[17:20:11] ekem: has joined #ruby
[17:20:11] ekem: has joined #RubyOnRails

2016-04-20

[07:23:26] ekem: Excess Flood
[07:23:50] ekem: has joined #spree
[07:23:50] ekem: has joined #ruby
[07:23:50] ekem: has joined #RubyOnRails

2016-04-14

[05:00:24] ekem: http://classicprogrammerpaintings.tumblr.com/post/142737403879/programmers-at-work-maintaining-a-ruby-on-rails
[05:05:04] ekem: they're running from zulus right?

2016-03-18

[21:26:19] ekem: Ping timeout: 276 seconds
[21:26:43] ekem: has joined #spree
[21:26:43] ekem: has joined #ruby
[21:26:43] ekem: has joined #RubyOnRails

2016-02-27

[22:41:00] ekem: Ping timeout: 240 seconds
[22:53:53] ekem: has joined #spree
[22:53:53] ekem: has joined #ruby
[22:53:53] ekem: has joined #RubyOnRails

2016-02-19

[18:27:23] ekem: *.net *.split
[18:27:38] ekem: has joined #spree
[18:27:38] ekem: has joined #ruby
[18:27:38] ekem: has joined #RubyOnRails

2016-02-16

[07:46:00] ekem: Ping timeout: 250 seconds
[07:48:29] ekem: has joined #spree
[07:48:29] ekem: has joined #ruby
[07:48:29] ekem: has joined #RubyOnRails

2016-02-14

[15:29:39] ekem: has left #RubyOnRails: ("Leaving")
[15:29:46] ekem: has joined #RubyOnRails

2016-01-31

[23:25:55] ekem: Ping timeout: 240 seconds
[23:30:55] ekem: has joined #RubyOnRails
[23:30:55] ekem: has joined #spree
[23:30:55] ekem: has joined #ruby

2016-01-22

[00:49:55] ekem: Ping timeout: 240 seconds
[00:53:36] ekem: has joined #RubyOnRails
[00:53:36] ekem: has joined #spree
[00:53:36] ekem: has joined #ruby
[18:07:11] ekem: if i use rsync to pull uploaded files from a production server to use in a local copy of the app, that is `rsync . a@b.com:/public` should i keep the compiled assets with the transfer? Or should i pull the images and rebuild the assets locally
[18:09:29] ekem: er, other way around on rsync there rsync <source> <dest?
[18:10:17] ekem: the production server is a linux server
[18:10:29] ekem: and its pulled into a vagrant that is the same
[18:10:44] ekem: so i can choose to use a webbrick or setup nginx to do it
[18:10:55] ekem: i havent quite made the decision/dev'd environment
[18:11:20] ekem: i would like to go after a setup that is easy to maintain, so im using puppet etc etc
[18:11:36] ekem: i have not put in capistrano yet, trying to figure out what to do with assets
[18:11:52] ekem: so have the local application pull from a 'cloud' source
[18:11:54] ekem: or a remote source?
[18:12:34] ekem: oh so wait,
[18:12:44] ekem: do you sshfs the assets folder straight to the dev assets
[18:12:49] ekem: and call it a day?
[18:13:26] ekem: ohhh i see, you can mount with sshfs, so you mount the folder, sorry i missed that bit
[18:15:04] ekem: ok that helps me understand what i can do with this. rsync lets you preserve groups and owners, so essentially its just fine to make exact copies
[18:15:34] ekem: i dont know how something like the assets pipeline can get so little attention in blog posts :P
[18:17:56] ekem: soahccc, uh i guess i missed the train on that one :P
[18:18:24] ekem: i still dont have things setup to use a cdn etc, even though thats desireable, there are some things that are ambigous to me
[18:22:20] ekem: its about cost
[18:22:31] ekem: i mean if you can meet your needs at the right cost, its fine
[18:32:32] ekem: well the app from my perspective would have lots of global connections
[18:32:46] ekem: so i think a cdn would be ideal, if even it costs
[18:32:59] ekem: but, uh, yeah not there yet
[18:33:29] ekem: tubbo, i started along the process of cloudflare
[18:33:56] ekem: soahccc, im not smart enough to test it
[18:34:08] ekem: soahccc, not yet anyway, so i cant build anything to complex for myself
[18:34:21] ekem: like response times and performance and if im making the right decision
[18:34:35] ekem: i have no stats to generate a pie chart with in R :(
[18:34:57] ekem: im not really
[18:35:04] ekem: i do have something in production
[18:35:12] ekem: an im dragging my feet
[18:35:22] ekem: id hate to break something at this point ;)
[18:35:37] ekem: i have ngnix setup to do some cacheing, but i know its not fast
[18:35:49] ekem: i have piwik running
[18:36:12] ekem: so yes, if that defines analytics
[18:36:23] ekem: i think its 500-1000 uniques a day
[18:36:49] ekem: even better is running unbiased tested
[18:37:02] ekem: tubbo, you got guides though?
[18:37:09] ekem: i mean you can do all sorts of stress tests and thigns
[18:37:52] ekem: ux is part of monitoring
[18:37:55] ekem: in an odd way
[18:38:06] ekem: you can enumerate that information and relate it to performance
[18:38:33] ekem: tubbo, thank you for this
[18:38:40] ekem: the skylight and new relic info
[18:39:11] ekem: https://www.skylight.io/
[19:01:31] ekem: thank you soahccc, thats alllll going to work fine
[19:01:48] ekem: i have things like this: config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
[19:01:57] ekem: in config/env/prod.rb
[19:02:00] ekem: that trip me up
[19:02:08] ekem: oh for copying assets from production

2015-12-13

[19:34:09] ekem: *.net *.split
[19:35:56] ekem: has joined #spree
[19:35:58] ekem: has joined #RubyOnRails
[19:36:02] ekem: has joined #ruby

2015-12-01

[20:23:15] ekem: isnt the helper spree_user?

2015-11-30

[05:47:55] ekem: hello, i have a question about engines: I am trying to mount an engine inside of another engine to be mounted in an application
[05:48:21] ekem: so engine A and B and app C
[05:49:16] ekem: so i can get engine B mounted in engine A just fine, i require the libs to engine B in lib/appname/engine.rb
[05:49:23] ekem: of engine A
[05:49:33] ekem: but then when i mount engine A into app C
[05:49:37] ekem: yeah im sorry!
[05:49:47] ekem: app C goes "nope cant find libs of engine B"
[05:49:58] ekem: there is not much code here
[05:50:14] ekem: basically a require 'engineName'
[05:50:26] ekem: im not sure how to make all those libs from engine B accessible to app C
[05:51:32] ekem: ok thanks, ill make a write up or something
[05:51:58] ekem: i started and it escalated
[06:05:36] ekem: https://gist.github.com/rogosher/6a7c07e2c01b491b87b4
[06:05:36] ekem: ok, i gave it a shot
[06:05:55] ekem: ill even take suggestions on how to better ask the question ^_^
[06:08:06] ekem: that file is in engine A
[06:08:13] ekem: or the engine being mounted in the rails app
[06:08:34] ekem: thank you btw
[06:09:35] ekem: https://gist.github.com/rogosher/6a7c07e2c01b491b87b4
[06:09:38] ekem: ok, added to the gist
[06:09:45] ekem: i commented out line 88
[06:09:51] ekem: #config.variations = [:en, :fr, :es]
[06:10:02] ekem: that was also throwing errors, so i commented it out to see what happens
[06:10:24] ekem: yeah, i know that radar, for sure
[06:10:33] ekem: so do i need to include all the libs
[06:10:36] ekem: in my application.rb
[06:10:42] ekem: er, uh all of the libs used in CMS
[06:10:56] ekem: well see, it did that for variations
[06:11:05] ekem: so my assumption is, it will be all dependencies for CMS missing
[06:11:24] ekem: https://github.com/comfy/comfortable-mexican-sofa/blob/master/lib/comfortable_mexican_sofa/engine.rb
[06:11:24] ekem: so i would guess....
[06:11:38] ekem: every one of those libs needs to be in my app? but i dont know enough about rails to know this
[06:12:25] ekem: Radar, i agree with you putting in that lib will squelch that error
[06:12:32] ekem: but then it will look for the next lib and error out
[06:12:53] ekem: above i gave the example
[06:13:02] ekem: #config.variations = [:en, :fr, :es]
[06:13:10] ekem: it errored out saying cant find variations
[06:13:12] ekem: so i commented
[06:13:20] ekem: goes two lines too httpauth and errors
[06:13:37] ekem: i put it in irc, i can run the app again if you want to see that error
[06:13:58] ekem: yeah, i had forgot i commented that out after posting the gist
[06:14:05] ekem: and vagrant with rsync is a pain to make quick edits
[06:14:13] ekem: it only watchs for file changes one way :(
[06:14:41] ekem: im wondering if there is a rails way to just plop all the libs from engine B into the app
[06:14:48] ekem: but i cant find any reference with googl fu
[06:15:24] ekem: i was hoping someone had attempted this and would be like
[06:15:29] ekem: "let me save you headache"
[06:16:54] ekem: hey Radar, thanks a ton
[06:20:30] ekem: i guess i could also phrase this question as `app->gem->`
[06:20:42] ekem: app->gem->gem
[06:22:54] ekem: Radar, yeah i could try resolving each depency one after the other until there is a solution
[06:23:03] ekem: then maybe build a nice method to auto include what im missing
[06:23:23] ekem: which is probably what i will do, but there is an intended way to do this i would guess
[06:23:45] ekem: so im searching in public channels for that before i monkey patch a cancerous solution
[06:24:12] ekem: normal behavior for an engine is to auto include the libs, and i assume that happens in application.rb
[06:24:23] ekem: Bundler.require(*Rails.groups)
[06:24:45] ekem: so if i require the libs to engine A, i guess its not grabbing the libs for engine B
[06:25:20] ekem: is vagrant a good way to do that?
[06:25:36] ekem: cause i can share a vagrant through github 4 sure
[06:25:38] ekem: and night night

2015-11-26

[07:52:24] ekem: has joined #RubyOnRails
[07:52:24] ekem: has joined #spree
[07:52:24] ekem: has joined #ruby
[19:01:44] ekem: *.net *.split

2015-11-16

[22:54:46] ekem: Ping timeout: 265 seconds
[23:00:06] ekem: has joined #RubyOnRails
[23:00:06] ekem: has joined #spree
[23:00:06] ekem: has joined #ruby

2015-11-13

[20:27:58] ekem: orders are a bit of a pain Jessica94
[20:28:18] ekem: for instance ive had it where you have some open orders, change payment gateways
[20:28:36] ekem: then it continues to 500 from then on out for users who had open orders before the payment chnage
[20:28:41] ekem: ie orders or sort of borked
[20:28:53] ekem: 3-0 stable version

2015-11-07

[03:58:26] ekem: does anyone have a project they think is just a perfect example of routing for a simple blog/content/about/static-sites
[03:58:37] ekem: like a gem or engine they enjoy using
[03:58:51] ekem: i was looking at https://github.com/jipiboily/monologue
[03:58:57] ekem: for example
[03:59:05] ekem: https://github.com/jipiboily/monologue/blob/master/config/routes.rb
[04:03:39] ekem: Radar, jekyll is non rails yeah?
[04:04:07] ekem: and thanks btw, looking through it now
[04:14:27] ekem: i hope to make a mountable engine
[04:14:34] ekem: that handles some basic things like users
[04:14:44] ekem: and emailing
[04:14:54] ekem: etc so there should be an admin panel
[04:15:10] ekem: anyway, i am trying to figure out a sensible way to setup the routes
[04:15:22] ekem: and i dont have that much experience with a lot of codebases in rails
[04:15:28] ekem: mainly spree, but thats a pretty big project
[04:15:42] ekem: well, routes and controllers
[04:16:14] ekem: i have a project that would need the engine tied into it, but also a couple others where an engine is just nice
[04:16:50] ekem: the jekyll ill use though, when i need it. ive setup rails to do no databse before, which is jst dumb

2015-11-05

[14:46:29] ekem: Ping timeout: 250 seconds
[14:48:49] ekem: has joined #RubyOnRails
[14:48:49] ekem: has joined #spree
[14:48:49] ekem: has joined #ruby

2015-11-03

[17:18:04] ekem: if you can do a if user.save block
[17:18:17] ekem: that will only enter the block if the save was returned a success
[17:18:29] ekem: same should work for user.creat()
[17:18:57] ekem: you can use spree_user.email to get the email

2015-11-02

[15:35:21] ekem: *.net *.split
[15:36:16] ekem: has joined #RubyOnRails
[15:36:16] ekem: has joined #spree
[15:36:16] ekem: has joined #ruby

2015-10-25

[02:10:42] ekem: heres something: if spree is mounted in a subdirectory say /store, and a user tries to login but hasn't been confirmed
[02:11:05] ekem: they are dumped to user/spree_user/sign_in and not store/user/spree_user/sign_in
[02:11:24] ekem: but the password fails will find the correct route and display the flash
[02:11:58] ekem: so i'm not usre if this is a devise route that is missing from routes.rb and is expected or is unexpected behavior
[02:13:18] ekem: im wondering if just setting the devise routes is the way to go as in here: https://github.com/plataformatec/devise/wiki/How-To:-Change-the-default-sign_in-and-sign_out-routes

2015-10-19

[10:29:05] ekem: i think amazon mislinked the editorial review there
[10:29:19] ekem: Gr 10 Up???A thorough (but flawed) look at Internet protection aimed squarely at female users. There is a battle to be fought, and the author intends to arm the female population...
[10:29:19] ekem: From School Library Journal
[16:29:36] ekem: Ping timeout: 264 seconds
[16:34:25] ekem: has joined #RubyOnRails
[16:34:25] ekem: has joined #spree
[16:34:25] ekem: has joined #ruby

2015-10-18

[08:52:43] ekem: anyone know how to make a rake test /test/models/... not fail if you've used strong parameters?
[08:53:09] ekem: i think the solution looks something like: params = ActionController::Parameters.new(raw_parameters)
[08:53:22] ekem: but im not sure where to setup the parameters for testing
[13:34:10] ekem: somethign about rspec

2015-10-16

[00:14:42] ekem: has joined #spree
[00:15:51] ekem: has joined #ruby
[00:16:11] ekem: has joined #RubyOnRails

2015-10-14

[16:50:11] ekem: *.net *.split
[17:07:44] ekem: has joined #ruby
[17:07:45] ekem: has joined #RubyOnRails
[17:07:45] ekem: has joined #spree

2015-10-11

[01:25:37] ekem: or should i expect gotchas in some files generated somewhere
[01:28:49] ekem: rushed, yeah i think postgresql might do better with the data set
[01:29:03] ekem: a lot of international characters
[01:29:34] ekem: i dont think the generator i used looks at the -d hook
[01:30:02] ekem: i sort of forget how i even generated the project, just not sure how common it is for problems to arise, i really only added controllers and things