tubbo

Activity Graph

Page 1 of 382 | Next »

2019-05-22

[17:38:43] tubbo: has joined #RubyOnRails
[17:38:48] tubbo: has joined #RubyonRails-offtopic
[17:39:06] tubbo: do people even come on irc anymore
[19:21:41] tubbo: Ping timeout: 268 seconds
[19:53:10] tubbo: has joined #RubyonRails-offtopic

2019-01-13

[18:46:13] tubbo: Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in

2019-01-07

[18:26:34] tubbo: special shoutout to bundler and bundler-audit for totally grinding our CI to a halt
[18:27:13] tubbo: what benefits do you even get from bundler v2? i haven't noticed anything spectacular. all it's done so far is cause problems.
[18:27:23] tubbo: also hi everyone :)
[19:15:39] tubbo: not a whole lot
[19:15:44] tubbo: you still live in NYC?
[19:20:08] tubbo: my band is playing there next saturday https://www.facebook.com/events/1980925601998647
[19:20:12] tubbo: east village
[19:21:33] tubbo: no tickets, the venue handles that stuff so we can't offer advance. but it's pretty small and we're not that popular :P
[19:21:57] tubbo: we're headlining, going on around 10
[19:26:02] tubbo: hah it's all good
[19:26:19] tubbo: thanks haha yeah it will be nice to meet in person
[21:32:54] tubbo: HalcyonicStorm: the venue we were gonna play at decided to inform us that they'll be taking some private party that night and wanted to move us
[21:32:57] tubbo: we cancelled. sorry.
[21:33:14] tubbo: this is the 2nd time that nublu has fucked us over so we're just not going to support them.
[21:33:18] tubbo: we've also flamed them on social media
[21:34:48] tubbo: waheedi: encrypted cookies can only be readable by the client that they were encrypted for afaik
[21:35:32] tubbo: https://api.rubyonrails.org/classes/ActionDispatch/Cookies.html for more info
[21:41:03] tubbo: baweaver: yeah
[21:56:28] tubbo: baweaver: i enqueued this video when i saw it was you giving the talk :)
[22:05:37] tubbo: that's cool
[22:07:06] tubbo: i might see if my company will let me go this year and talk about our gem rails-decorators
[22:07:32] tubbo: it's a gem that lets you "decorate" existing ruby classes (and, coming soon, modules)
[22:08:35] tubbo: so in a normal Rails app, you might have to do a shitty monkey-patch in config/initializers to get this functionality: https://github.com/weathermen/soundstorm/blob/master/app/controllers/devise_controller.decorator
[22:08:47] tubbo: (devise only rendering the layout on non-XHR)
[22:09:16] tubbo: but i just have it as app/controllers/devise_controller.decorator (has to match the orig path) and rails loads my decorator whenever the DeviseController constant is referenced
[22:09:53] tubbo: we're working on rails helper and module inclusion, but when we originally came up with this idea there were some issues around that...modules couldn't be reliably decorated, sometimes the decoration would not be there if rails' code reloading was fucked up

2018-12-18

[16:28:48] tubbo: tycoon177: `foo.bars.last`?
[16:34:51] tubbo: tycoon177: nothing that i know of, might be able to do it with a `joins` though
[21:24:26] tubbo: anyone here running headless chrome on docker? we're using the options `--headless --disable-gpu --disable-popup-blocking --window-size=1400,1400 --no-sandbox`, and getting the error "unknown error: DevToolsActivePort file doesn't exist"
[21:24:59] tubbo: full error: https://gist.github.com/tubbo/df68dd4fc9f60afc26a4f47684e38f49
[21:25:08] tubbo: running Chrome 71 afaict

2018-12-11

[16:32:13] tubbo: Ookma-Kyi: yes, you're on the right track. a reverse proxy from apache or nginx is what you should have serving your rails application from :80 / :443 (and thus, your domain)
[16:32:34] tubbo: Ookma-Kyi: here are some tutorials for various flavors of Linux that you might be using... https://www.linode.com/docs/development/ror/
[16:33:05] tubbo: actually wait a sec
[16:33:08] tubbo: most of them use Passenger :D
[16:33:32] tubbo: Ookma-Kyi: this one has some examples of Nginx server config for rails apps https://www.linode.com/docs/development/ror/use-unicorn-and-nginx-on-ubuntu-14-04/
[19:07:44] tubbo: Inside: "can only test on production data" - A totally wrong person
[19:33:14] tubbo: i mean like, that person is wrong
[19:33:31] tubbo: like just dump the DB/redis/etc. from prod and load it locally. problem solved.
[20:51:29] tubbo: ^ if anyone is curious, no. 10,000 requests per month for free IIRC

2018-12-06

[22:35:16] tubbo: i see what u did there

2018-12-05

[20:28:43] tubbo: srruby: sure

2018-12-04

[18:05:23] tubbo: i think you have your answer ;)
[18:05:52] tubbo: in the beginning of the app template you could try setting an ivar, `@new_application = false` then in `after_bundle` you can flip that to true
[18:06:17] tubbo: if you're saying `rails app:template` doesn't call after_bundle, then maybe you can kinda use that as a signal that it's a new app
[18:06:55] tubbo: i think create_file has something that will prevent it from running if the file exists though
[18:53:49] tubbo: jarlopez: i18n?
[18:54:15] tubbo: idk what "constant strings" means in this case, just generic stuff like "Saved Item" or "Item has been deleted"?
[18:55:33] tubbo: jarlopez: yeah. you can always access translation strings with I18n.t() from anywhere in the application.

2018-11-29

[20:20:40] tubbo: irc is dead
[20:20:59] tubbo: nah i thinK #ruby is still going around. no idea what's up with linux security
[20:46:35] tubbo: roses-r-red: hah idk a lot of people have moved to slack b/c it's easier for people to jump into
[20:46:52] tubbo: with IRC it's a little convoluted...gotta get an IRC client, connect to a network, deal with netsplits and nickname takeovers, etc.
[20:47:20] tubbo: agreed haha
[20:47:39] tubbo: #emacs usually has some good technical discussion
[20:47:46] tubbo: and #git from what i remember

2018-11-28

2018-11-27

[18:43:45] tubbo: quarters: no
[18:44:59] tubbo: i should clarify...there's almost never a situation where an app is "bugfree" or in its "ideal state", but there might be situations where there is "nothing left to implement"
[18:45:28] tubbo: as in, your app does all the things it needs to do
[18:55:32] tubbo: quarters: i suppose not, but these apps are also lucky enough to not be subject to real-world use cases
[18:56:44] tubbo: for example, the original blog in 15mins tutorial by DHH didn't have a lot of features that people take for granted today
[18:58:17] tubbo: i see what you mean
[18:58:29] tubbo: yeah i mean, if there's no reason to change the code, why change it?
[19:00:59] tubbo: i guess if you wanted to redesign the UI or something, but that's to solve bugs with the user experience right?
[19:55:26] tubbo: Jon30: rails might be expecting that constant to be in `lib/report_services/deep_crawl.rb` based on the name of the class
[22:31:15] tubbo: andrewray_: what does that mean
[22:31:33] tubbo: andrewray_: you talking like... app/presenters, app/flagooglebits, etc
[22:38:42] tubbo: andrewray_: probably `app/services/api/domain.rb` or maybe `app/integrations/api/domain.rb`
[22:46:39] tubbo: andrewray_: what are they to you?
[22:46:52] tubbo: anything in app/**/* is valid, so it kinda depends on what makes the most sense for your app
[22:46:58] tubbo: there's no "prescribed folder names" or anything
[22:49:22] tubbo: or you could always use `lib`

2018-11-26

[16:11:33] tubbo: emers2n: what version of rails is that?
[16:14:24] tubbo: emers2n: `reject` won't actually remove the records from the DB though
[16:14:28] tubbo: it'll just omit them from the array
[16:14:57] tubbo: i asked about what version of rails you were running because you're using a very old syntax there, `find(:all)` instead of just `all`...
[16:15:13] tubbo: emers2n: so you weren't trying to delete the records from the DB?

2018-11-20

[17:11:01] tubbo: tweaks: doesn't seem so. https://github.com/rails/rails/blob/fc5dd0b85189811062c85520fd70de8389b55aeb/actionpack/lib/action_dispatch/middleware/ssl.rb#L132-L138
[17:11:26] tubbo: oh sorry, you're using 4.2.x...
[17:11:50] tubbo: seems like in the latest 4.2, that was https://github.com/rails/rails/blob/4-2-stable/actionpack/lib/action_dispatch/middleware/ssl.rb#L44
[17:12:00] tubbo: so you should be seeing 301 redirects all the time, yeah?
[17:15:57] tubbo: @CONTENTCLICKED
[17:29:06] tubbo: tweaks: ah ok. the controller macro `force_ssl` is different from `Rails.configuration.force_ssl`. https://api.rubyonrails.org/classes/ActionController/ForceSSL/ClassMethods.html#method-i-force_ssl (which just does a `redirect_to` in https://api.rubyonrails.org/classes/ActionController/ForceSSL.html#method-i-force_ssl_redirect)
[20:06:37] tubbo: Travis-42: how are you determining that the job has not run?
[20:11:12] tubbo: bambanx: B2B can mean "business-to-business" in the eCommerce world, these are stores that sell to other businesses rather than consumers. wholesalers, white label printing (like for t-shirts, stickers, etc), and office supply delivery are good examples of B2B sales.
[21:24:04] tubbo: ayyy lmao

2018-11-19

[15:32:34] tubbo: has left #RubyonRails-offtopic: ("WeeChat 2.2")
[16:00:31] tubbo: has joined #RubyonRails-offtopic
[18:02:24] tubbo: aces1up: you could try created_at.in_time_zone(other_time_zone)
[18:02:38] tubbo: AR is gonna convert the UTC timestamps into the timezone specified by rails in your config
[18:02:59] tubbo: but you can get it to convert to another timezone by using #in_time_zone. https://api.rubyonrails.org/v5.2.1/classes/ActiveSupport/TimeWithZone.html#method-i-in_time_zone
[19:18:47] tubbo: quarters: rubygems.org would have that if it was ever uploaded
[19:19:17] tubbo: possible that it was uploaded to a private gem source...
[19:20:22] tubbo: quarters: well, what i meant by "private gem source" was a server, like https://gems.yourcompany.com
[19:20:35] tubbo: check the top of Gemfile for additional sources
[19:33:40] tubbo: hello IRC friends
[19:35:33] tubbo: baweaver nice post :D
[19:35:40] tubbo: i agree wholeheartedly
[19:36:58] tubbo: that said, emacs is a-MAZE-ing for note taking. it's now my primary notes/todos/agenda/keeping my shit together application.
[19:50:55] tubbo: quarters: it depends, you can pass `--path` or set `$BUNDLE_PATH` to configure the folder that bundler keeps gems in. i think it keeps your gems in the shared location defined by rubygems ($GEM_HOME) by default, though.
[19:51:18] tubbo: and it's separated by version so you can in theory have multiple versions of the same gem installed side-by-side...bundler will pick the right version for your app
[20:35:08] tubbo: FLeiXiuS: with ActiveRecord you can do Model.where(query).update_all(foo: 'bar')
[20:35:27] tubbo: that will update all records that match the query in one big INSERT INTO i believe
[20:35:36] tubbo: or UPDATE whatever it uses
[20:36:26] tubbo: @CONTENTCLICKED
[20:37:35] tubbo: idk how you'd do that in SQL, but you definitely can't do it in AR afaik
[21:48:11] tubbo: not too bad
[21:48:26] tubbo: just been kinda busy with shows for the wonder bars
[21:49:32] tubbo: elixir: it fixes all of ruby's problems
[21:58:25] tubbo: Radar: about 1-2 a month, plus a monthly DJ residency
[22:00:12] tubbo: yeah it's p fun :)
[22:00:19] tubbo: we're trying to tour the east coast US this year

2018-11-17

[19:54:32] tubbo: ${EXECUTABLE_NAME} (1.0.0) is a command-line tool to send OS X User Notifications.

2018-11-16

[16:32:58] tubbo: has joined #RubyonRails-offtopic
[16:32:58] tubbo: has joined #RubyOnRails
[16:32:58] tubbo: has joined #ruby-offtopic
[16:32:58] tubbo: has joined #ruby
[16:33:46] tubbo: Client Quit
[16:34:19] tubbo: has joined #ruby
[16:34:20] tubbo: has joined #RubyonRails-offtopic
[16:34:20] tubbo: has joined #RubyOnRails
[16:34:20] tubbo: has joined #ruby-offtopic
[16:36:04] tubbo: Client Quit
[16:56:22] tubbo: has joined #RubyonRails-offtopic
[16:56:40] tubbo: has joined #RubyonRails-offtopic
[16:56:40] tubbo: Changing host
[16:56:43] tubbo: has joined #RubyOnRails
[16:56:43] tubbo: has joined #ruby-offtopic
[16:57:41] tubbo: Client Quit
[16:57:53] tubbo: has joined #RubyOnRails
[16:57:53] tubbo: has joined #RubyonRails-offtopic
[16:57:53] tubbo: has joined #ruby-offtopic
[20:31:05] tubbo: newton: i haven't had that happen to me
[20:32:59] tubbo: but i have had issues with autoloading when certain dependencies were located in lib/ vs app/
[20:33:07] tubbo: and it was resolved by just throwing everything into app/

2018-10-15

[14:29:54] tubbo: has joined #RubyonRails-offtopic
[14:50:14] tubbo: Quit: WeeChat 2.2
[14:50:30] tubbo: has joined #RubyonRails-offtopic
[14:51:32] tubbo: Client Quit
[14:51:49] tubbo: has joined #RubyonRails-offtopic
[15:02:40] tubbo: Quit: WeeChat 2.2
[15:02:53] tubbo: has joined #RubyonRails-offtopic
[15:03:16] tubbo: finally back on irc because slack doesn't have a dark mode :P
[16:36:19] tubbo: Ping timeout: 244 seconds
[16:47:21] tubbo: has joined #RubyonRails-offtopic
[16:52:28] tubbo: Ping timeout: 246 seconds
[16:57:48] tubbo: has joined #RubyonRails-offtopic
[17:05:36] tubbo: Quit: WeeChat 2.2

2018-10-14

[20:53:38] tubbo: has joined #RubyonRails-offtopic
[20:58:12] tubbo: Client Quit
[21:01:18] tubbo: has joined #RubyonRails-offtopic
[21:01:23] tubbo: Client Quit
[21:01:43] tubbo: has joined #RubyonRails-offtopic
[21:02:16] tubbo: Client Quit
[21:02:38] tubbo: has joined #RubyonRails-offtopic
[21:02:39] tubbo: Client Quit
[21:09:36] tubbo: has joined #RubyonRails-offtopic
[21:09:42] tubbo: Client Quit
[21:10:55] tubbo: has joined #RubyonRails-offtopic

2018-09-17

[18:10:47] tubbo: has joined #RubyonRails-offtopic
[18:10:47] tubbo: has joined #RubyOnRails
[18:10:47] tubbo: has joined #ruby-offtopic
[18:10:47] tubbo: has joined #ruby
[18:16:02] tubbo: Quit: WeeChat 2.0.1
[18:16:16] tubbo: has joined #ruby-offtopic
[18:16:16] tubbo: has joined #ruby
[18:16:17] tubbo: has joined #RubyonRails-offtopic
[18:16:17] tubbo: has joined #RubyOnRails
[19:47:18] tubbo: Quit: WeeChat 2.0.1

2018-09-10

[18:14:56] tubbo: has joined #RubyonRails-offtopic
[18:14:56] tubbo: has joined #RubyOnRails
[18:14:56] tubbo: has joined #ruby-offtopic
[18:14:56] tubbo: has joined #ruby
[18:39:05] tubbo: Quit: WeeChat 2.0.1

2018-08-30

[18:10:53] tubbo: has joined #RubyonRails-offtopic
[18:10:53] tubbo: has joined #RubyOnRails
[18:10:53] tubbo: has joined #ruby-offtopic
[18:10:53] tubbo: has joined #ruby
[18:15:45] tubbo: baweaver: hey there
[18:15:49] tubbo: been a whil
[18:23:03] tubbo: baweaver: yeah, been pretty busy with work and music. how about you?
[20:24:27] tubbo: Ping timeout: 252 seconds

2018-04-27

[15:10:32] tubbo: has joined #RubyonRails-offtopic
[15:10:32] tubbo: has joined #RubyOnRails
[15:10:32] tubbo: has joined #ruby
[15:17:41] tubbo: Quit: WeeChat 2.0.1

2018-03-13

[14:15:52] tubbo: has joined #RubyonRails-offtopic
[14:15:52] tubbo: has joined #RubyOnRails
[14:15:52] tubbo: has joined #ruby
[14:19:09] tubbo: DOES ANYBODY HERE USE race_condition_ttl in their caches
[14:36:31] tubbo: Quit: WeeChat 2.0.1

2018-03-09

[17:06:11] tubbo: has joined #RubyOnRails
[17:06:11] tubbo: has joined #ruby
[17:06:12] tubbo: has joined #RubyonRails-offtopic
[17:15:13] tubbo: anyone else using wee-slack?
[17:16:16] tubbo: Quit: WeeChat 2.0.1
[17:16:51] tubbo: has joined #RubyonRails-offtopic
[17:16:51] tubbo: has joined #RubyOnRails
[17:16:51] tubbo: has joined #ruby
[17:21:45] tubbo: Quit: WeeChat 2.0.1
[20:01:29] tubbo: has joined #RubyonRails-offtopic
[20:01:29] tubbo: has joined #RubyOnRails
[20:01:29] tubbo: has joined #ruby
[20:11:30] tubbo: Read error: Connection reset by peer
[20:13:14] tubbo: has joined #RubyonRails-offtopic
[20:13:14] tubbo: has joined #RubyOnRails
[20:13:14] tubbo: has joined #ruby
[20:49:11] tubbo: Ping timeout: 268 seconds

2018-03-05

[19:39:05] tubbo: has joined #RubyOnRails
[19:39:06] tubbo: has joined #ruby
[19:39:06] tubbo: has joined #RubyonRails-offtopic
[19:47:24] tubbo: Ping timeout: 265 seconds
[20:48:57] tubbo: has joined #ruby
[20:48:57] tubbo: has joined #RubyonRails-offtopic
[20:48:57] tubbo: has joined #RubyOnRails
[21:02:54] tubbo: Quit: WeeChat 2.0.1