« Back to channel list

#RubyOnRails - 09 July 2018

« Back 1 day Forward 1 day »
[00:10:28] apeiros: has joined #RubyOnRails
[00:15:10] tdy: has joined #RubyOnRails
[00:29:25] alfiemax: has joined #RubyOnRails
[00:35:35] nickjj_: has joined #RubyOnRails
[00:36:20] alfiemax_: has joined #RubyOnRails
[00:37:52] orbyt_: has joined #RubyOnRails
[00:43:30] AlHafoudh: has joined #RubyOnRails
[00:48:31] sevenseacat: has joined #RubyOnRails
[00:51:54] benlieb: has joined #RubyOnRails
[00:55:08] Technodrome: has joined #RubyOnRails
[01:07:42] apeiros: has joined #RubyOnRails
[01:10:31] mroutis: has joined #RubyOnRails
[01:12:52] uks: has joined #RubyOnRails
[01:16:14] orbyt_: has joined #RubyOnRails
[02:38:44] vedu_: has joined #RubyOnRails
[02:40:25] ephemer0l: has joined #RubyOnRails
[02:43:36] Technodrome: has joined #RubyOnRails
[03:09:35] braincrash: has joined #RubyOnRails
[03:11:08] samort7: has joined #RubyOnRails
[03:36:58] tdy: has joined #RubyOnRails
[03:59:13] dbugger_: has joined #RubyOnRails
[04:01:19] benlieb: has joined #RubyOnRails
[04:10:29] srinidhi: has joined #RubyOnRails
[04:11:06] conta: has joined #RubyOnRails
[04:28:53] duderonomy: has joined #RubyOnRails
[05:04:52] apeiros: has joined #RubyOnRails
[05:06:26] za1b1tsu: has joined #RubyOnRails
[05:12:08] vedu_: has joined #RubyOnRails
[05:19:14] srinidhi: has joined #RubyOnRails
[05:20:51] tdy: has joined #RubyOnRails
[05:27:47] samort7: currently trying to install rails on windows10 WSL. Anyone try this before?
[05:32:02] sevenseacat: I haven't. I'd hope it wouldnt be too difficult though
[05:32:20] samort7: pretty weird having native linux on windows
[05:32:46] samort7: trying to get it to work with RubyMine isn't really explained anywhere though
[05:35:01] sevenseacat: would be pretty weird having a real dev environment on windows, yeah :D
[05:38:39] vedu_: has joined #RubyOnRails
[05:57:46] conta: has joined #RubyOnRails
[05:57:58] apeiros: has joined #RubyOnRails
[05:58:55] bphogan: has joined #RubyOnRails
[05:59:33] reber: has joined #RubyOnRails
[06:25:03] syndikate: I need to temporarily disable has_secure_token on a field. Is it okay if I don't migrate and remove the field but just remove the line `has_secure_token token_field`?
[06:30:58] psychoslave_: has joined #RubyOnRails
[06:59:48] jackhum: has joined #RubyOnRails
[07:22:14] Technodrome: has joined #RubyOnRails
[07:26:19] mtkd: has joined #RubyOnRails
[07:28:58] schneider: has joined #RubyOnRails
[07:29:41] ^mtkd: has joined #RubyOnRails
[07:45:31] lxsameer: has joined #RubyOnRails
[07:55:36] ariejan: has joined #RubyOnRails
[07:59:57] jackhum: has joined #RubyOnRails
[08:00:37] anikras: has joined #RubyOnRails
[08:01:17] anikras: hi, I have an application and I have an page with statistics, but I would like to debug the queries
[08:01:42] anikras: Can I watch in console the queries ?
[08:02:08] anikras: I am not very familiar with ruby & rails
[08:04:09] tbuehlmann: anikras: queries are logged. in addition to that you could put a debugger in the code right where the queries are made
[08:28:48] stopostit: has joined #RubyOnRails
[08:33:04] stopostit: Hello guys :) I'm building a factice marketplace using rails for a project and i'm not sur how I have to handle the creation of an item. I'm using a "user has many items through stock". However i would like to pass argument like price and number of items in stocks. I would like to pass it in the same form as the name and the description of the item in the item/new view. I am not sure how I can manage this. Have any one got som
[08:39:38] conta: has joined #RubyOnRails
[08:43:25] mikecmpbll: has joined #RubyOnRails
[08:53:27] srinidhi: has joined #RubyOnRails
[08:54:53] mikecmpbll: has joined #RubyOnRails
[08:56:23] conta: has joined #RubyOnRails
[09:09:36] conta: has joined #RubyOnRails
[09:11:52] mikecmpbll: has joined #RubyOnRails
[09:22:35] jnollette: has joined #RubyOnRails
[09:41:02] srinidhi: has joined #RubyOnRails
[09:43:25] conta: has joined #RubyOnRails
[10:03:23] sidx64: has joined #RubyOnRails
[10:05:28] ur5us: has joined #RubyOnRails
[10:12:45] ellcs: has joined #RubyOnRails
[10:12:51] sidx64: has joined #RubyOnRails
[10:17:33] sidx64: has joined #RubyOnRails
[10:22:43] mtkd: has joined #RubyOnRails
[10:23:10] GodFather: has joined #RubyOnRails
[10:24:44] desperek: has joined #RubyOnRails
[10:26:34] mroutis: has joined #RubyOnRails
[10:40:53] apparition: has joined #RubyOnRails
[10:47:21] Pupeno: I'm using Rails 5.2, I'm getting an error on CircleCI about Devise.secret_key not set. I set up the SECRET_KEY_BASE environment variable. What else am I missing?
[10:53:12] sidx64: has joined #RubyOnRails
[10:53:49] jonno112: has joined #RubyOnRails
[11:01:04] tbuehlmann: Pupeno: how's secret_key defined in your application? this should be in config/initializers/devise.rb
[11:01:51] Pupeno: It's not defined. According to the comment: Devise will use the `secret_key_base` as its `secret_key` by default.
[11:04:11] tbuehlmann: great. so the order in which the secret_key_base is set is: ENV["SECRET_KEY_BASE"] || credentials.secret_key_base || secrets.secret_key_base
[11:04:31] tbuehlmann: so… are you sure the environment variable is set? can you recheck?
[11:06:16] Pupeno: Let me try printing it out to see if CircleCI is doing something weird.
[11:07:59] Pupeno: echo $SECRET_KEY_BASE shows the key, so, yes, it's set.
[11:10:19] tbuehlmann: can you manually set config.secret_key in config/initializers/devise.rb try again, just to see what happens?
[11:10:56] Ergo: has joined #RubyOnRails
[11:11:49] Pupeno: Running: https://circleci.com/gh/dashmantech/modulator
[11:13:00] Pupeno: Failed for another reason, but yeah, if I hardcode it, the value is there.
[11:13:40] tbuehlmann: does this happen locally as well?
[11:13:49] Pupeno: Nope, it works fine on my machine.
[11:14:33] tbuehlmann: no idea then
[11:14:48] Pupeno: Thank you tbuehlmann.
[11:20:40] ur5us: has joined #RubyOnRails
[11:34:32] jonno112: has joined #RubyOnRails
[11:36:32] sidx64: has joined #RubyOnRails
[11:43:20] sidx64: has joined #RubyOnRails
[11:45:11] fmcgeough: has joined #RubyOnRails
[11:51:53] sidx64: has joined #RubyOnRails
[11:57:58] jonno112: has joined #RubyOnRails
[11:58:04] vedu_: has joined #RubyOnRails
[11:59:53] sidx64: has joined #RubyOnRails
[12:02:22] sidx64: has joined #RubyOnRails
[12:11:01] apofis: has joined #RubyOnRails
[12:13:16] ariejan: has joined #RubyOnRails
[12:17:06] conta: has joined #RubyOnRails
[12:31:06] fmcgeough: has joined #RubyOnRails
[12:32:45] dbugger__: has joined #RubyOnRails
[12:34:53] sidx64: has joined #RubyOnRails
[12:49:09] sidx64: has joined #RubyOnRails
[13:08:50] DrYockel: has joined #RubyOnRails
[13:13:02] Criten: has left #RubyOnRails: ()
[13:15:43] srinidhi: has joined #RubyOnRails
[13:43:35] ^mtkd: has joined #RubyOnRails
[13:45:18] uksio: has joined #RubyOnRails
[13:46:09] orbyt_: has joined #RubyOnRails
[13:51:41] mtkd: has joined #RubyOnRails
[13:52:53] crova: has joined #RubyOnRails
[13:54:49] srinidhi: has joined #RubyOnRails
[13:58:18] mtkd: has joined #RubyOnRails
[14:02:25] ariejan: has joined #RubyOnRails
[14:16:19] samosaphile: has joined #RubyOnRails
[14:16:28] samosaphile: has left #RubyOnRails: ()
[14:16:33] samosaphile: has joined #RubyOnRails
[14:19:45] mtkd: has joined #RubyOnRails
[14:21:20] spohnz: has joined #RubyOnRails
[14:28:02] chouhoulis: has joined #RubyOnRails
[14:28:51] bonhoeffer: has joined #RubyOnRails
[14:29:51] bonhoeffer: with rails 5.2 on production, i'm losing state -- getting logged out, any things I should check?
[14:31:16] bonhoeffer: issue is not duplicated on development -- thinking it may be related to ssl
[14:38:37] Dbugger: has joined #RubyOnRails
[14:41:35] bonhoeffer: has joined #RubyOnRails
[14:42:07] bonhoeffer: sorry, i was disconnected -- please let me know of any troubleshooting options for loss of authentication in rails 5.2 in production
[14:48:36] bonhoeffer: figured it out -- was caused by config.force_ssl = true -- my guess was an issue with the "secure cookies" -- should i poke around to create a rails issue?
[14:56:18] vedu_: has joined #RubyOnRails
[14:56:35] vedu_: has joined #RubyOnRails
[15:01:29] Technodrome: has joined #RubyOnRails
[15:05:00] dblessing: has joined #RubyOnRails
[15:09:01] za1b1tsu: has joined #RubyOnRails
[15:11:54] apeiros: has joined #RubyOnRails
[15:23:10] mroutis: has joined #RubyOnRails
[15:27:41] jackhum: has joined #RubyOnRails
[15:34:31] ariejan: has joined #RubyOnRails
[15:35:41] theRoUS: rails 5.0.7. at what point do the routes get set up? i need to run an initialiser *after* Rails.application.routes.routes has been loaded..
[15:36:36] za1b1tsu: has joined #RubyOnRails
[15:38:37] ariejan_: has joined #RubyOnRails
[15:42:59] theRoUS: i'm trying to do it in the Rails.application.config.after_initialize block, but apparently the routes aren't reliable set up at that point
[15:46:05] cagomez: has joined #RubyOnRails
[15:51:58] theRoUS: i found this: "Some parts of your application, notably routing, are not yet set up at the point where the after_initialize block is called." on http://guides.rubyonrails.org/configuring.html#using-initializer-files -- but it doesn't say how I can hook some code to run after the routing *is* set up
[15:57:23] apeiros: has joined #RubyOnRails
[16:00:26] dbugger_: has joined #RubyOnRails
[16:00:35] mikecmpbll: has joined #RubyOnRails
[16:01:47] pankaj: has joined #RubyOnRails
[16:02:37] jcarl43: has joined #RubyOnRails
[16:15:25] orbyt_: has joined #RubyOnRails
[16:17:40] _aeris_: has joined #RubyOnRails
[16:20:18] chkhanch: has joined #RubyOnRails
[16:20:38] chkhanch: Hello everyone, I have 2 models with links has_many, belongs_to. The model that is connected as has_many in the second model, contains the enum. Can I link belongs_to only to a specific value of enum
[16:20:53] orbyt_: has joined #RubyOnRails
[16:20:54] akaiiro: has joined #RubyOnRails
[16:29:54] darkhanb: has joined #RubyOnRails
[16:35:09] akaiiro: has joined #RubyOnRails
[16:39:04] pyler: has joined #RubyOnRails
[16:39:11] mtkd: has joined #RubyOnRails
[16:41:45] pyler: where do views for the application_controller.rb go? Should I create a folder named application in views folder for the application_controller.rb and put my views in there?
[16:42:16] pyler: Basically I want to use the application_controller for all my views instead of creating my own
[16:42:27] troys: has joined #RubyOnRails
[16:45:14] tbuehlmann: pyler: the application controller usually doesn't have any actions
[16:46:20] pyler: has left #RubyOnRails: ()
[16:47:35] eckhardt_: has joined #RubyOnRails
[16:49:25] lxsameer: has joined #RubyOnRails
[17:07:43] sameerynho: has joined #RubyOnRails
[17:09:17] benlieb: has joined #RubyOnRails
[17:18:04] pyler: has joined #RubyOnRails
[17:18:29] dviola: has joined #RubyOnRails
[17:19:32] pyler: Hi how can I create actions using the application_controller? What are the limits of using application_controller.rb for my project?
[17:20:06] augcesar: has joined #RubyOnRails
[17:25:13] alfiemax: has joined #RubyOnRails
[17:28:42] kapil___: has joined #RubyOnRails
[17:35:41] orbyt_: has joined #RubyOnRails
[17:39:16] Cork: has joined #RubyOnRails
[17:39:49] tbuehlmann: pyler: don't use the application controller for actions, have dediciated controllers for that
[17:40:21] pyler: @tbuehlmann, is there a reason why?
[17:41:07] alfiemax: has joined #RubyOnRails
[17:41:09] akaiiro: has joined #RubyOnRails
[17:41:32] psychoslave_: has joined #RubyOnRails
[17:45:27] tbuehlmann: do you have an example of what you want to do?
[17:47:53] johndunn: has joined #RubyOnRails
[17:48:20] johndunn: has left #RubyOnRails: ()
[17:49:33] lxsameer: has joined #RubyOnRails
[17:53:11] tdy: has joined #RubyOnRails
[18:02:02] chkhanch: Hello everyone, I have 2 models with links has_many, belongs_to. The model that is connected as has_many in the second model, contains the enum. Can I link belongs_to only to a specific value of enum
[18:08:35] apeiros: belongs_to means it contains an id. an id is already explicit. or do you mean you want to have a validation that the id used is one of a fitting record?
[18:08:39] apeiros: chkhanch: ^
[18:09:29] mtkd: has joined #RubyOnRails
[18:09:35] Technodrome: has joined #RubyOnRails
[18:11:08] lxsameer: has joined #RubyOnRails
[18:15:04] chkhanch: I want that only some record on the enum have a fk
[18:15:57] chkhanch: value in fk
[18:17:32] apeiros: sounds like a validation to me. what's stopping you?
[18:17:55] ariejan: has joined #RubyOnRails
[18:19:47] nzst: has joined #RubyOnRails
[18:22:49] tenderlove: has joined #RubyOnRails
[18:25:31] chkhanch: I have a model user and model group, can I do that only certain users will be included in the group (yes, it's better that every kind of users had their own model, but now it is implemented through enum)
[18:27:21] chkhanch: in model Group: has_many :users, -> { where something: 'something' }
[18:27:32] jonno112: has joined #RubyOnRails
[18:27:54] dviola: has joined #RubyOnRails
[18:28:51] fragamus: has joined #RubyOnRails
[18:30:12] dcopie: has joined #RubyOnRails
[18:31:03] dcopie: is there a way to have a catch all route on a subdomain? i have a subdomain setup now but i dont want to have a duplicate site.
[18:31:25] lxsameer: has joined #RubyOnRails
[18:32:15] tycoon177: dcopie: to make sure i understand, you want 100% of the subdomain traffic to go to a single route?
[18:32:39] dcopie: tycoon177: yes, or just redirect other paths to the root path on the top domain.
[18:33:20] dcopie: so foo.bar.com/books is valid, but if someone tries to go to foo.bar.com/about have them redirected to the root path or just bar.com/about
[18:34:32] tycoon177: this sounds like something that a middleware would be best for, tbqh
[18:34:37] tycoon177: you could hack it in through routing
[18:35:23] chkhanch: <apeiros> `
[18:35:55] apeiros: chkhanch: I don't get your question. the example you gave should work.
[18:38:57] openstruct: has joined #RubyOnRails
[18:39:46] za1b1tsu: has joined #RubyOnRails
[18:42:29] openstruct: Been digging around the ActiveStorage code, but I can't determine if it has built-in protection from SSRF. When using Paperclip, I used private_address_check to ensure a user-submitted URL doesn't resolve to a private address. Should I be doing the same check before passing urls to active storage?
[18:42:30] chkhanch: <apeiros> but should I make feedback in the user model via belongs_to, thx
[18:43:07] apeiros: chkhanch: does a user always belong to exactly one group? (also, no <> needed around a nick in irc)
[18:44:48] dcopie: tycoon177: https://pastebin.com/gWYJJPpU
[18:44:50] dcopie: that worked :)
[18:46:55] chkhanch: apeiros: it`s do my irc client) yes, the group will be unchanged (as a record in db) for a specific set of users
[18:47:36] apeiros: unchanged wasn't my question. my question was whether every user will belong to exactly one (or zero) group
[18:51:01] chkhanch: apeiros: yes, obviously it will not work out without the group for unnecessary users
[18:53:36] pyler: has joined #RubyOnRails
[18:53:48] mtkd: has joined #RubyOnRails
[18:54:44] dviola: has joined #RubyOnRails
[18:57:47] Cork: has joined #RubyOnRails
[18:59:45] lxsameer: has joined #RubyOnRails
[18:59:50] LightStalker: has joined #RubyOnRails
[19:00:10] optikalmouse: has joined #RubyOnRails
[19:02:57] SteenJobs: has joined #RubyOnRails
[19:04:21] pyler: has left #RubyOnRails: ()
[19:10:51] dviola: has joined #RubyOnRails
[19:21:42] alfiemax: has joined #RubyOnRails
[19:24:12] weaksauce: has joined #RubyOnRails
[19:25:27] mtkd: has joined #RubyOnRails
[19:26:54] tdy: has joined #RubyOnRails
[19:37:55] vedu_: has joined #RubyOnRails
[19:38:32] havenwood: has joined #RubyOnRails
[19:42:01] havenwood: has joined #RubyOnRails
[19:42:46] cagomez: can I specify a `unique` index when using the `create_table` column shorthand syntax? ie `t.text :some_column, null: false, index: true, unique: true`?
[19:43:20] tycoon177: cagomez: https://stackoverflow.com/a/1449466
[19:43:47] cagomez: furthermore, does anyone have a link to docs for this shorthand? I'm having trouble figuring out what options I can use
[19:44:13] tycoon177: http://edgeguides.rubyonrails.org/active_record_migrations.html
[19:44:15] cagomez: tycoon177: so could I do: `t.text :some_column, null: false, index: { unique: true} `
[19:44:23] tycoon177: i have no idea
[19:44:39] tycoon177: i just googled it and sent you the first links that looked correctly
[19:44:44] tycoon177: looked correct*
[19:45:00] tycoon177: i know the syntax shown works. i'm not sure about doing it on a single line
[19:46:20] VeryBewitching: has joined #RubyOnRails
[19:49:17] VeryBewitching: Hey folks, I have Postgres running with a Rails app (5.1) and Resque, and the resque queues seem to have issues leasing connections from the connection pool. I have summed the pool size for each resque worker and the rails app (nginx, 6 worker threads, 30 connections and resque 15 connections, 5 per worker) and I keep getting this from time to time: https://gist.github.com/bewitchingme/43c627d00fc2a7d156d4ff60151fb00f
[19:52:03] VeryBewitching: I have the connections in Postgres cranked up to more than twice what I think I need, but this still occurs. Can anyone provide some advice on how to tune Rails and Resque together with PG?
[19:53:39] lupine: you may have a connection leak. also note that connections are reaped in the background. pgbouncer can act as a mitigation, or you can just keep increasing the number
[19:53:41] NoGodDamnIdea: has joined #RubyOnRails
[19:54:22] lxsameer: has joined #RubyOnRails
[19:56:22] VeryBewitching: I have postgres set to 400 connections (much higher than I'd like)
[19:57:23] VeryBewitching: And ya, I've been looking at pgBouncer, guess I'll give that a shot next.
[20:00:41] optikalmouse: there's a few other options for conncetion pooling: https://wiki.postgresql.org/wiki/Replication,_Clustering,_and_Connection_Pooling
[20:00:54] optikalmouse: pgpool I think is one as well as pgbouncer
[20:08:08] VeryBewitching: OK, thanks folks. :)
[20:10:30] sidx64: has joined #RubyOnRails
[20:10:33] lxsameer: has joined #RubyOnRails
[20:10:36] ReinH: has joined #RubyOnRails
[20:10:46] ReinH: Radar: hi
[20:11:37] planigan: has joined #RubyOnRails
[20:13:06] benlieb: has joined #RubyOnRails
[20:14:59] psychoslave: has joined #RubyOnRails
[20:23:09] mtkd: has joined #RubyOnRails
[20:24:57] inradius: has joined #RubyOnRails
[20:28:14] inradius: In Ruby HTML, the <%= %> automatically creates a <div> tag in the HTML. I have 2 separate <%= %> tags that I want to be displayed on the same line, next to each other. How would one go about doing this?
[20:28:55] lxsameer: has joined #RubyOnRails
[20:29:50] mtkd: has joined #RubyOnRails
[20:40:22] hfp_work: has joined #RubyOnRails
[20:50:47] lxsameer: has joined #RubyOnRails
[20:56:18] dviola: has joined #RubyOnRails
[21:01:59] woohoou: has joined #RubyOnRails
[21:08:45] lxsameer: has joined #RubyOnRails
[21:09:44] hahuang65: anyone have any suggestions for this scenario: I update an object and fire off an ActionMailer.deliver_later. That deserializes whatevers in Sidekiq/Redis too fast, and fetches the company from the DB too fast and doesn't have the updates I just made
[21:11:29] hfp_work: has joined #RubyOnRails
[21:15:04] alfiemax: has joined #RubyOnRails
[21:19:04] FernandoBasso: has joined #RubyOnRails
[21:21:03] Fuzai: Is there any way to trigger a page refresh from a loaded page easily when a model gets updated without using something like websockets?
[21:24:00] hfp_work: has joined #RubyOnRails
[21:30:34] timdotrb: has joined #RubyOnRails
[21:30:54] timdotrb: Afternoon, all
[21:36:49] tycoon177: Fuzai: i mean...i guess you could periodically use javascript to check a route that returns the updated_at column
[21:37:06] tycoon177: but there needs to be some way for the server to relay that information to the client
[21:37:17] tycoon177: so your options are limited
[21:46:47] timdotrb: Is anyone aware of an in-depth tutorial on creating gems? I would like to include a controller and route into this gem I’m creating
[21:48:23] Fuzai: tycoon177: I thought so, I just thought I would ask because I saw a blog that hinted at the idea there might be another way besides polling
[21:48:57] lxsameer: has joined #RubyOnRails
[21:49:18] tycoon177: timdotrb: if you find one, let me know please! i searched and searched but couldn't find one. i ended up having to piece together how to write a rake middleware
[21:49:29] ^mtkd: has joined #RubyOnRails
[21:53:11] timdotrb: tycoon177: will do.
[21:53:45] ur5us: has joined #RubyOnRails
[21:55:55] Fuzai: timdotrb: My humble suggestion would be to tear into Puma and how it does it's startup process. Also, this might be a long shot, but I found that Express from Node.js actually helped me to understand how Puma does it's thing better
[21:56:41] VeryBewitching: Fuzai: Either via a websocket or some kind of polling, in either case, that's a client-side scripting obstacle.
[22:04:34] _aeris_: has joined #RubyOnRails
[22:12:42] lxsameer: has joined #RubyOnRails
[22:16:23] blackmesa: has joined #RubyOnRails
[22:31:03] dblessing: has joined #RubyOnRails
[22:34:49] alfiemax: has joined #RubyOnRails
[22:36:55] jhack: has joined #RubyOnRails
[22:38:25] inradius: I defined a variable inside a html.erb file. Is it possible to change the value of this variable using an :onchange event from say, a dropdown menu?
[22:40:58] inradius: I'm working with will_paginate gem on Rails 3.1. I'm trying to add an option to change number of items shown per page.
[22:42:19] jhack: has joined #RubyOnRails
[22:49:29] Technodrome: has joined #RubyOnRails
[22:51:42] blackmesa: has joined #RubyOnRails
[22:54:20] ellcs: has joined #RubyOnRails
[23:00:17] lxsameer: has joined #RubyOnRails
[23:01:34] eckhardt_: has joined #RubyOnRails
[23:10:18] jmedima: has joined #RubyOnRails
[23:11:53] jmedima: Hello, I am having issues displaying nested attributes in my index and show views. I was wondering if anyone has suggestions for that.
[23:18:13] lxsameer: has joined #RubyOnRails
[23:22:27] apeiros__: has joined #RubyOnRails
[23:22:46] jhack_: has joined #RubyOnRails
[23:25:40] IanMalcolm: has joined #RubyOnRails
[23:26:50] arooni: has joined #RubyOnRails
[23:29:48] urkle: has joined #RubyOnRails
[23:31:01] blackmesa: has joined #RubyOnRails
[23:35:59] orbyt_: has joined #RubyOnRails
[23:36:47] Fuzai: How do I access the record that was just created within an after_create model callback?
[23:37:10] lxsameer: has joined #RubyOnRails
[23:37:23] Fuzai: would it be self?
[23:38:48] Xiti: has joined #RubyOnRails
[23:39:34] dtzuzu: has joined #RubyOnRails
[23:44:05] Fuzai: nm I got it
[23:50:47] Technodrome: has joined #RubyOnRails
[23:54:26] SteenJobs: has joined #RubyOnRails