frem_

Activity Graph

Page 1 of 1

2017-06-01

[15:59:04] frem_: has joined #RubyOnRails
[15:59:10] frem_: has joined #ruby

2016-07-13

[00:24:01] frem_: Quit: Connection closed for inactivity

2016-07-12

[16:58:40] frem_: has joined #RubyOnRails
[16:58:46] frem_: has joined #ruby

2016-07-09

[01:23:59] frem_: Quit: Connection closed for inactivity

2016-07-08

[19:29:58] frem_: has joined #RubyOnRails
[19:30:04] frem_: has joined #ruby

2016-06-24

[20:27:43] frem_: has joined #RubyOnRails
[20:27:49] frem_: has joined #ruby
[23:53:50] frem_: Quit: Connection closed for inactivity

2016-06-22

[00:23:48] frem_: Quit: Connection closed for inactivity

2016-06-21

[00:23:47] frem_: Quit: Connection closed for inactivity
[16:49:14] frem_: has joined #RubyOnRails
[16:49:20] frem_: has joined #ruby

2016-06-20

[13:33:14] frem_: has joined #RubyOnRails
[13:33:20] frem_: has joined #ruby

2016-06-17

[14:43:14] frem_: has joined #RubyOnRails
[14:43:15] frem_: has joined #ruby
[23:03:47] frem_: Quit: Connection closed for inactivity

2016-06-15

[13:21:41] frem_: has joined #RubyOnRails
[13:21:47] frem_: has joined #ruby
[19:13:45] frem_: Quit: Connection closed for inactivity

2016-06-14

[00:23:43] frem_: Quit: Connection closed for inactivity

2016-06-13

[14:26:53] frem_: has joined #RubyOnRails
[14:26:59] frem_: has joined #ruby

2016-06-11

[00:23:41] frem_: Quit: Connection closed for inactivity

2016-06-10

[00:18:28] frem_: Ping timeout: 264 seconds
[00:20:54] frem_: has joined #RubyOnRails
[00:20:57] frem_: has joined #ruby
[00:23:41] frem_: Client Quit
[13:47:11] frem_: has joined #RubyOnRails
[13:47:17] frem_: has joined #ruby

2016-06-09

[00:23:40] frem_: Quit: Connection closed for inactivity
[15:14:45] frem_: has joined #RubyOnRails
[15:14:52] frem_: has joined #ruby

2016-06-08

[00:13:39] frem_: Quit: Connection closed for inactivity
[14:24:02] frem_: has joined #RubyOnRails
[14:24:09] frem_: has joined #ruby

2016-06-07

[00:23:39] frem_: Quit: Connection closed for inactivity
[14:05:50] frem_: has joined #RubyOnRails
[14:05:54] frem_: has joined #ruby

2016-06-06

[13:55:09] frem_: has joined #RubyOnRails
[13:55:14] frem_: has joined #ruby

2016-06-04

[00:23:38] frem_: Quit: Connection closed for inactivity

2016-06-03

[00:33:37] frem_: Quit: Connection closed for inactivity
[13:47:16] frem_: has joined #RubyOnRails
[13:47:22] frem_: has joined #ruby

2016-06-02

[01:03:36] frem_: Quit: Connection closed for inactivity
[15:02:08] frem_: has joined #RubyOnRails
[15:02:11] frem_: has joined #ruby

2016-06-01

[00:23:36] frem_: Quit: Connection closed for inactivity
[19:55:54] frem_: has joined #RubyOnRails
[19:55:59] frem_: has joined #ruby

2016-05-31

[14:32:15] frem_: has joined #RubyOnRails
[14:32:20] frem_: has joined #ruby

2016-05-28

[00:23:34] frem_: Quit: Connection closed for inactivity

2016-05-27

[03:53:33] frem_: Quit: Connection closed for inactivity
[14:26:54] frem_: has joined #RubyOnRails
[14:27:03] frem_: has joined #ruby

2016-05-26

[00:23:33] frem_: Quit: Connection closed for inactivity
[17:04:23] frem_: has joined #RubyOnRails
[17:04:32] frem_: has joined #ruby

2016-05-25

[00:23:32] frem_: Quit: Connection closed for inactivity
[15:10:35] frem_: has joined #RubyOnRails
[15:10:44] frem_: has joined #ruby

2016-05-24

[00:20:10] frem_: has joined #RubyOnRails
[00:20:19] frem_: has joined #ruby
[00:23:31] frem_: Client Quit
[15:47:08] frem_: has joined #RubyOnRails
[15:47:17] frem_: has joined #ruby

2016-05-23

[14:39:54] frem_: has joined #RubyOnRails
[14:40:03] frem_: has joined #ruby
[22:53:34] frem_: *.net *.split

2016-05-21

[00:33:31] frem_: Quit: Connection closed for inactivity

2016-05-20

[01:23:30] frem_: Quit: Connection closed for inactivity
[14:01:27] frem_: has joined #RubyOnRails
[14:01:36] frem_: has joined #ruby

2016-05-19

[03:13:29] frem_: Quit: Connection closed for inactivity
[15:45:34] frem_: has joined #RubyOnRails
[15:45:43] frem_: has joined #ruby

2016-05-18

[04:43:29] frem_: Quit: Connection closed for inactivity
[20:53:18] frem_: has joined #RubyOnRails
[20:53:27] frem_: has joined #ruby

2016-05-16

[14:52:49] frem_: has joined #RubyOnRails
[14:52:58] frem_: has joined #ruby

2016-05-14

[00:23:27] frem_: Quit: Connection closed for inactivity

2016-05-13

[02:23:26] frem_: Quit: Connection closed for inactivity
[14:11:40] frem_: has joined #RubyOnRails
[14:11:49] frem_: has joined #ruby

2016-05-12

[00:33:26] frem_: Quit: Connection closed for inactivity
[15:07:38] frem_: has joined #RubyOnRails
[15:07:47] frem_: has joined #ruby

2016-05-11

[20:04:30] frem_: has joined #RubyOnRails
[20:04:39] frem_: has joined #ruby

2016-04-27

[16:50:53] frem_: has joined #RubyOnRails
[16:51:02] frem_: has joined #ruby
[19:53:19] frem_: Quit: Connection closed for inactivity

2016-04-26

[21:27:41] frem_: has joined #RubyOnRails
[21:27:50] frem_: has joined #ruby

2016-04-21

[03:23:15] frem_: Quit: Connection closed for inactivity
[17:24:56] frem_: has joined #RubyOnRails
[17:24:56] frem_: has joined #ruby
[17:24:59] frem_: has joined #ruby
[17:24:59] frem_: has joined #RubyOnRails
[17:24:59] frem_: Changing host
[19:33:16] frem_: Quit: Connection closed for inactivity

2016-04-20

[06:03:15] frem_: Quit: Connection closed for inactivity
[17:36:50] frem_: has joined #RubyOnRails
[17:36:59] frem_: has joined #ruby

2016-04-19

[19:08:05] frem_: has joined #RubyOnRails
[19:08:14] frem_: has joined #ruby

2016-04-16

[02:53:12] frem_: Quit: Connection closed for inactivity

2016-04-15

[17:21:29] frem_: has joined #RubyOnRails
[17:21:38] frem_: has joined #ruby
[17:26:27] frem_: Ping timeout: 260 seconds
[17:56:42] frem_: has joined #RubyOnRails
[17:56:50] frem_: has joined #ruby

2016-02-02

[19:50:12] frem_: has joined #RubyOnRails
[19:50:26] frem_: has joined #ruby

2016-01-20

[18:19:46] frem_: has joined #RubyOnRails
[18:20:00] frem_: has joined #ruby

2015-09-09

[21:19:46] frem_: has joined #ruby

2015-06-05

[21:50:36] frem_: has joined #RubyOnRails
[21:50:38] frem_: has joined #ruby

2014-12-04

[00:28:42] frem_: other helpers?
[00:28:42] frem_: I want to use a single method in a module. Right now I'm adding that method to my class using `include ActionView::Helpers::TextHelper` and calling it via `truncate("some text")`. I don't like how it's not immediately obvious that the method isn't coming from TextHelper. Is there some way to call it like `TextHelper.truncate` without including a bunch of
[00:31:27] frem_: waxjar: doesn't that also load every other helper in ActionView?
[00:36:07] frem_: mbff: If you're using bundler, you can also just point your Gemfile at your git repo.
[00:36:28] frem_: banisterfiend: oh, well. thanks!
[00:38:25] frem_: mbff: the docs are over thisaway, if you want to do it. http://bundler.io/git.html

2014-06-03

[01:14:19] frem_: Newman_: what is the relationship between player and messages?
[01:15:54] frem_: I usually just put @player in the controller, to be explicit about what the view will be accessing.
[01:16:34] frem_: Newman_: is playerID an attribute you added? the default would be more like message.player.id
[01:19:04] frem_: So a message belongs to a single player?

2014-06-02

[21:58:57] frem_: Ooh. If RVM2 supports jruby, it'll work on Windows.
[21:59:11] frem_: (I realize I'm like the only person who cares about this)
[22:03:22] frem_: wu_: Ruby *compiles* on Windows, but I've always had to use JRuby to get anything done on Windows. More binary gems seem to have jruby versions than windows-compatible versions.

2014-05-30

[18:56:49] frem_: How do you get the class of an object as a constant? use case: https://gist.github.com/jamesgecko/2286baaa68777d638012
[18:58:14] frem_: thanks jhass, havenwood. Was having a hard time finding that on google. :)
[19:54:54] frem_: happytux: you might have to do that manually. rake is pretty small.
[19:59:28] frem_: happytux: I know about as much as you do here. My first stop would be rake's github repo.

2014-02-12

[04:45:15] frem_: JoshuaPaling: they're probably referring to sunk cost fallacy.
[22:57:39] frem_: I have a question, and don't really know how to express it in a short way. https://gist.github.com/jamesgecko/b11db8b31c56e678bc73
[22:59:26] frem_: eFeXeN: ooh. that looks promising.
[23:21:21] frem_: If I have a model Profile with a `has_many candidates` association, is there a way to add a scope so I could do something like `@profiles.with_candidate_used_by_this_search(search_id)` in a controller, so that @profiles.first.candidate would only contain a single item?
[23:21:43] frem_: (related gist https://gist.github.com/jamesgecko/b11db8b31c56e678bc73 )
[23:25:07] frem_: eFeXeN: I could, but there's a whole list of profiles, and I don't want to execute another query for each one.
[23:27:47] frem_: ah, but not all profiles have candidates
[23:32:14] frem_: workmad3: wouldn't that result in an N+1 query when I use that scope on the list of profiles?
[23:33:18] frem_: yeah, there are. of both. :-p
[23:33:36] frem_: related to.
[23:33:36] frem_: eFeXeN: I have the models described in that gist. profiles appear in a list on a search page. a profile may or may not be a candidate for that particular search. i want to manipulate (or create) a profile's candidate status with buttons on the list next to each profile. but the profiles just have a candidates attribute with every candidate/search they're
[23:36:24] frem_: searches `has_many :candidates`. maybe that would be an easier way to do this?
[23:41:42] frem_: I find the `save_and_open_page` command super useful when working with capybara
[23:42:50] frem_: there's another function that lets you open a browser debug session right at the point where the spec fails, but it's more complicated to set up, iirc.

2014-02-06

[23:11:16] frem_: question: I have a link_to in a view which has the method: :post and remote: true arguments. If the user clicks on the link before the page is fully loaded, a non-ajax GET happens instead of an ajax POST. How can I prevent this?
[23:13:40] frem_: rhizome: if the user clicks on the button before the page is fully loaded, would a non-ajax POST happen?

2013-10-01

[19:22:39] frem_: I have a bizzare problem. I'm loading some csv data into a table. When I launch the server normally, the models can see the data loaded. When I run the test suite, all the csv data is deleted from the test database. What even?
[19:23:52] frem_: toretore: It's actually not. There's other CSV data being loaded in at the same time which stays there.
[19:24:50] frem_: toretore: in the rake task executed when `RAILS_ENV=test rake db:reset` is run.
[19:26:50] frem_: toretore: it's seed data, and it's def getting put in the db before I run rspec. I don't think the rake task is the issue.
[19:35:50] frem_: toretore: The file was huge, and most of the tasks did almost the same thing, so here's the minimal version. My task is at the bottom. https://gist.github.com/jamesgecko/58e957cfe2d3ddf9a9fd
[19:46:52] frem_: toretore: because i have a psql console.
[20:01:43] frem_: toretore, tubbo: found it! this project is using a DatabaseCleaner gem which wipes out seed data unless you put an override in a config file. all the other tables seed data was getting dumped into had the override, but not mine. :-P
[20:03:13] frem_: tubbo: yeah... it's the sort of thing i'dve expected the project owner to remember. thanks for the help!
[20:11:04] frem_: tubbo: most of the data getting loaded here are not things that will be changing during runtime.
[20:14:19] frem_: tubbo: i'm the latest in a long line of developers on this project, so i believe that it's probably not a great idea, but it's kind of late for me to change all the things. ;-)
[21:46:44] frem_: I'm trying to set a model attribute to a default value, but it's not setting for some reason. https://gist.github.com/jamesgecko/ba41d89a327bfcfaa0ba
[21:57:27] frem_: terrellt: every instance of this model will initially be assigned to the same SubscriptionPlan. I sort of wanted to codify that in the model to make it one less thing I have to remember later.
[22:01:50] frem_: terrellt: um, actually, wait. it's not saving that attribute, period. i can't set it in the console; it just goes to nil.

2012-11-21

[04:31:51] frem_: Is comparing ActiveSupport::TimeWithZone objects the wrong thing to do? https://gist.github.com/4123029
[04:34:06] frem_: doh! milliseconds are important. :P