#RubyOnRails - 06 August 2017
« Back 1 day Forward 1 day »
[00:16:49] jscheel: dang internet cut out, dunno if anyone answerd me, but it looks like the callbacks are not called on a has_many :through
[07:28:16] ImmoveableOne: Hello, I want to use set_trace_func such that it runs only before user defined methods, like actions, helper functions, libraries I import and methods in models.
[10:44:25] arup_r: EXTRACT( year from created_at::date) giving me the year in floating point number, where as the same logic in the psql console giving me correct integer value. Any idea where is the bug? https://gist.github.com/aruprakshit/7beba5428bf4063a4cff19367d529673
[21:04:52] gost: I would like to have a different subdomain for each customer in a rubyonrails site...like customer1.coolapp.com, customer2.coolapp.com, etc. is this usually done within rails in routes.rb or when doing this usually each subdomain is an app instance? what do you recommend?
[21:05:33] gost: I have searched the routes guides and it seems only to talk about having admin.coolapp.com and www.coolapp.com but not for different accounts
[21:17:50] gost: I know ways of doing it, I would like to know how others are doing it, which is the best practice for this...
[21:37:50] gost: if someone else is interested, here are more information about doing this in heroku: https://devcenter.heroku.com/articles/custom-domains
[23:00:02] rubylegend2092: Can anyone help with connecting chartkick to impressionists? I will post what I have.