thomasfedb

Activity Graph

Page 1 of 9 | Next »

2019-06-19

[05:27:59] thomasfedb: Quit: ZNC - http://znc.sourceforge.net

2019-04-13

[16:49:44] thomasfedb: *.net *.split

2019-03-30

[14:09:36] thomasfedb: has joined #RubyOnRails
[14:11:07] thomasfedb: Accessing ENV vars inside Rails apps... I used to set my secrets to ENV vars inside secrets.yml, e.g. foo_key: <%= ENV['FOO_KEY'] %>. But that seems to be no-go with Rails 5.2 credentials. What do others do?
[14:11:27] thomasfedb: Good book/guide for people coming from OOP to Elixir?

2019-03-25

[12:01:15] thomasfedb: has joined #elixir-lang
[12:01:37] thomasfedb: For Phoenix app auth, is guardian the standard go-to?

2018-10-22

[13:21:50] thomasfedb: has joined #RubyOnRails

2018-09-18

[14:51:01] thomasfedb: has joined #ruby

2018-07-30

[08:29:52] thomasfedb: Quit: ZNC - http://znc.sourceforge.net

2018-07-22

[05:57:37] thomasfedb: has joined #RubyonRails-offtopic

2018-07-20

[00:07:17] thomasfedb: *.net *.split
[00:15:26] thomasfedb: has joined #RubyOnRails

2018-07-16

[13:33:14] thomasfedb: has joined #RubyOnRails
[13:33:51] thomasfedb: My Rails 5.1 app is returning HSTS headers even though config.force_ssl is not set.

2018-05-08

[02:22:09] thomasfedb: Quit: ZNC - http://znc.sourceforge.net

2018-05-02

[00:56:29] thomasfedb: Ping timeout: 260 seconds
[00:57:53] thomasfedb: has joined #RubyonRails-offtopic
[00:57:53] thomasfedb: Changing host
[00:57:53] thomasfedb: has joined #RubyonRails-offtopic
[00:58:16] thomasfedb: has joined #RubyOnRails

2018-04-27

[20:11:56] thomasfedb: Ping timeout: 256 seconds
[20:24:30] thomasfedb: has joined #RubyonRails-offtopic
[20:24:30] thomasfedb: Changing host
[20:24:30] thomasfedb: has joined #RubyonRails-offtopic
[20:24:48] thomasfedb: has joined #RubyOnRails

2018-04-25

[12:25:51] thomasfedb: *.net *.split
[12:26:59] thomasfedb: has joined #RubyonRails-offtopic
[12:27:33] thomasfedb: has joined #RubyOnRails
[15:01:22] thomasfedb: *.net *.split
[15:03:05] thomasfedb: has joined #RubyOnRails
[15:03:32] thomasfedb: has joined #RubyonRails-offtopic

2018-04-16

[02:22:33] thomasfedb: has joined #RubyOnRails
[02:22:46] thomasfedb: has joined #RubyonRails-offtopic

2018-04-14

[09:14:18] thomasfedb: morfin, hey, have you still got unanswered questions?
[09:16:39] thomasfedb: emers2n, why not use a datetime in your model?
[09:18:43] thomasfedb: emers2n, or if you really need time of day, consider http://api.rubyonrails.org/classes/ActiveRecord/AttributeMethods/Serialization/ClassMethods.html#method-i-serialize
[09:18:57] thomasfedb: emers2n, or perhaps https://github.com/JackC/tod
[22:03:51] thomasfedb: Quit: ZNC - http://znc.sourceforge.net

2018-04-07

[15:03:46] thomasfedb: aero-224, http://api.rubyonrails.org/classes/ActionView/RoutingUrlFor.html#method-i-url_for
[15:03:55] thomasfedb: aero-224, "Controllers passed in using the :controller option will retain their namespace unless it is an absolute one."
[15:04:23] thomasfedb: aero-224, "Specify absolute path with beginning slash" e.g. `controller: "/foobar"`
[15:04:52] thomasfedb: aero-224, see last two examples in doc I linked
[16:49:48] thomasfedb: aero-224: np
[16:50:19] thomasfedb: desperek: gist the code

2018-04-06

[16:27:13] thomasfedb: Inside: probably need to know more detail to make a really informed decision, both options have trade-offs, but I would probably tend towards a key value column
[16:49:23] thomasfedb: Torrone: what's not working? Can you gist your code and an example of what's going wrong?

2018-04-05

[16:33:39] thomasfedb: kevinburke, start up time is a problem why?
[16:34:00] thomasfedb: kevinburke, if it's a vanilla app it's probably not something you're going to be able to reduce
[16:36:37] thomasfedb: kevinburke, loading files generally takes the most time, so that'll do it
[16:37:14] thomasfedb: kevinburke, you can use spring to keep the framework loaded and just reload code for each test run
[16:38:00] thomasfedb: kevinburke, np
[16:39:07] thomasfedb: masterasia, not that I'm aware of
[16:39:41] thomasfedb: masterasia, though I think `class A::B; end` will fail if A doesn't already exist
[16:39:50] thomasfedb: NameError: uninitialized constant A
[16:39:50] thomasfedb: 2.5.1 :001 > class A::B::C; end
[16:40:17] thomasfedb: masterasia, though Rails will handle that for you when loading nested files methinks
[16:40:43] thomasfedb: masterasia, I've always gone with Foo::BarController
[16:41:58] thomasfedb: masterasia, in case what?
[16:42:32] thomasfedb: masterasia, that was in irb, in 99% certain it's handled in Rails
[16:42:46] thomasfedb: masterasia, it's not gonna suddenly break in prod
[16:45:01] thomasfedb: did you work it out beingjohnm
[16:51:10] thomasfedb: beingjohnm, I'd add some debugs in there if I was trying to work it out
[16:54:07] thomasfedb: beingjohnm, can you rewrite as <%= "<tr>" if i % 2 == 0 %> ?
[16:58:41] thomasfedb: did you do the same for </tr> ?
[16:59:53] thomasfedb: beingjohnm, maybe try compiling your template to ruby code to see what's going on: https://ruby-doc.org/stdlib-2.5.0/libdoc/erb/rdoc/ERB.html
[17:07:18] thomasfedb: beingjohnm: np

2018-03-28

[01:54:31] thomasfedb: Radar: that might be the way to do it. Suns kinda yucky though
[01:55:25] thomasfedb: Not sure it will play nice with collection caching either.
[15:53:30] thomasfedb: Radar: thoughts on the above?

2018-03-27

[23:53:10] thomasfedb: Trying to work out how best to expire my fragment caches when other data that affects their display is updated.
[23:54:01] thomasfedb: e.g. User has many Badges. If I rename a badge, I need to rerender the user profile partial.
[23:54:29] thomasfedb: But it doesn't make sense to touch every user in the app when a badge gets updated

2018-03-23

[13:59:25] thomasfedb: sevenseacat: !
[14:00:34] thomasfedb: How are you? :D
[14:03:09] thomasfedb: How is sevenseacat?

2018-03-08

[13:31:30] thomasfedb: Radar, hello
[13:35:54] thomasfedb: DaniG2k, not sure what you mean
[13:36:06] thomasfedb: DaniG2k, what's specifically the error or problem you're getting?
[13:36:13] thomasfedb: DaniG2k, can you provide code?

2018-02-25

[09:34:49] thomasfedb: *.net *.split
[09:36:24] thomasfedb: has joined #RubyonRails-offtopic
[09:36:32] thomasfedb: has joined #RubyOnRails

2018-02-23

[14:12:26] thomasfedb: MrCrackPotBuilde, attr_accessor isn't an alias
[14:31:13] thomasfedb: MrCrackPotBuilde, why are you testing the confirmation field?
[14:31:30] thomasfedb: MrCrackPotBuilde, getters and setters are created by rails automagically
[14:45:48] thomasfedb: MrCrackPotBuilde, that's the one
[15:24:42] thomasfedb: lupine, rails has in_batches build in
[15:24:55] thomasfedb: lupine, does that not do what you need?

2018-02-21

[02:11:14] thomasfedb: Radar, howdy

2018-02-20

[11:23:15] thomasfedb: Thoughts on how best to package css/js assets as a gem?
[12:29:25] thomasfedb: crst, I'd go ajax if you've got thousands of entries
[17:52:47] thomasfedb: baweaver, I've never found it THAT hard to upgrade them
[17:53:00] thomasfedb: baweaver, took one app from 3.2 to 5.1 the other day
[17:53:14] thomasfedb: baweaver, annother from 4.1 to 5.1 later this week
[17:53:55] thomasfedb: baweaver, the biggest thing is config defaults changing, and those have complicated implications that I doubt you can automate

2018-01-04

[17:04:15] thomasfedb: has joined #RubyOnRails
[17:34:32] thomasfedb: Quit: Leaving

2017-09-11

[20:24:09] thomasfedb: *.net *.split

2017-07-12

[16:27:01] thomasfedb: has joined #RubyOnRails
[17:28:48] thomasfedb: Quit: Leaving

2017-07-07

[22:41:49] thomasfedb: Disconnected by services

2017-07-03

[14:25:49] thomasfedb: has joined #RubyOnRails

2017-05-16

[02:56:23] thomasfedb: Quit: ZNC - http://znc.sourceforge.net

2017-05-14

[04:42:54] thomasfedb: Radar, howdy

2017-05-02

[00:28:20] thomasfedb: has joined #RubyOnRails
[01:18:56] thomasfedb: amperry, p.ledger.ledger_lines.where(**whatever**)

2017-05-01

[02:51:45] thomasfedb: sevenseacat, hey, long time!
[02:52:07] thomasfedb: has joined #RubyonRails-offtopic
[02:52:13] thomasfedb: sevenseacat, how've you?
[02:52:35] thomasfedb: sevenseacat, studying medicine, busy as ever
[02:52:48] thomasfedb: sevenseacat, still a little RoR on the side, couple of nice private clients
[02:53:01] thomasfedb: sevenseacat, what and where are you these days?
[02:53:42] thomasfedb: Jon31, .includes is all good until you discover caching at the view
[02:54:38] thomasfedb: Jon31, fragment caching, it's magical
[02:54:46] thomasfedb: sevenseacat, they're nice?
[02:54:59] thomasfedb: better than TFG at least?
[02:55:04] thomasfedb: glad I left that place
[02:56:09] thomasfedb: did they blame it on the auth system i put into climatewatch?
[03:00:08] thomasfedb: i doubt it was much fun for anybody, but I'm very glad I got away long ago
[03:00:31] thomasfedb: that place had more than financial issues
[03:00:49] thomasfedb: Jon31, hard to say on just that
[05:38:17] thomasfedb: well glad it worked out for you sevenseacat
[06:07:11] thomasfedb: Radar, computers never loved me
[06:07:36] thomasfedb: Radar, I made the terrible mistake of working with kids and they hooked me by the heart
[13:16:36] thomasfedb: Radar, thoughts: belongs_to touch: true should be a NOOP if @destroyed_by_association is set?
[13:17:03] thomasfedb: has left #RubyonRails-offtopic: ("Leaving")
[13:21:15] thomasfedb: syndikate, don't personally use the generator, but don't you usually pass the name as `rails g controller API::V1::MyController` ?
[13:21:30] thomasfedb: agree with sevenseacat
[13:21:42] thomasfedb: I personally don't use em
[13:22:27] thomasfedb: syndikate, personally I'd just create them by hand for starters
[16:41:12] thomasfedb: *.net *.split

2017-04-28

[05:35:43] thomasfedb: has joined #RubyOnRails

2017-04-24

[15:40:32] thomasfedb: Ping timeout: 260 seconds
[15:43:57] thomasfedb: has joined #RubyOnRails
[17:45:43] thomasfedb: Ping timeout: 260 seconds

2017-04-18

[16:07:15] thomasfedb: With touch:true on a belongs_to, is deletion expected to touch the parent also?
[16:07:37] thomasfedb: I've found that post.update(comments: []) doesn't bump the updated_at on the post.

2017-04-04

[09:54:23] thomasfedb: vasilakisfil: idk with cap, isn't the ideal to set them on the server without them being on your dev box?
[09:54:54] thomasfedb: vasilakisfil: I highly recommend Flynn if you're looking for a solution that just works
[09:57:34] thomasfedb: TeddySmoker: both were
[09:58:05] thomasfedb: vasilakisfil: I'm actually trying to talk to TeddySmoker. Sorry!
[10:01:01] thomasfedb: How do you launch with dotenv without cap?
[10:01:20] thomasfedb: Sometimes you need to force 'bash -l'
[10:06:51] thomasfedb: TeddySmoker_: login shell might help

2017-03-21

[13:27:36] thomasfedb: Think I found a bug in fragment caching: https://github.com/rails/rails/issues/28503 Can anybody test my reproduction? (Git repo and steps included)

2016-07-10

[04:59:57] thomasfedb: *.net *.split
[08:54:06] thomasfedb: has joined #RubyOnRails

2016-07-02

[05:04:52] thomasfedb: *.net *.split
[05:05:16] thomasfedb: has joined #RubyOnRails
[05:05:16] thomasfedb: Changing host
[05:05:16] thomasfedb: has joined #RubyOnRails

2016-06-29

[19:19:51] thomasfedb: has joined #RubyOnRails
[19:20:37] thomasfedb: Having a hard time getting a rails engine to require files from lib/gemname/
[19:20:48] thomasfedb: Works fine with app/models/gemname
[19:47:50] thomasfedb: dminuoso, no worries

2016-05-02

[15:21:32] thomasfedb: Ping timeout: 260 seconds

2016-04-21

[17:19:15] thomasfedb: *.net *.split
[17:20:04] thomasfedb: has joined #RubyOnRails
[17:20:04] thomasfedb: has joined #ruby
[17:20:04] thomasfedb: Changing host
[17:20:04] thomasfedb: has joined #ruby
[17:20:04] thomasfedb: has joined #RubyOnRails

2016-04-19

[15:20:59] thomasfedb: has joined #RubyOnRails
[15:20:59] thomasfedb: has joined #ruby
[15:20:59] thomasfedb: Changing host
[15:20:59] thomasfedb: has joined #ruby
[15:20:59] thomasfedb: has joined #RubyOnRails

2016-04-18

[11:06:15] thomasfedb: Ping timeout: 260 seconds

2016-04-17

[11:18:11] thomasfedb: Ping timeout: 244 seconds
[11:19:51] thomasfedb: has joined #RubyOnRails
[11:19:51] thomasfedb: has joined #ruby
[11:19:51] thomasfedb: Changing host
[11:19:51] thomasfedb: has joined #ruby
[11:19:51] thomasfedb: has joined #RubyOnRails

2016-04-15

[15:13:15] thomasfedb: Ping timeout: 260 seconds
[15:18:59] thomasfedb: has joined #RubyOnRails
[15:19:00] thomasfedb: has joined #RubyOnRails
[15:19:00] thomasfedb: has joined #ruby
[15:19:00] thomasfedb: Changing host
[15:19:00] thomasfedb: has joined #ruby

2016-04-06

[22:25:24] thomasfedb: has joined #RubyOnRails
[22:25:24] thomasfedb: has joined #ruby
[22:25:24] thomasfedb: Changing host
[22:25:24] thomasfedb: has joined #ruby
[22:25:24] thomasfedb: has joined #RubyOnRails

2016-03-31

[03:32:49] thomasfedb: Ping timeout: 246 seconds

2016-03-16

[12:54:39] thomasfedb: has joined #RubyOnRails
[12:54:39] thomasfedb: has joined #ruby
[12:54:39] thomasfedb: Changing host
[12:54:39] thomasfedb: has joined #ruby
[12:54:39] thomasfedb: has joined #RubyOnRails

2016-03-09

[00:08:06] thomasfedb: Ping timeout: 246 seconds
[00:13:36] thomasfedb: has joined #RubyOnRails
[00:13:36] thomasfedb: has joined #ruby
[00:13:36] thomasfedb: Changing host
[00:13:36] thomasfedb: has joined #ruby
[00:13:36] thomasfedb: has joined #RubyOnRails
[12:27:01] thomasfedb: Ping timeout: 240 seconds

2016-02-28

[04:15:50] thomasfedb: has joined #ruby
[04:15:50] thomasfedb: has joined #RubyOnRails
[04:17:39] thomasfedb: has joined #RubyOnRails
[04:17:39] thomasfedb: has joined #ruby
[04:17:39] thomasfedb: Changing host

2016-02-20

[03:40:29] thomasfedb: Ping timeout: 260 seconds
[03:40:36] thomasfedb: has joined #RubyOnRails
[03:40:36] thomasfedb: has joined #ruby
[03:40:36] thomasfedb: Changing host
[03:40:36] thomasfedb: has joined #ruby
[03:40:36] thomasfedb: has joined #RubyOnRails

2016-02-17

[09:52:39] thomasfedb: *.net *.split
[09:54:33] thomasfedb: has joined #RubyOnRails
[09:54:33] thomasfedb: has joined #ruby
[09:54:33] thomasfedb: Changing host
[09:54:33] thomasfedb: has joined #ruby
[09:54:33] thomasfedb: has joined #RubyOnRails
[10:03:47] thomasfedb: *.net *.split
[10:03:49] thomasfedb: has joined #RubyOnRails
[10:03:49] thomasfedb: has joined #ruby
[10:03:49] thomasfedb: Changing host
[10:03:49] thomasfedb: has joined #ruby
[10:03:49] thomasfedb: has joined #RubyOnRails

2016-02-13

[16:44:18] thomasfedb: Ping timeout: 250 seconds
[16:47:31] thomasfedb: has joined #RubyOnRails
[16:47:31] thomasfedb: has joined #ruby
[16:47:31] thomasfedb: Changing host
[16:47:31] thomasfedb: has joined #ruby
[16:47:31] thomasfedb: has joined #RubyOnRails

2016-02-01

[05:48:25] thomasfedb: has joined #RubyOnRails
[05:48:25] thomasfedb: has joined #ruby
[05:48:25] thomasfedb: Changing host
[05:48:25] thomasfedb: has joined #ruby
[05:48:25] thomasfedb: has joined #RubyOnRails

2016-01-20

[18:22:05] thomasfedb: *.net *.split

2015-12-14

[18:51:02] thomasfedb: has joined #ruby
[18:51:08] thomasfedb: has joined #RubyOnRails
[18:51:14] thomasfedb: has left #RubyonRails-offtopic: ("Leaving")