fluxsource

Activity Graph

Page 1 of 2 | Next »

2017-04-11

[09:18:45] fluxsource: Ping timeout: 268 seconds

2017-04-05

[17:00:51] fluxsource: has joined #RubyOnRails

2017-04-04

[08:40:56] fluxsource: has joined #RubyOnRails
[15:24:58] fluxsource: Quit: leaving

2017-04-03

[19:16:13] fluxsource: Ping timeout: 258 seconds

2017-04-02

[04:36:26] fluxsource: Ping timeout: 268 seconds
[04:37:04] fluxsource: has joined #RubyOnRails

2017-03-27

[02:16:36] fluxsource: Ping timeout: 240 seconds
[08:00:54] fluxsource: has joined #RubyOnRails

2017-03-17

[08:50:47] fluxsource: has joined #RubyOnRails

2016-06-30

[08:14:47] fluxsource: has joined #RubyOnRails

2016-06-29

[15:56:42] fluxsource: Ping timeout: 272 seconds

2016-06-21

[10:57:37] fluxsource: has joined #RubyOnRails
[19:30:28] fluxsource: Ping timeout: 264 seconds
[19:31:40] fluxsource: has joined #RubyOnRails

2016-06-15

[23:12:57] fluxsource: *.net *.split

2016-04-25

[13:00:19] fluxsource: Ping timeout: 250 seconds
[13:01:53] fluxsource: has joined #RubyOnRails

2016-04-21

[18:24:56] fluxsource: has joined #RubyOnRails

2016-04-18

[11:06:37] fluxsource: Ping timeout: 260 seconds

2016-04-14

[04:32:05] fluxsource: Ping timeout: 276 seconds
[04:33:08] fluxsource: has joined #RubyOnRails

2016-03-23

[14:18:34] fluxsource: Ping timeout: 240 seconds

2016-03-20

[09:35:21] fluxsource: Ping timeout: 276 seconds
[10:00:46] fluxsource: has joined #RubyOnRails

2016-03-16

[01:56:03] fluxsource: Ping timeout: 250 seconds
[12:42:37] fluxsource: has joined #RubyOnRails

2016-03-15

[17:50:34] fluxsource: Ping timeout: 240 seconds
[22:49:10] fluxsource: has joined #RubyOnRails

2016-03-03

[03:26:34] fluxsource: Ping timeout: 260 seconds
[03:33:23] fluxsource: has joined #RubyOnRails

2016-02-27

[22:40:57] fluxsource: Ping timeout: 240 seconds
[22:49:27] fluxsource: has joined #RubyOnRails

2016-02-26

[10:41:34] fluxsource: Ping timeout: 240 seconds
[16:42:38] fluxsource: has joined #RubyOnRails
[17:20:34] fluxsource: *.net *.split

2016-02-08

[15:36:11] fluxsource: has joined #RubyOnRails

2016-02-02

[19:12:04] fluxsource: *.net *.split

2016-01-31

[12:25:06] fluxsource: *.net *.split
[12:29:42] fluxsource: has joined #RubyOnRails

2016-01-17

[22:49:45] fluxsource: Ping timeout: 250 seconds
[22:50:41] fluxsource: has joined #RubyOnRails
[22:54:57] fluxsource: Ping timeout: 250 seconds
[22:55:54] fluxsource: has joined #RubyOnRails

2016-01-14

[12:44:59] fluxsource: Quit: leaving
[12:45:20] fluxsource: has joined #RubyOnRails

2015-12-27

[21:21:08] fluxsource: Quit: Lost terminal
[21:21:24] fluxsource: has joined #RubyOnRails

2015-12-18

[11:08:07] fluxsource: Quit: leaving
[11:09:26] fluxsource: has joined #RubyOnRails
[11:16:29] fluxsource: Quit: leaving
[11:16:45] fluxsource: has joined #RubyOnRails
[11:19:56] fluxsource: has joined #RubyOnRails
[11:36:28] fluxsource: has joined #RubyOnRails

2015-12-17

[11:51:01] fluxsource: has joined #RubyOnRails
[11:52:53] fluxsource: has joined #RubyOnRails
[12:03:58] fluxsource: Quit: Reconnecting
[12:04:10] fluxsource: has joined #RubyOnRails

2015-11-13

[10:17:30] fluxsource: Ping timeout: 255 seconds

2015-11-04

[01:09:45] fluxsource: has joined #RubyOnRails

2015-10-22

[15:06:51] fluxsource: *.net *.split

2015-10-18

[05:02:52] fluxsource: *.net *.split
[05:03:33] fluxsource: has joined #RubyOnRails

2015-10-16

[00:19:54] fluxsource: has joined #RubyOnRails
[03:51:57] fluxsource: Ping timeout: 246 seconds
[03:53:18] fluxsource: has joined #RubyOnRails

2015-10-06

[20:43:47] fluxsource: *.net *.split
[20:46:18] fluxsource: has joined #RubyOnRails

2015-09-09

[00:48:50] fluxsource: Ping timeout: 246 seconds
[00:54:39] fluxsource: has joined #RubyOnRails

2015-09-07

[02:15:28] fluxsource: *.net *.split

2015-08-28

[10:27:03] fluxsource: *.net *.split
[10:30:07] fluxsource: has joined #RubyOnRails
[10:30:42] fluxsource: *.net *.split
[10:33:04] fluxsource: has joined #RubyOnRails
[10:34:37] fluxsource: Ping timeout: 260 seconds
[10:34:48] fluxsource: has joined #RubyOnRails
[22:15:52] fluxsource: I've got a webapp, and I want to run periodic, forked tasks on a periodic basis (ie, not in response to a request). Would Resque be a suitable solution?
[22:15:55] fluxsource: if not, what is?
[22:17:25] fluxsource: slash_nick: thanks, I'll take a look
[22:17:48] fluxsource: Papierkorb: doesn't whenever spin up a new rails instance each time?
[22:18:46] fluxsource: thanks guys, plenty of reading to do :)
[22:20:02] fluxsource: I only mentioned Resque as I was reading an article about using resque-sheduler
[22:20:15] fluxsource: thanks for the suggestions, I'll do some reading :)
[22:25:39] fluxsource: WhereIsMySpoon: try "killall <possible server name>" until it stops

2015-08-24

[10:49:39] fluxsource: Ping timeout: 246 seconds
[11:00:22] fluxsource: has joined #RubyOnRails
[13:21:17] fluxsource: Ping timeout: 244 seconds
[13:37:01] fluxsource: has joined #RubyOnRails

2015-07-13

[22:44:04] fluxsource: GPrime: generally speaking, no it's not - all the ERB has been run before the JS is even sent to the browser

2015-07-05

[00:10:02] fluxsource: Ping timeout: 246 seconds
[00:11:29] fluxsource: has joined #RubyOnRails

2015-07-04

[22:57:56] fluxsource: Ping timeout: 246 seconds
[22:58:25] fluxsource: has joined #RubyOnRails

2015-06-22

[10:43:14] fluxsource: *.net *.split
[10:45:55] fluxsource: has joined #RubyOnRails

2015-06-21

[03:06:37] fluxsource: I'm trying to call render_to_string on the my controller (as part of a custom liquid tag) but it always complains about the partial name not being a valid Ruby identifier
[03:06:46] fluxsource: anyone come across this problem?
[03:18:41] fluxsource: ugh, getting no where with this - going to bed
[09:26:12] fluxsource: I'm struggling a bit with rendering a partial in a custom liquid tag - but it's complaining that the partial name is not a valid Ruby identifier.
[09:26:58] fluxsource: The stack trace suggests that the identifier should begin with and underscore, but I thought Rails added the underscore itself when looking up a partial
[09:27:05] fluxsource: https://gist.github.com/flxsource/f65fc7646f038443127a is the tag I'm using
[09:56:37] fluxsource: hamster88: it looks like you've got a mismatch in param names
[09:57:04] fluxsource: ie, it looks like you're passing it user_id instead of id
[09:57:26] fluxsource: and the property for user_id is using the entire User object instead of just the id
[09:58:30] fluxsource: hamster88: there are two ways
[09:58:51] fluxsource: 1) Change the form so that it uses the id instead of the user_id
[09:59:03] fluxsource: 2) Change the route to expect user_id instead of id
[10:13:47] fluxsource: that kind of assignment should be in the controller
[10:14:01] fluxsource: (Sorry for vanishing - family duties called)
[10:48:34] fluxsource: so, no one seemed to have any idea about my question earlier, so I'll try a difference tack
[10:49:10] fluxsource: if I render a partial using ERB then it searches both the app and any mounted engines
[10:49:12] fluxsource: which is good
[10:49:53] fluxsource: but if, when using liquid, I use the import tag, it only renders views from the app itself
[10:50:09] fluxsource: any ideas how I can get it to render a view from the engine?
[10:52:41] fluxsource: hamster88: sorry, not sure what you mean?
[10:53:45] fluxsource: yes - it's my own engine
[10:55:09] fluxsource: hamster88: I can render the partial just fine using ERB
[10:55:25] fluxsource: but the similar tag in liquid won't search the engines views
[10:57:38] fluxsource: where did you do thaT?
[11:02:15] fluxsource: https://gist.github.com/flxsource/8b33c41f087c27f0cd44
[11:02:21] fluxsource: template isn't a valid tag...
[11:06:19] fluxsource: hamster88: what do you mean?
[11:06:33] fluxsource: if there's a partial in the app, it will render that
[11:06:39] fluxsource: but not if the partial is in the engine
[11:06:49] fluxsource: also of relevance is I'm using liquid 3.0.3
[11:07:15] fluxsource: filesystem path?
[11:07:35] fluxsource: (...)/app/views/shared/_panel.liquid
[11:09:39] fluxsource: I've even tried creating a custom tag that wraps the rails render_to_string, but that has its own problems (asked about those earlier)
[11:10:40] fluxsource: yep - same problem
[11:11:08] fluxsource: also, that's a typo :P
[11:11:19] fluxsource: should be <%= render 'shared/panel' %>
[11:11:31] fluxsource: why not? render can find the view
[11:16:12] fluxsource: I don't have both the erb and liquid at the same time
[11:16:23] fluxsource: you mean just in the views folder?
[11:16:25] fluxsource: yep, tried that
[11:16:27] fluxsource: same problem
[11:16:44] fluxsource: and include is not using render
[11:17:37] fluxsource: render used the search hierarchy whereas include does not
[11:18:35] fluxsource: of parsing the contents of another view into the current one? yeah
[11:19:30] fluxsource: that's not the problem
[11:19:48] fluxsource: the problem is the liquid include tag not searching for the partial in the same way
[11:22:21] fluxsource: I've tried using https://gist.github.com/flxsource/f65fc7646f038443127a
[13:37:03] fluxsource: Anyone know how to get liquid to render a partial from an engine?

2015-06-20

[20:15:00] fluxsource: *.net *.split
[20:28:11] fluxsource: has joined #RubyOnRails

2015-06-19

[12:47:27] fluxsource: Veejay: to be honest, if you switched to tmux you could probably use it exactly the same way and you wouldn't notice the difference
[12:47:41] fluxsource: but if screen does what you want, then great :)
[12:47:51] fluxsource: Veejay: but tmux is "better"
[12:48:32] fluxsource: defswork: personally, I find it fixes some of the "problems" I've had with screen, so from that point of view I found it "better"
[12:48:40] fluxsource: although I understand that YMMV
[12:50:19] fluxsource: defswork: although both can do either
[12:50:54] fluxsource: defswork: tmux is just the same
[12:51:59] fluxsource: workmad3: I wasn't trying to get him to change
[12:52:10] fluxsource: it was just a comment
[12:52:21] fluxsource: defswork: true
[12:52:37] fluxsource: again personally, I find tmux to be simpler
[21:29:59] fluxsource: I normally use Devise for auth, but before I start a new project anyone got any alternative suggestions?
[21:31:48] fluxsource: momomomomo: thanks - anything in particular worth spending time looking at?
[21:31:54] fluxsource: weaksauce: ah, thanks, will have a dig
[21:32:53] fluxsource: matt_d: thanks for the pundit recommend - last authorization solution I used was cancan
[21:33:04] fluxsource: weaksauce: just simple email based login
[21:35:23] fluxsource: thanks for the advice all, will have a peruse through those
[21:35:50] fluxsource: I know I could have just looked at ruby toolbox, but I wanted to know what people *liked*
[21:37:56] fluxsource: momomomomo: I know I know, just working in total isolation at the moment - craved a bit of interaction :P

2015-06-03

[07:08:16] fluxsource: has joined #RubyOnRails
[07:18:02] fluxsource: has joined #RubyOnRails

2015-05-31

[19:56:23] fluxsource: has joined #RubyOnRails
[20:45:42] fluxsource: has joined #RubyOnRails

2015-05-25

[22:33:15] fluxsource: Radar: riding a pedal bike?
[22:33:57] fluxsource: ah, not my cup of tea then
[22:34:14] fluxsource: I prefer at least 150hp on my bikes :)
[22:34:46] fluxsource: pontiki: haha, no
[22:35:06] fluxsource: I'm eyeing up either the new R1 or a S2000RR
[22:35:39] fluxsource: although if that Honda MotoGP clone is reasonably priced...
[22:37:27] fluxsource: I have no idea what the 405 is, but I'm calling bullshit on that
[22:38:33] fluxsource: 'busa top speed is what, 190?
[22:39:02] fluxsource: not stock it hasn't
[22:39:05] fluxsource: and you can't :P
[22:39:12] fluxsource: speedos over read
[22:39:40] fluxsource: they're certainly fast
[22:39:59] fluxsource: but personally if was going for a rocket ship like that I'd go for a blackbird
[22:40:13] fluxsource: weaksauce: but clear enough for ~200mpg?
[22:42:16] fluxsource: if I want to go fast, I've got the M5 motorway 6 minutes from my house
[22:42:25] fluxsource: and that's normally pretty quiet
[22:44:11] fluxsource: my days of going insanely fast are over, however

2015-03-20

[23:25:12] fluxsource: rhizome: long polling kind of is
[23:26:16] fluxsource: last time I checked, that's how facebook did it
[23:40:46] fluxsource: you mean nil?

2015-03-12

[08:56:16] fluxsource: keksike: @@ means it's a class variable - it's available to all instances of the class
[08:56:42] fluxsource: as apposed to a single @, which is an instance variable

2015-02-28

[20:10:13] fluxsource: how would it get submitted?

2015-02-23

[17:03:54] fluxsource: mikecmpbll: when was the last time you tried atom/
[17:04:13] fluxsource: because (apart from startup) I find it as fast as sublime
[17:04:56] fluxsource: no, more like 2s vs 1s for sublime

2015-02-21

[00:47:10] fluxsource: weaksauce: designed?!
[00:48:08] fluxsource: same as heroin

2015-02-20

[13:47:14] fluxsource: DanBangWTFRajib: putting business logic in client side is shooting on your own feet <--- with a poisoned bullet
[13:48:03] fluxsource: universa1: no. That's quite a leap to suggest that

2015-02-19

[19:22:48] fluxsource: it's currently a massive bottleneck for me, it's ctrl+r on one keyboard and cmd+r on another, and I'm continuously forgetting which I'm using
[19:23:28] fluxsource: hah, no, I mean I forget which keyboard my hands are on
[19:23:45] fluxsource: I'm frequently typing stuff on the wrong machine
[19:25:20] fluxsource: fakam: just use the right tool for the job
[19:26:11] fluxsource: fakam: that's not quite what I mean, but that's fine
[19:26:22] fluxsource: tubbo: salary? I remember one of those...
[19:26:32] fluxsource: but I was working with PHP at the time
[19:28:11] fluxsource: crack_user: are you saving the newly created Model before trying to find it?
[19:30:12] fluxsource: crack_user: can you postbin or gist your code?
[19:30:24] fluxsource: also, why do you need to find it right away?
[19:30:38] fluxsource: if you've just created it, don't you already have a reference to it?
[22:37:56] fluxsource: I saw that and thought "lol, that looks a bit like... wait, it is!"

2015-01-18

[22:30:26] fluxsource: NBarnes: true
[22:31:18] fluxsource: omosoj: instead of looking at nginx vs unicorn (or apache instead of nginx if that's what you want) look at thin vs unicorn, or any other app server
[22:33:26] fluxsource: https://www.digitalocean.com/community/tutorials/a-comparison-of-rack-web-servers-for-ruby-web-applications
[22:33:39] fluxsource: I think my first tutorial was nginx+thin, so stuck with that for the same reason
[22:34:06] fluxsource: a) I don't know heroku at all
[22:34:21] fluxsource: b) how long is a piece of string
[22:34:40] fluxsource: yeah, basically
[22:35:23] fluxsource: again, I don't know
[22:35:31] fluxsource: it will also depend on what the request actually is
[22:39:55] fluxsource: think of rack as glue
[22:40:14] fluxsource: it sticks stuff together in a standard way
[22:40:34] fluxsource: it's what allows rails to run on all those different app servers
[22:44:28] fluxsource: rack does I guess
[22:50:11] fluxsource: rack connects rails with your chosen app server
[23:10:44] fluxsource: no, rack goes between the application server and the application itself