« Back to channel list

#RubyOnRails - 14 February 2016

« Back 1 day Forward 1 day »
[00:00:26] edwinvdgraaf: has joined #RubyOnRails
[00:01:57] edwinvdgraaf: has joined #RubyOnRails
[00:01:58] hinbody: has joined #RubyOnRails
[00:02:42] jfelchner: has joined #RubyOnRails
[00:03:15] one_zero: has joined #RubyOnRails
[00:03:24] Devalo: has joined #RubyOnRails
[00:07:46] dalpo: has joined #RubyOnRails
[00:08:54] bronson: has joined #RubyOnRails
[00:12:56] blackhuey: has joined #RubyOnRails
[00:14:55] nettoweb: has joined #RubyOnRails
[00:16:00] wethu: has joined #RubyOnRails
[00:16:11] user083: has joined #RubyOnRails
[00:17:11] benlieb: has joined #RubyOnRails
[00:19:31] macsteps: has joined #RubyOnRails
[00:19:40] DylanJ: has joined #RubyOnRails
[00:20:31] _Tariq: has joined #RubyOnRails
[00:21:20] ereslibre: has joined #RubyOnRails
[00:21:20] ereslibre: has joined #RubyOnRails
[00:21:37] Foss_: has joined #RubyOnRails
[00:21:59] NBarnes: has joined #RubyOnRails
[00:24:49] cajone: has joined #RubyOnRails
[00:27:15] duncannz: has joined #RubyOnRails
[00:28:07] DylanJ: has joined #RubyOnRails
[00:29:50] yatish27: has joined #RubyOnRails
[00:32:55] rhizome: SteenJobs: i would keep those isolated to just those forms, with a link to the other one
[00:34:50] AntiSpamMeta: has joined #RubyOnRails
[00:36:09] s2013: has joined #RubyOnRails
[00:36:55] dalpo: has joined #RubyOnRails
[00:43:34] blackmesa: has joined #RubyOnRails
[00:50:22] shilon: has joined #RubyOnRails
[00:51:49] askhat: has joined #RubyOnRails
[00:53:01] acovrig: has joined #RubyOnRails
[00:53:29] HenriettaSalt: has joined #RubyOnRails
[00:53:41] ravster: has joined #RubyOnRails
[00:56:53] acovrig: I???m trying to implement (https://infinum.co/the-capsized-eight/articles/progress-bar-in-rails) for a live progressbar and am getting uninitialized constant Controller::ImportJob (I just changed Export to Import and that was about it)
[00:57:57] triptec: has joined #RubyOnRails
[01:01:08] shilon: has left #RubyOnRails: ()
[01:02:07] SteenJobs: has joined #RubyOnRails
[01:09:19] SteenJobs: has joined #RubyOnRails
[01:10:21] SteenJobs: what???s the syntax for using ???button_tag??? with an image?
[01:11:02] SteenJobs: trying to create a button which launches a modal - NOT a submit button
[01:11:08] acovrig: It doesn???t seem to be seeing the app/jobs dir, how can I test this theory?
[01:14:25] DylanJ: has joined #RubyOnRails
[01:14:51] smathy: SteenJobs, button_tag imge_tag("blah"), type: "button"
[01:15:13] SteenJobs: smathy: thanks - the docs were lacking a bit there
[01:16:12] jottr: has joined #RubyOnRails
[01:18:49] acovrig: does rails by deafult look at /app/jobs?
[01:20:51] SteenJobs: what is the jobs directory?
[01:20:57] AKintunero: has joined #RubyOnRails
[01:21:26] SteenJobs: would anyone have a wild guess why opening a modal adds 15px to body -> padding-right every time it opens?
[01:23:53] wethu: has joined #RubyOnRails
[01:24:13] AKintunero: has joined #RubyOnRails
[01:25:08] rhizome: some css somewhere probably
[01:25:15] acovrig: It semes I???m having this issue, but the last message doesn???t help: https://github.com/collectiveidea/delayed_job/issues/411
[01:25:54] SteenJobs: rhizome: apparently it was an issue in older versions of bootstrap
[01:27:13] SteenJobs: rhizome: don???t think it???s anything in my own css, there???s not much written anyway
[01:29:03] triptec: has joined #RubyOnRails
[01:30:14] SteenJobs: rhizome: hacked it by just adding body { padding-right: 0px !important} and just overrides the 15px that get added. works at least.
[01:32:00] jtong: has joined #RubyOnRails
[01:38:39] jtong: has joined #RubyOnRails
[01:39:33] gizmore: has joined #RubyOnRails
[01:41:59] gizmore: has left #RubyOnRails: ()
[01:42:10] gizmore: has joined #RubyOnRails
[01:42:12] Spami: has joined #RubyOnRails
[01:44:42] triptec: has joined #RubyOnRails
[01:46:44] nodejunkie: has joined #RubyOnRails
[01:47:32] eljimmy: has joined #RubyOnRails
[01:49:53] askhat: has joined #RubyOnRails
[01:53:11] espinet: has joined #RubyOnRails
[01:57:17] JoshGlzBrk: has joined #RubyOnRails
[01:57:50] triptec: has joined #RubyOnRails
[01:58:00] espinet: has joined #RubyOnRails
[01:59:37] pawnbox: has joined #RubyOnRails
[02:00:20] acovrig_: has joined #RubyOnRails
[02:00:33] espinet: im trying to override the a accepts_nested_attributes_for *_attributes=() method for a has_many association and I???m not sure what that should look like. I can only find belongs_to examples online. anyone have experience with this?
[02:02:21] SteenJobs: generally if one wants to execute jquery code, i attach it to a DOM element - if i???m launching a view/controller action in a modal, what do i attach the .on(???shown.bs.modal???, __) to?
[02:06:27] rhizome: what are you asking about?
[02:06:38] rhizome: espinet: what are you trying to do?
[02:07:37] espinet: rhizome, i have nested attributes, and i have the id from a different data source that is currently not in the database. i need to find or initialize by the id so the nested attributes works
[02:08:08] espinet: im not sure how to override the *_attributes with a has_many association
[02:08:23] espinet: pirates_attributes=(attrs) ???? end
[02:09:12] espinet: ActiveRecord::RecordNotFound: Couldn't find User with ID=abc for Post with ID=xyz
[02:13:04] espinet: rhizome, essentially this is preventing me from doing what i want. https://github.com/rails/rails/blob/6dfab475ca230dfcad7a603483431c8e7a8f908e/activerecord/lib/active_record/nested_attributes.rb#L501
[02:14:29] blackmesa: has joined #RubyOnRails
[02:16:12] benlieb: has joined #RubyOnRails
[02:16:40] espinet: rhizome, i???m getting to the point that i create the records first, then call super but that would end up with double saves??? :/
[02:18:22] SteenJobs: rephrase: what???s the proper way to render a different controller???s view inside of a modal using bootstrap?
[02:20:57] espinet: SteenJobs: just a regular old partial? http://guides.rubyonrails.org/layouts_and_rendering.html#using-partials
[02:21:07] espinet: shared partial...
[02:21:08] SteenJobs: a controller???s view
[02:21:16] SteenJobs: executing a controller action which then renders a view
[02:21:27] SteenJobs: using a link path, for example
[02:22:05] espinet: you want to execute a controllers action too?
[02:22:26] arBmind1: has joined #RubyOnRails
[02:23:54] bronson: has joined #RubyOnRails
[02:24:28] rhizome: espinet: do you have the id at #new?
[02:24:42] espinet: rhizome, ya
[02:24:49] espinet: its the instagram id
[02:25:08] rhizome: do your find_or_create there
[02:25:12] AntiSpamMeta: has joined #RubyOnRails
[02:25:21] SteenJobs: not sure what you mean too???controller???s render views. i would like to press a button which launches a modal, calls a controller???s action, and renders the view called by that controller???s action in the modal window.
[02:25:24] SteenJobs: *controllers
[02:26:21] espinet: rhizome, but what does the rest of the method look like when i have a collection? does the method suppose to return a collection? or just save the attributes???
[02:26:31] rhizome: what are you talking about
[02:26:34] rhizome: what collection
[02:27:23] espinet: has_many :comments
[02:27:36] espinet: nested_attributes_for :comments
[02:28:04] espinet: comments_attributes(attrs) ???? end
[02:29:19] pawnbox: has joined #RubyOnRails
[02:29:52] _Tariq: has joined #RubyOnRails
[02:32:53] rhizome: well yes, you can do that
[02:33:08] rhizome: comments_attributes=(a)
[02:33:33] lessless: has joined #RubyOnRails
[02:34:08] rhizome: but chances are you can have rails do all this automatically
[02:35:57] espinet: SteenJobs: sounds like you need some ajax
[02:36:13] SteenJobs: using bootstrap
[02:37:09] espinet: ??? not sure how using a css framework allows you to execute another controller for a modal within a page. but ok. not sure if i can help
[02:41:05] espinet: rhizome: if i let rails handle the attributes for non-existing attributes that have an ???id??? i get the error ActiveRecord::RecordNotFound: Couldn't find User with ID=abc for Post with ID=xyz
[02:44:03] rhizome: don't use :id
[02:44:12] rhizome: assign it to some other name
[02:47:26] B1n4r10: has joined #RubyOnRails
[02:50:03] Radar: Hi again.
[02:54:38] ravster: has joined #RubyOnRails
[02:54:48] espinet: rhizome, if i did that, i would need to write a significant amount of code to prevent other issues from happening
[02:55:52] dexter-tzu: has joined #RubyOnRails
[02:56:17] kies^: has joined #RubyOnRails
[02:57:18] triptec: has joined #RubyOnRails
[03:00:13] Diabolik: is there an easy way in capybara of testing an http password protection caused by authenticate_or_request_with_http_basic
[03:00:21] Diabolik: like expecting to see the dialog box
[03:04:39] sevenseacat: has joined #RubyOnRails
[03:06:17] arup_r: has joined #RubyOnRails
[03:10:23] triptec: has joined #RubyOnRails
[03:16:12] bobbyc: has joined #RubyOnRails
[03:18:23] imuglyandimproud: has joined #RubyOnRails
[03:19:51] imuglyandimproud: hi there, I am having problems with nginx and passenger. I have ensured 3 times already that everything is correct but I am still getting a 403 forbidden
[03:22:38] triptec: has joined #RubyOnRails
[03:25:13] rhizome: espinet: are you saying you need to create objects specifying their id?
[03:25:17] Graphettion: has joined #RubyOnRails
[03:25:48] benlieb: has joined #RubyOnRails
[03:25:48] espinet: rhizome: ya
[03:26:04] espinet: hopefully while using nested_attributes
[03:37:54] jgt: has joined #RubyOnRails
[03:38:56] _Tariq: has joined #RubyOnRails
[03:39:32] pawnbox: has joined #RubyOnRails
[03:39:52] bronson: has joined #RubyOnRails
[03:42:12] EMCHAMP_: has joined #RubyOnRails
[03:43:00] jtong: has joined #RubyOnRails
[03:55:02] sankaber: has joined #RubyOnRails
[04:01:29] DmitryBochkarev: has joined #RubyOnRails
[04:04:44] Devalo: has joined #RubyOnRails
[04:04:52] treaki_: has joined #RubyOnRails
[04:08:49] rakm: has joined #RubyOnRails
[04:09:32] treaki: has joined #RubyOnRails
[04:10:35] graphettion_: has joined #RubyOnRails
[04:12:51] braincrash: has joined #RubyOnRails
[04:17:18] kriskhaira: has joined #RubyOnRails
[04:17:36] kriskhaira: Hi. Is .present? necessary when checking that an attribute has a value or is true?
[04:17:57] kriskhaira: For example, is `if user.email` the same as `if user.email.present?`
[04:18:24] AKintunero: has joined #RubyOnRails
[04:19:17] rubyonrailed: has joined #RubyOnRails
[04:21:27] arup_r: what do you mean by *has a value or is true?* ?
[04:21:32] atrius: has joined #RubyOnRails
[04:21:45] arup_r: you mean *has a value or not* ?
[04:21:53] s2013: has joined #RubyOnRails
[04:26:34] jtong: has joined #RubyOnRails
[04:29:50] tparenti: has joined #RubyOnRails
[04:31:17] alphaatom: has joined #RubyOnRails
[04:34:18] someish: has joined #RubyOnRails
[04:35:16] benlieb: has joined #RubyOnRails
[04:35:38] ensyde_: has joined #RubyOnRails
[04:36:26] The_Phoenix: has joined #RubyOnRails
[04:36:32] baweaver: has joined #RubyOnRails
[04:38:55] pawnbox: has joined #RubyOnRails
[04:41:23] braincra-: has joined #RubyOnRails
[04:47:31] lessless: has joined #RubyOnRails
[04:48:08] BecomingCoder: has joined #RubyOnRails
[04:52:28] floror: has joined #RubyOnRails
[04:55:06] ravster: has joined #RubyOnRails
[04:59:49] Honeycomb: has joined #RubyOnRails
[05:04:31] benlieb: has joined #RubyOnRails
[05:09:08] konsolebox: has joined #RubyOnRails
[05:13:23] DEA7TH: has joined #RubyOnRails
[05:16:02] sergey_makagon: has joined #RubyOnRails
[05:17:51] arup_r: has joined #RubyOnRails
[05:19:14] joshkovach: has joined #RubyOnRails
[05:26:34] Pazician: has joined #RubyOnRails
[05:29:39] arup_r: has joined #RubyOnRails
[05:35:30] jtong: has joined #RubyOnRails
[05:36:51] rafaelfr_: has joined #RubyOnRails
[05:38:19] jtong: has joined #RubyOnRails
[05:39:51] n00bDev: has joined #RubyOnRails
[05:42:09] ilhami: has joined #RubyOnRails
[05:42:22] ilhami: sevenseacat, :D
[05:42:31] ilhami: which editor should I use for Ruby? Aptana?
[05:42:32] sevenseacat: ilhami: afternoon.
[05:42:47] sevenseacat: but it's up to personal preference.
[05:42:55] ilhami: I use atom too. :P
[05:43:11] ilhami: for PHP at least.
[05:47:12] s2013: has joined #RubyOnRails
[05:52:55] ilhami: sevenseacat, which version of RubyOnRails do you use?
[05:55:39] pawnbox: has joined #RubyOnRails
[05:56:26] pawnbox: has joined #RubyOnRails
[05:58:38] y2mq37: has joined #RubyOnRails
[06:02:04] bronson: has joined #RubyOnRails
[06:02:20] baweaver: has joined #RubyOnRails
[06:03:17] intrigueD: has joined #RubyOnRails
[06:04:53] barhum2013: has joined #RubyOnRails
[06:10:05] speakingcode: has joined #RubyOnRails
[06:19:19] arup_r: I am on Rails 5. Trying to use turbolinks 3 for one of my feature. When I will click on the Add Entry link, I want the form to be inside the `<div id="new-entry">` .. but that replacement is not happening. What wrong am I doing? https://gist.github.com/aruprakshit/3c565871bd865b1b6f9c
[06:21:54] rhizome: espinet: consider an alternate approach
[06:27:05] triptec: has joined #RubyOnRails
[06:31:04] moeabdol2: has joined #RubyOnRails
[06:38:10] moeabdol: has joined #RubyOnRails
[06:38:59] lxsameer: has joined #RubyOnRails
[06:43:22] arup_r: omg. it is a rewrite https://github.com/turbolinks/turbolinks from https://github.com/turbolinks/turbolinks :/ so now I need to rollback lot of thing.. new API has no document yet.. that's why my things are not working,,
[06:43:44] arup_r: from https://github.com/turbolinks/turbolinks-classic **
[06:46:42] quazimodo: has joined #RubyOnRails
[06:48:26] awe: has joined #RubyOnRails
[06:54:07] RegulationD: has joined #RubyOnRails
[06:56:02] ravster: has joined #RubyOnRails
[06:57:19] EMCHAMP_: has joined #RubyOnRails
[06:57:25] ner0x: has joined #RubyOnRails
[07:05:29] tetraktys: has joined #RubyOnRails
[07:10:41] duncanm: has joined #RubyOnRails
[07:14:24] defsdoor: has joined #RubyOnRails
[07:21:11] gizmore_: has joined #RubyOnRails
[07:22:51] smoitra: has joined #RubyOnRails
[07:24:43] moeabdol1: has joined #RubyOnRails
[07:27:43] triptec: has joined #RubyOnRails
[07:40:56] yatish27: has joined #RubyOnRails
[07:43:59] tvw: has joined #RubyOnRails
[07:45:56] gizmore: has joined #RubyOnRails
[07:50:55] gizmore: has joined #RubyOnRails
[07:51:55] ner0x: has joined #RubyOnRails
[07:56:26] stardiviner: has joined #RubyOnRails
[08:03:29] ilhami: oops sorry
[08:07:22] Devalo: has joined #RubyOnRails
[08:08:34] quazimodo: i get the impression from reading thruogh these docker guides that one doesn't really 'develop' on a docker container
[08:08:50] quazimodo: as in, you just create your container when you want to push up to ci -> staging -> prod
[08:10:08] oded: has joined #RubyOnRails
[08:10:10] Devalo: has joined #RubyOnRails
[08:12:41] pipework: quazimodo: One can, but one doesn't often, I hear.
[08:12:58] pipework: I've played with vagrant for vm dev, since it's often easier for people.
[08:13:00] darutoko: has joined #RubyOnRails
[08:13:07] pipework: There's some cool stuff for docker dev though.
[08:13:14] pipework: pipework being a great one.
[08:15:26] ilhami: guys how can I setup a development environment really fast?
[08:15:31] quazimodo: ilhami: heroku
[08:15:43] quazimodo: what do you mean?
[08:16:09] ilhami: I need to setup a development environment like you do with Vagrant but isn't there a Ruby specific alternative?
[08:16:27] quazimodo: never used vagrant
[08:16:54] quazimodo: oh yeah I see
[08:27:38] sergey_makagon: has joined #RubyOnRails
[08:28:57] RegulationD: has joined #RubyOnRails
[08:30:48] srinidhi: has joined #RubyOnRails
[08:30:53] Pazician: has joined #RubyOnRails
[08:43:52] askhat: has joined #RubyOnRails
[08:48:52] dexter-tzu: has joined #RubyOnRails
[08:49:06] mdw: has joined #RubyOnRails
[08:55:19] sevenseacat: "set up a development environment" -> "install ruby" ?
[08:56:29] ilhami: lol sevenseacat
[08:56:39] ilhami: I meant a vagrant like environment where you have a VM.
[08:56:42] ilhami: with one command.
[08:56:57] sevenseacat: if you want to use vagrant. use vagrant
[08:56:59] pawnbox: has joined #RubyOnRails
[08:56:59] ravster: has joined #RubyOnRails
[08:57:04] sevenseacat: i dont bother, personally
[08:57:48] fox_mulder_cp: sevenseacat: ^)
[08:58:21] ilhami: fox_mulder_cp, stop hitting on her
[08:58:56] fox_mulder_cp: some months ago when i start make my own blog-engine i write small short manual for rbenv + rails without root access
[08:59:11] sevenseacat: ilhami: fox_mulder_cp wasnt the one asking for skype details
[08:59:17] fox_mulder_cp: ilhami: ^) its my preferred smile )
[08:59:35] ilhami: sevenseacat, :D good one
[08:59:49] ilhami: https://www.youtube.com/watch?v=zokbvriYovw
[08:59:52] ilhami: you know that guy?
[09:02:26] triptec: has joined #RubyOnRails
[09:05:03] benlieb: has joined #RubyOnRails
[09:09:17] zworks: has joined #RubyOnRails
[09:09:41] xardion_: has joined #RubyOnRails
[09:09:45] zworks: why the 'bundle update' command not updating 'devise' gem ?
[09:10:24] fox_mulder_cp: zworks: version hardcoded? or it stay last>
[09:10:58] zworks: i have gem "devise" in my gemfile
[09:16:19] wwwbukolaycom: has joined #RubyOnRails
[09:20:29] arup_r: has joined #RubyOnRails
[09:26:16] AKintun90: has joined #RubyOnRails
[09:27:06] zworks: after updating to rails 5
[09:27:06] zworks: uninitialized constant Rack::Session::Abstract::ENV_SESSION_OPTIONS_KEY
[09:29:26] stardiviner: has joined #RubyOnRails
[09:29:33] arup_r: yeah, for me turbolink fu**** up :/
[09:31:07] AKintunero: has joined #RubyOnRails
[09:32:28] fox_mulder_cp: zworks: if u read doc, u see that devise for rails 5 must use git current
[09:32:46] tbuehlmann: arup_r, not sure what turbolinks version you're using right now, but the newer one from turbolinks/turbolinks don't allow for partial replacements (besides the use of data-turbolinks-permanent)
[09:33:52] dima_: has joined #RubyOnRails
[09:34:41] fox_mulder_cp: zworks: or some, not release, i don't mem's now (
[09:35:29] kmckelvin: has joined #RubyOnRails
[09:35:59] arup_r: has joined #RubyOnRails
[09:36:14] DmitryBochkarev: has joined #RubyOnRails
[09:36:25] arup_r: tbuehlmann: https://github.com/turbolinks/turbolinks I am using.. Yes they mentioned it I see
[09:37:14] taxen: has joined #RubyOnRails
[09:38:27] arup_r: the main issue is https://gist.github.com/aruprakshit/3f546715ed509011fca1 giving me "Uncaught ReferenceError: Turbolinks is not defined "
[09:38:37] fox_mulder_cp: so, can somebody explain to me what is turbolinks?
[09:38:38] arup_r: no idea why it is..
[09:38:56] tbuehlmann: I don't see turbolinks in your application.js
[09:39:02] blackmesa: has joined #RubyOnRails
[09:39:21] taxen: Hey. I have the following models; User, Property and Membership. User has_one property and Property has_many users. I'm trying to get this working with a through association, but both user.property and property.users returns nil. What should it be instead?
[09:39:30] arup_r: tbuehlmann: https://gist.github.com/aruprakshit/3f546715ed509011fca1#file-application-js-L43
[09:39:52] askhat: has joined #RubyOnRails
[09:40:01] fox_mulder_cp: taxen: has_many through....
[09:40:31] taxen: fox_mulder_cp: yeah, that's what I have on Property
[09:40:39] taxen: has_many :users, :through => :memberships
[09:40:44] tbuehlmann: oh, why isn't it near the other requires?
[09:41:13] fox_mulder_cp: has_many :application_servers, through: :service_types
[09:41:23] arup_r: dunno .. let me push it up..
[09:41:36] tbuehlmann: I mean, not that it should change things..
[09:41:41] fox_mulder_cp: taxen: use gist, please for all models
[09:41:52] taxen: fox_mulder_cp: https://gist.github.com/anonymous/c7feec3c3606d77388a4
[09:43:12] arup_r: yeah.. so what is wrong..? I also don't know
[09:44:26] tbuehlmann: arup_r, don't know what's wrong. is the repo to your code public?
[09:44:42] arup_r: no it is private.. :/
[09:44:49] taxen: fox_mulder_cp: Sorry, I just realized what's wrong
[09:45:04] taxen: accidentally created the membership with wrong user_id on it
[09:45:10] taxen: *facepalm*
[09:46:31] fox_mulder_cp: taxen: yellow duck method don't work sometimes
[09:46:53] arup_r: tbuehlmann: I can do screen share. if you want. :)
[09:47:08] arup_r: It is so unexpected error.
[09:47:29] fox_mulder_cp: taxen: its doog
[09:48:11] taxen: fox_mulder_cp: :)
[09:48:16] taxen: thanks for the help though
[09:50:42] blackmesa: has joined #RubyOnRails
[09:51:25] tbuehlmann: what about providing a minimal reproduction app?
[09:53:49] arup_r: issue is NDA sign :)
[09:54:56] tbuehlmann: then screen sharing shouldn't be allowed as well, right? :p
[09:55:58] arup_r: hm,, a quick check in browser console is telling new turbolinks had removed the method `enableTransitionCache` at all
[09:56:30] arup_r: and here too https://github.com/turbolinks/turbolinks/search?utf8=%E2%9C%93&q=enableTransitionCache
[09:58:35] arup_r: tbuehlmann: see the screenshot https://gist.github.com/aruprakshit/3f546715ed509011fca1
[09:58:54] tbuehlmann: so Turbolinks is defined
[09:58:59] zworks: I updated to rails 5 and devise 4.0
[09:59:14] zworks: now i am getting the error
[09:59:15] zworks: Before process_action callback :authenticate_user! has not been defined
[09:59:36] arup_r: the method which was present in trubolink3 was removed from the new pne
[09:59:44] jtong: has joined #RubyOnRails
[10:00:21] tbuehlmann: problem solved! \o/
[10:01:07] sandstrom: has joined #RubyOnRails
[10:01:10] arup_r: yeah.. But I needed that awesome page replacement one..:)
[10:01:24] arup_r: sorry partial replacement**
[10:03:56] tbuehlmann: you just want to show the form when the user clicks that link, right?
[10:05:40] bronson: has joined #RubyOnRails
[10:05:48] arup_r: let me take back the old gisty
[10:06:13] arup_r: https://gist.github.com/aruprakshit/3c565871bd865b1b6f9c
[10:06:18] askhat: has joined #RubyOnRails
[10:06:18] dalpo: has joined #RubyOnRails
[10:06:20] tbuehlmann: why don't you render the form and have it hidden, then, when a user clicks the link, show it?
[10:06:32] ilhami: is this the latest version? ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux-gnu]
[10:06:50] tbuehlmann: ilhami, what have you tried to find out so far?
[10:06:57] afroboy: has joined #RubyOnRails
[10:07:05] tbuehlmann: I ask because I think I can google that within one minute tops
[10:07:12] arup_r: tbuehlmann: humm and what about when editing?
[10:07:17] ilhami: tbuehlmann, lol just answer dude
[10:07:30] ilhami: this is faster than googling if you tell me
[10:07:31] arup_r: ilhami: yes..
[10:07:46] arup_r: ilhami: go to Ruby changelog and lookup
[10:07:47] tbuehlmann: you must be fun to work with
[10:07:58] ilhami: tbuehlmann, lol ping pong man.. I guess you haven't learned that
[10:08:19] tbuehlmann: actually I was pretty good in tabletennis
[10:08:28] ilhami: The current stable version is 2.3.0.
[10:08:32] ilhami: https://www.ruby-lang.org/en/downloads/
[10:08:40] ilhami: that's what it says.
[10:08:42] arup_r: then you know... cool
[10:08:57] ilhami: Ruby is so cool man :D
[10:09:01] ilhami: it's better than Python.
[10:09:05] tbuehlmann: arup_r, if I understand you correctly, you're talking about the index action, where you want to show the new form on click, right?
[10:09:17] cac: has joined #RubyOnRails
[10:09:19] arup_r: one min..
[10:10:31] arup_r: tbuehlmann: I will design it exactly like http://showcase.sology.eu/smart_listing#in-place-editing ... I can do it bu old way, like writing JS inside the new.js.erb and create.js.erb and so so..
[10:11:06] arup_r: but I got amazed when saw trubolink3 ,,, and trubolink5 pissed me off.. :p
[10:12:12] ilhami: gem install rails
[10:12:16] dikaio: has joined #RubyOnRails
[10:12:35] ilhami: installing...
[10:12:50] arup_r: that's the idea.. can't say inline edit.. but close it..
[10:12:53] ilhami: aah it wants write permission so I am going to put sudo in front.
[10:13:05] ilhami: You don't have write permissions for the /var/lib/gems/2.3.0 directory.
[10:13:24] ilhami: I am not doing anything wrong, right?
[10:14:06] matthewd: ilhami: You may want https://www.ruby-lang.org/en/documentation/installation/#managers
[10:14:36] tbuehlmann: arup_r, so you want two different things here. you want to show a form on click for creating a new record. and secondly, you want to inline edit records. right?
[10:14:57] n00bDev: has joined #RubyOnRails
[10:15:27] tbuehlmann: and you don't want to use one of the gems providing inline editing functionality?
[10:15:44] arup_r: you mean best_in_place ?
[10:16:12] arup_r: I was thinking of the update looks like more live...
[10:16:16] tbuehlmann: I mean something from this list: https://www.ruby-toolbox.com/categories/rails_in_place_editing
[10:17:34] antgel: has joined #RubyOnRails
[10:17:55] ilhami: matthewd, I am using ruby-switch. Is that not ok ?
[10:18:11] ilhami: I think it's called that.
[10:20:15] sevenseacat: you shouldnt need to use sudo for anything ruby-related, except for installing the tools themselves
[10:20:24] sevenseacat: (and sometimes not even then)
[10:20:31] Palsson: has joined #RubyOnRails
[10:20:41] ilhami: sevenseacat, ok. So what do I do now?
[10:20:52] ilhami: if I can't use sudo
[10:20:56] matthewd: The Debian system-wide thing that changes where /usr/bin/ruby points? If you're in a VM, I guess it's not terrible... but rbenv or similar is a more traditional choice
[10:20:59] sevenseacat: depends what you're doing
[10:21:09] ilhami: gem install rails
[10:21:13] ilhami: I am at this step
[10:21:17] sevenseacat: and how did you install ruby?
[10:21:31] matthewd: ilhami: Maybe relevant: https://wiki.debian.org/Ruby#Selecting_the_default_Ruby_interpreter_on_a_per-user_basis_.28wheezy.29
[10:21:35] ilhami: from the guide I was given.. hmm let me try to find it
[10:21:36] wethu: has joined #RubyOnRails
[10:22:12] arup_r: tbuehlmann: thanks.. I didn't see that. I had a look https://github.com/bernat/best_in_place .. though. I thought to do it natively. But as the support of partial replacement is gone, I need to fallback to either of the gem
[10:22:18] dalpo: has joined #RubyOnRails
[10:22:25] ilhami: sevenseacat, https://www.brightbox.com/docs/ruby/ubuntu/
[10:22:31] ilhami: I followed this
[10:23:06] sevenseacat: yeah then you have to use sudo, because it installs everything system-wide - thats meant more for production usage
[10:23:34] ilhami: ok should I get RVM? or some other version manager?
[10:23:56] matthewd: Yeah, use rbenv or chruby
[10:24:14] sevenseacat: i personally use chruby and ruby-install for managing my rubies in development.
[10:24:27] sevenseacat: and its what i tend to recommend
[10:24:37] ilhami: ok so let me use chruby
[10:25:41] ilhami: do I have to purge the packages I installed from the other way?
[10:25:44] ilhami: and start over?
[10:26:48] hardtail: has joined #RubyOnRails
[10:27:05] hardtail: has joined #RubyOnRails
[10:27:48] AzaToth: has joined #RubyOnRails
[10:27:54] ql6wlld: has joined #RubyOnRails
[10:29:05] blackmesa: has joined #RubyOnRails
[10:32:25] carlosd: has joined #RubyOnRails
[10:34:25] askhat: has joined #RubyOnRails
[10:39:41] ilhami: I installed it but I don't have the chruby command :/
[10:40:31] ilhami: chruby-exec
[10:40:34] ilhami: I have this though
[10:42:18] Cervajz: has joined #RubyOnRails
[10:45:28] sevenseacat: what did you do?
[10:45:37] sevenseacat: (sorry, I don't see messages unless I get tagged a lot of the time)
[10:45:45] wethu: has joined #RubyOnRails
[10:46:08] ilhami: I need to install ruby-install as well
[10:46:32] sevenseacat: to install rubies, yes
[10:46:41] sevenseacat: chruby is for switching and setting, ruby-install is for installing
[10:47:32] ilhami: yeah I found out.
[10:49:13] ilhami: it's installing...
[10:49:22] ilhami: checking a lot of stuff...
[10:49:32] ilhami: compiling now...
[10:50:08] intrigueD: has joined #RubyOnRails
[10:53:48] ilhami: sevenseacat, it takes so long to compile. Why? :/
[10:54:09] sevenseacat: uh... not sure i can answer that one
[10:54:46] jbermudes: probably to let you sword fight in the hallway? https://xkcd.com/303/
[10:55:32] ilhami: lol jbermudes that's funny.
[10:56:12] matthias_: has joined #RubyOnRails
[10:57:35] ravster: has joined #RubyOnRails
[10:58:04] jbermudes: I had a dream that I solved my phusion passenger problem with one package install but I can't remember what it was
[10:58:51] ilhami: sevenseacat, so chruby-exec is the only thing I have after installing chruby
[10:58:56] ilhami: I don't have the chruby program
[10:59:05] sevenseacat: again. what did you do?
[10:59:09] pjammer: has joined #RubyOnRails
[10:59:20] ilhami: https://github.com/postmodern/chruby#readme installed from here
[10:59:33] ilhami: followed the Install Instructions
[10:59:53] sevenseacat: did you restart your terminal after installing? you'll also need to configure it
[11:00:14] ilhami: I didn't restart.
[11:00:16] ilhami: Let me do that
[11:00:45] ilhami: chruby: command not found
[11:01:04] ilhami: I only have the chruby-exec
[11:01:13] sevenseacat: did you configure it?
[11:02:27] ilhami: I will need to add something to /etc/profile.d/chruby.sh
[11:03:34] ilhami: if I want to use it system-wide?
[11:03:43] ilhami: the chruby
[11:04:03] ilhami: I will just add to .bashrc file
[11:04:14] mickey_mouse: has joined #RubyOnRails
[11:04:36] donald_duck: has joined #RubyOnRails
[11:05:29] ilhami: that worked. thanks gal :)
[11:05:51] dolan: has joined #RubyOnRails
[11:06:31] ilhami: I will be back later.
[11:10:03] konsolebox: has joined #RubyOnRails
[11:11:40] FooMunki: has joined #RubyOnRails
[11:11:46] wethu: has joined #RubyOnRails
[11:13:18] bogs: has joined #RubyOnRails
[11:14:34] srinidhi: has joined #RubyOnRails
[11:16:41] trinaldi: has joined #RubyOnRails
[11:18:33] tetraktys: has joined #RubyOnRails
[11:18:35] FernandoBasso: has joined #RubyOnRails
[11:20:36] zworks: has joined #RubyOnRails
[11:20:52] glazoff: has joined #RubyOnRails
[11:20:54] zworks: Before process_action callback :authenticate_user! has not been defined (ArgumentError)
[11:21:53] arup_r: has joined #RubyOnRails
[11:24:45] sandstrom: has joined #RubyOnRails
[11:26:09] patrick_star_10: has joined #RubyOnRails
[11:26:51] AKintun47: has joined #RubyOnRails
[11:28:12] patrick_star_11: has joined #RubyOnRails
[11:28:20] patrick_star_12: has joined #RubyOnRails
[11:30:32] RegulationD: has joined #RubyOnRails
[11:32:04] Macaveli: has joined #RubyOnRails
[11:32:28] tubbo: has joined #RubyOnRails
[11:34:33] zworks: has joined #RubyOnRails
[11:38:04] mdw: has joined #RubyOnRails
[11:38:06] bogs: has joined #RubyOnRails
[11:38:39] dolan: has joined #RubyOnRails
[11:39:48] zworks: Before process_action callback :authenticate_user! has not been defined (ArgumentError)
[11:41:21] sevenseacat: zworks: so you said. what can we help you with?
[11:42:06] blackmesa: has joined #RubyOnRails
[11:42:14] AKintunero: has joined #RubyOnRails
[11:43:00] zworks: i thought users will be able to identify it as an error message and give me any ideas to solve it.
[11:44:11] sevenseacat: you could fix it by defining the method
[11:44:51] zworks: no, the method is auto generated by Devise gem, we don't define it
[11:45:22] zworks: it was working, the error is after updating rails to 5
[11:45:25] sevenseacat: you may need to provide some more information then
[11:45:38] zworks: yeah, what you need to know?
[11:45:38] helpa: You have not provided enough information to debug your problem. Please provide this information: https://gist.github.com/radar/5384431
[11:46:06] edwinvdgraaf: has joined #RubyOnRails
[11:49:24] askhat: has joined #RubyOnRails
[11:49:42] edwinvdgraaf: has joined #RubyOnRails
[11:55:34] baweaver: has joined #RubyOnRails
[11:56:26] n00bDev: has joined #RubyOnRails
[12:05:20] ElFerna_: has joined #RubyOnRails
[12:08:10] quazimodo: docker isn't working
[12:08:51] dionysus69: has joined #RubyOnRails
[12:19:26] moeabdol: has joined #RubyOnRails
[12:19:57] matthias_: has joined #RubyOnRails
[12:20:39] mdw: has joined #RubyOnRails
[12:24:06] fox_mulder_cp: quazimodo: if docker not work, i think, didn't know how to cook it
[12:29:02] quazimodo: lol i got it to work :D
[12:29:08] quazimodo: i'm not a retard!
[12:31:02] edwinvdgraaf: has joined #RubyOnRails
[12:32:29] edwinvdgraaf: has joined #RubyOnRails
[12:33:53] edwinvdgraaf: has joined #RubyOnRails
[12:34:02] arup_r1: has joined #RubyOnRails
[12:34:37] pyemkey: has joined #RubyOnRails
[12:36:06] edwinvdg_: has joined #RubyOnRails
[12:37:40] edwinvdgraaf: has joined #RubyOnRails
[12:39:29] edwinvdgraaf: has joined #RubyOnRails
[12:40:47] edwinvdgraaf: has joined #RubyOnRails
[12:40:47] pyemkey: Hello, I'm trying to build solution which let me selected option in select X exclude in select Y. I prepared jsfiddle https://jsfiddle.net/n6Ljz0fy/32/ I have a bug there. When I choose Mercedes in first select and in other one I choose Skoda, then first select is reset.
[12:43:53] arup_r1: how should i use this https://github.com/janv/rest_in_place/blob/6decb0f9769680824a6bb0c43794df259155192a/README.markdown#usage-instructions on select field ?
[12:44:59] Timberwo|f: has joined #RubyOnRails
[12:45:54] srinidhi: has joined #RubyOnRails
[12:47:29] The_Phoenix: has joined #RubyOnRails
[12:49:12] p1k: has joined #RubyOnRails
[12:52:08] intrigueD: has joined #RubyOnRails
[12:55:47] srinidhi1: has joined #RubyOnRails
[12:57:17] n00bDev: has joined #RubyOnRails
[12:58:31] ravster: has joined #RubyOnRails
[12:59:29] netzfisch: has joined #RubyOnRails
[13:00:04] d-snp: has joined #RubyOnRails
[13:00:38] worknick: has joined #RubyOnRails
[13:00:43] worknick: arup___: ping. you there?
[13:00:57] arup_r1: struggling ,,
[13:01:35] worknick: struggling with what?
[13:02:03] arup_r1: my code.. :)
[13:02:42] worknick: arup___: may I ask some questios?
[13:03:52] blackmesa: has joined #RubyOnRails
[13:04:52] pawnbox: has joined #RubyOnRails
[13:04:55] ashishsingh173: has joined #RubyOnRails
[13:06:00] worknick: arup___: that day we did this https://gist.github.com/wrknck/7e1cdd779ab3835d476e to follow pet through followers. then i am making each new pet to be followed by his own user by default. now how do i count the numebr of pets user is following exluding his own pets?
[13:08:09] worknick: arup___: current_user.pets.count gives all pets. how can i exclude his own pets?
[13:09:14] Hackbinary: has joined #RubyOnRails
[13:09:59] arup_r1: let me see
[13:10:58] arup_r1: .pets shouldn't include pets of owners.. that is owned pets .. what is wrong with .pets then ?
[13:12:06] worknick: arup___: it should. because on pets create action I am manually adding him to be followed by his own owner.
[13:12:20] roshanavand: has joined #RubyOnRails
[13:13:18] worknick: arup___: i am doing this because when i show activites of all pets that user is following, i also want to include activites of his own pets!
[13:13:36] worknick: if i keep these two seperate there will be two tabs or two section of activites on that page.
[13:14:08] arup_r1: add like user.pets.where.not(follower_id: user.id)
[13:14:33] arup_r1: query like above..
[13:14:37] worknick: let me check
[13:16:18] worknick: arup___: its working. thanks.
[13:25:36] Pazician: has joined #RubyOnRails
[13:38:18] sh42: has joined #RubyOnRails
[13:40:51] arup_r: has joined #RubyOnRails
[13:43:05] sohel: has joined #RubyOnRails
[13:45:14] pawnbox: has joined #RubyOnRails
[13:48:09] intrigueD: Hey sh42 :)
[13:50:58] DEA7TH: has joined #RubyOnRails
[13:53:29] tyrbo: has joined #RubyOnRails
[13:53:40] ferr: has joined #RubyOnRails
[13:55:42] tyrbo: has left #RubyOnRails: ()
[13:58:10] baweaver: has joined #RubyOnRails
[13:59:17] n00bDev: has joined #RubyOnRails
[13:59:21] s2013: has joined #RubyOnRails
[14:00:35] tyrbo: has joined #RubyOnRails
[14:02:03] smoitra: Hi all, I made my first rails contribution I want to know how can I become github rails member
[14:02:03] Cervajz_: has joined #RubyOnRails
[14:02:50] ilhami: sevenseacat, are you still around?
[14:03:04] ilhami: An error occurred while installing sqlite3 (1.3.11), and Bundler cannot
[14:03:04] ilhami: continue.
[14:03:15] ilhami: Make sure that `gem install sqlite3 -v '1.3.11'` succeeds before bundling.
[14:03:17] sevenseacat: gist the full error?
[14:03:19] ilhami: I have to run that first
[14:04:32] ilhami: sevenseacat, https://gist.github.com/anonymous/a144dfa432da8b24998b
[14:04:51] sevenseacat: ilhami: https://gist.github.com/anonymous/a144dfa432da8b24998b#file-error-txt-L114-L115
[14:04:57] tyrbo: has joined #RubyOnRails
[14:05:03] hightower2: has joined #RubyOnRails
[14:05:47] tyrbo: has left #RubyOnRails: ()
[14:06:13] hightower2: has left #RubyOnRails: ()
[14:06:43] hightower3: has joined #RubyOnRails
[14:07:02] blackmesa: has joined #RubyOnRails
[14:07:31] bronson: has joined #RubyOnRails
[14:07:51] nfk: has joined #RubyOnRails
[14:07:59] intrigueD: sevenseacat: I was in Perth recently, Cicerello's in Fremantle does great fish and chips :P
[14:08:09] ilhami: sevenseacat, thanks hon :D
[14:08:16] sevenseacat: intrigueD: I haven't been there. i'll check it out next time :)
[14:08:38] ilhami: I didn't mean that sevenseacat .. I was kidding.
[14:11:08] Emir: has joined #RubyOnRails
[14:13:48] ilhami: sevenseacat, why doesn't it work for me?
[14:14:03] sevenseacat: because you don't have access to the bot
[14:14:14] ilhami: :D heh so you are VIP.
[14:14:28] dtee12: has joined #RubyOnRails
[14:14:33] sevenseacat: I am a channel op, yes.
[14:14:54] ilhami: You are not OPed atm though.
[14:15:04] ChanServ: +o sevenseacat
[14:15:16] sevenseacat: I can be if I need to be.
[14:15:30] ChanServ: -o sevenseacat
[14:15:42] ilhami: wowowwow relax sevenseacat
[14:15:50] ilhami: take it easy! :O
[14:16:43] ilhami: what does your nick mean sevenseacat ?
[14:16:57] sevenseacat: it's a misheard song lyric that I liked the sound of.
[14:17:04] FooMunki: has joined #RubyOnRails
[14:17:05] srinidhi: has joined #RubyOnRails
[14:18:35] ilhami: Welcome aboard yay
[14:18:39] ilhami: You???re riding Ruby on Rails!
[14:19:05] sevenseacat: now the work of app-building begins :P
[14:19:21] ilhami: if I am using SQLite, do I have configure the database.yml ?
[14:19:29] ilhami: or it's already configured?
[14:19:39] ilhami: If you're not using SQLite (the default), edit config/database.yml with your username and password.
[14:19:42] sevenseacat: if you generated your app to use sqlite, it's already configured.
[14:19:46] AKintun3: has joined #RubyOnRails
[14:20:04] ilhami: how do you choose that when creating the app?
[14:20:11] intrigueD: ilhami: What are you going to build now?
[14:20:20] ilhami: intrigueD, just experimenting.
[14:20:30] ilhami: learning a new language.
[14:20:32] sevenseacat: it's an option to rails new.
[14:20:57] ilhami: rails new blog .. I just ran this so I guess the default is SQLite.
[14:23:45] ilhami: sevenseacat, you are good at helping. Thanks.
[14:25:47] DTee: has joined #RubyOnRails
[14:26:02] ilhami: do you use Screen to switch between terminal windows? :D
[14:28:46] smoitra: has joined #RubyOnRails
[14:29:34] ilhami: ilhami@ilhami-lenovo:~/blog$ bin/rails generate controller welcome index
[14:29:52] ilhami: /usr/bin/env: ruby: No such file or directory
[14:29:58] DTee: Had a query, should as a rule all database queries go in the Model and not in the Controller?
[14:30:00] ilhami: why does it say this? :/
[14:31:05] sh42: @ilhami ruby seems to be missing on the host system or at least in the PATH-variable. try a 'whereis ruby' -- should not be empty
[14:31:06] DTee: It looks like you haven't got Ruby installed
[14:31:17] ilhami: DTee, it is installed
[14:31:18] DTee: What he said
[14:31:23] ilhami: I restarted the terminal
[14:31:51] sh42: @ilhami then post the output of the command 'whreis ruby'
[14:31:53] ilhami: works now.
[14:32:13] DTee: You would be able to help with my query, would you?
[14:32:21] DTee: You wouldn't be able to help with my query, would you?
[14:32:36] ilhami: why wouldn't he?
[14:32:44] ilhami: which DBMS are you using?
[14:33:10] sh42: pm me if you like
[14:33:14] DTee: Sh42, should queries, as a rule, go in the Model? or only where I am manipulating data?
[14:33:28] ilhami: sh42, woah. Private sessions for free
[14:33:31] ilhami: I am in too
[14:34:24] gheegh: has joined #RubyOnRails
[14:37:55] sankaber: has joined #RubyOnRails
[14:38:10] antgel: has joined #RubyOnRails
[14:38:26] ferr: has joined #RubyOnRails
[14:42:22] arup_r: I am submitting a form using remote: true in Rails 5. But puma is not showing any log of that in my dev machine.. Not able to debug for this.. Any idea what is wrong ?
[14:42:49] ilhami: I have to run this every time I start a terminal: chruby ruby-2.3.0
[14:43:13] arup_r: I see form submits in chrome devtool.. but not in the server log
[14:43:21] sevenseacat: ilhami: you did not configure chruby to set a ruby on startup
[14:43:40] ilhami: sevenseacat, apparently not.
[14:46:41] ilhami: is there a smart way or should I add it as a path?
[14:47:12] sevenseacat: https://github.com/postmodern/chruby/#default-ruby
[14:47:45] ilhami: the problem is I ran that command in the terminal and didn't save it in the file
[14:47:48] ilhami: I see now.
[14:47:51] stardiviner: has joined #RubyOnRails
[14:48:11] pawnbox: has joined #RubyOnRails
[14:48:35] ilhami: working now. Thanks dear :D
[14:48:44] ilhami: lol.. jkjk
[14:48:59] sevenseacat: ilhami: if you were joking, you'd stop doing it.
[14:49:30] ilhami: I think it's a mixture of trolling a bit and liking your help :D
[14:49:36] ilhami: really. I am sorry.
[14:52:34] ilhami: Failed to spawn command ruby. Make sure ruby is installed and on your PATH
[14:52:42] ilhami: sevenseacat, my linter gives me all kinds of errors
[14:53:07] maesitos: has joined #RubyOnRails
[14:53:35] sevenseacat: likely because your linter doesnt know about your chruby setup
[14:54:12] _Tariq: has joined #RubyOnRails
[14:54:26] ilhami: yeah that's what I was thinking. I am looking in its settings
[14:54:30] maesitos: has joined #RubyOnRails
[14:54:37] havenwood: ilhami: I don't know if this is what you're running into but I've noticed Atom sees the PATH when you open it from the terminal.
[14:54:54] ilhami: havenwood, I could try
[14:54:56] konsolebox: has joined #RubyOnRails
[14:55:00] havenwood: ilhami: (With Elixir at least, it finds my chruby Ruby actually.)
[14:57:31] ilhami: havenwood, I just put this path /home/ilhami/.rubies/ruby-2.3.0/bin/ruby inside the config of the linter. Works fine now.
[14:57:47] havenwood: ilhami: Ah, that's probably what I did as well. Roger.
[14:59:08] ilhami: I love the tutorial http://guides.rubyonrails.org/getting_started.html
[14:59:12] ilhami: it's easy to follow.
[14:59:31] ravster: has joined #RubyOnRails
[14:59:38] mdw: has joined #RubyOnRails
[14:59:44] jtong: has joined #RubyOnRails
[15:00:06] n00bDev: has joined #RubyOnRails
[15:05:03] pyemkey: Hello. Let's say I have protection_device_1 and protection_device_2 inside model. I want to validate uniqueness against each other. For example immobiliser cannot be inside protection_device_1 and protection_device_2. Do you know cleaner way to solve this problem than mine https://gist.github.com/pyemkey/ea125bf883d0b4ab7801
[15:06:21] smoitra: has joined #RubyOnRails
[15:09:52] blackmesa: has joined #RubyOnRails
[15:11:40] roshanavand: has joined #RubyOnRails
[15:16:41] Joffily: has joined #RubyOnRails
[15:16:58] DmitryBochkarev: has joined #RubyOnRails
[15:17:04] RegulationD: has joined #RubyOnRails
[15:19:44] arup_r1: has joined #RubyOnRails
[15:20:11] arup_r1: why my rails server not showing any remote form submission log ..? where to check ?
[15:20:52] ilhami: there is a log folder. You checked in that?
[15:22:15] arup_r1: I know, there also it is not showing.. I opened tail -f log/development.log
[15:22:37] arup_r1: something puma or rails 5 has ... which I don't know it seems
[15:22:42] jtong: has joined #RubyOnRails
[15:22:48] arup_r1: rails 5 boots by default puma
[15:24:14] jtong: has joined #RubyOnRails
[15:25:18] maesitos: has joined #RubyOnRails
[15:27:17] netzfisch: has joined #RubyOnRails
[15:28:26] fox_mulder_cp: arup_r: active cable can't work at webrick
[15:28:29] rubyonrailed: has joined #RubyOnRails
[15:28:44] fox_mulder_cp: i switch to puma on all my web bropjects
[15:29:09] arup_r: hm, but why the log for Ajax is off .. that's what I am wondering..
[15:29:26] arup_r: do you see remote: true logs in the server in your project fox_mulder_cp ?
[15:29:39] ekem: has left #RubyOnRails: ("Leaving")
[15:29:46] ekem: has joined #RubyOnRails
[15:29:55] kknight: has joined #RubyOnRails
[15:30:16] fox_mulder_cp: arup_r: i don't use action cable, write a preview version of my own coltrol panel
[15:30:30] fox_mulder_cp: what is remote: true logs ?
[15:30:53] arup_r: I am also not using... ActionCable. form_for .. , remote: true
[15:31:12] kknight: i have downloded a latest version of project, on live i can see some features which are missing while running on local host, how is this possible
[15:31:15] arup_r: this form submission has no log in the log fle
[15:31:45] fox_mulder_cp: i have a bug in r5b1 - my nginx + puma and r5 failed to check securitu token
[15:31:58] fox_mulder_cp: so all posted forms failed anyway
[15:32:07] fox_mulder_cp: i use msie now for it
[15:32:31] jottr: has joined #RubyOnRails
[15:34:00] arup_r: hmm seems something wrong in Rails 5
[15:34:17] adavia: has joined #RubyOnRails
[15:34:21] arup_r: Man, without log it is hard to debug things..
[15:34:39] arup_r: even puts, logger.info doesn't print anything ...
[15:34:59] askhat: has joined #RubyOnRails
[15:35:06] intrigueD: write a test :P
[15:36:00] FCser: has joined #RubyOnRails
[15:36:13] kknight: i have downloded a latest version of project, on live i can see some features which are missing while running on local host, how is this possible
[15:36:16] arup_r: well.. puts prints.. intrigueD :) true
[15:36:34] arup_r: but I need those request logs in server.. what a mess is this Rails 5 :D
[15:36:48] fox_mulder_cp: arup_r: u se nginx logs too ))
[15:37:08] arup_r: In devlopment machine ?
[15:37:47] intrigueD: kknight: You're on the same branch as live?
[15:37:48] arup_r: all mess in my dev machine. nothing in production yet ..
[15:38:02] arup_r: I didn't deploy yet
[15:40:15] kknight: intrigueD: yes
[15:40:16] rodfersou: has joined #RubyOnRails
[15:40:19] adavia: i would wait for the final release
[15:40:40] kknight: they have given me the latest branch:
[15:41:04] adavia: is beta2 i think
[15:41:27] arup_r: adavia: right
[15:42:04] adavia: i have reported a couple of bugs with beta1
[15:42:11] adavia: so now im wating for 5.0
[15:43:59] arup_r: adavia: but this project went far with rails 5 .. so can't be rollback.. if there is something stopping me, I need to postpone the feature or work around
[15:51:10] Timberwo|f: has joined #RubyOnRails
[15:52:18] ziyadb: has joined #RubyOnRails
[15:52:40] StaticVoid: has joined #RubyOnRails
[15:52:47] rgtk: has joined #RubyOnRails
[15:53:27] ilhami: can anyone tell me what this does? bin/rake routes ?
[15:53:57] ilhami: it made a lot of patterns.. but in which file are these?
[15:54:04] blackmesa: has joined #RubyOnRails
[15:54:25] fox_mulder_cp: arup_r: if project can used r5 specific, such as anctioncable i think that downgrade to r4 is not hard
[15:55:00] fox_mulder_cp: ilhami: i think, u can read basic official documentation )
[15:55:24] ilhami: fox_mulder_cp, I am.. but I don't get it
[15:55:37] ilhami: If you run bin/rake routes, you'll see that it has defined routes for all the standard RESTful actions.
[15:56:02] fox_mulder_cp: ilhami: ook. i will google it for u: https://www.google.com.ua/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwipo6n8zvfKAhUoOJoKHb3zBcEQFggbMAA&url=http%3A%2F%2Fguides.rubyonrails.org%2Frouting.html&usg=AFQjCNH5kO5Rh9DOw3AK-smDU2vL5WMk6Q&sig2=m9L_JHuuCSsI7-ygK0XZJA
[15:56:21] fox_mulder_cp: ilhami: second link to http://guides.rubyonrails.org/routing.html
[15:57:54] ilhami: it didn't create any routes here.
[15:58:49] baweaver: has joined #RubyOnRails
[15:59:27] macsteps: has joined #RubyOnRails
[15:59:56] someish: has joined #RubyOnRails
[16:00:52] n00bDev: has joined #RubyOnRails
[16:03:09] railsForDaiz: has joined #RubyOnRails
[16:03:38] rubyonrailed: has joined #RubyOnRails
[16:03:51] joshuaflores: has joined #RubyOnRails
[16:04:34] fox_mulder_cp: so u can't see $app_root/config/routes.rb ? O_O
[16:06:20] ilhami: I see the files but the routes are not there.
[16:06:51] ilhami: I understand now
[16:07:08] ilhami: rake just shows the routes when you have the resources in the route.cb
[16:07:13] ilhami: routes.rb
[16:07:50] ilhami: it's like Laravel. :P
[16:08:22] fox_mulder_cp: ilhami: u must read and understand manuals
[16:08:30] ilhami: fox_mulder_cp, oh really?
[16:08:43] ilhami: I thought I had to read them and not understand them. :)
[16:09:13] fox_mulder_cp: ilhami: some times read != understand.
[16:09:22] zworks: has joined #RubyOnRails
[16:09:24] ilhami: no shit sherlock :D
[16:10:05] fox_mulder_cp: so, i just do it. my static site on jekyll with some-biked style i18n
[16:10:46] fox_mulder_cp: jekyll can't understand sub-collections, as i see ((
[16:11:07] ilhami: :D don't use that static stuff then?
[16:11:12] chouhoulis: has joined #RubyOnRails
[16:12:12] fox_mulder_cp: ilhami: i use wordpress on my main site, but it must be updated some once a month
[16:12:31] fox_mulder_cp: but it content not changed for some last years
[16:13:13] ilhami: what is it? a resume?
[16:13:56] zworks: Hi guys, I just tried to get devise working by uninstalling and installing freshly and setting it up step by step like in tutorials
[16:14:11] fox_mulder_cp: ilhami: cv, short stories, social profiles, etc
[16:14:13] zworks: but it still the authenticate_user! method is un defined
[16:14:18] ilhami: fox_mulder_cp, thought so :P
[16:14:46] zworks: may be an issue in devise 4.0 ?
[16:15:07] intrigueD: has joined #RubyOnRails
[16:15:34] fox_mulder_cp: ilhami: now in has only russian version, but i'm intrested to full it in english
[16:18:46] sankaber: has joined #RubyOnRails
[16:21:52] Prasun: has joined #RubyOnRails
[16:23:09] khairahman: has joined #RubyOnRails
[16:23:40] kknight: how to change port 3000 to 80 in rails app
[16:23:57] kknight: sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3000 it doesn;t work
[16:24:02] fox_mulder_cp: kknight: rails --help )
[16:24:16] fox_mulder_cp: kknight: nat - bad idea
[16:24:53] fox_mulder_cp: kknight: use nginx as caching frontend and at upstream use uor r app
[16:25:04] ilhami: is .erb a template engine? :)
[16:26:01] fox_mulder_cp: ilhami https://www.ruby-toolbox.com/categories/template_engines
[16:26:27] carlosd: has joined #RubyOnRails
[16:26:36] kknight: fox_mulder_cp: on rails --help where is that
[16:27:55] fox_mulder_cp: kknight: listen port? )
[16:28:47] kknight: there are no port option cahnge there?
[16:29:20] futilegames: has joined #RubyOnRails
[16:29:48] srinidhi: has joined #RubyOnRails
[16:29:56] taxen: has joined #RubyOnRails
[16:30:21] fox_mulder_cp: kknight: my space brain agent says me about rails server -b 0.0.0.0 -p 8080
[16:30:25] maesitos: has joined #RubyOnRails
[16:31:58] maesitos: has joined #RubyOnRails
[16:32:07] railsForDaiz: has joined #RubyOnRails
[16:32:49] askhat: has joined #RubyOnRails
[16:37:10] mdw: has joined #RubyOnRails
[16:39:56] arup_r: has joined #RubyOnRails
[16:45:29] espinet: has joined #RubyOnRails
[16:48:27] rubyonrailed: has joined #RubyOnRails
[16:50:52] roshanavand: has joined #RubyOnRails
[16:57:37] treaki_: has joined #RubyOnRails
[17:01:37] n00bDev: has joined #RubyOnRails
[17:04:18] _Tariq: has joined #RubyOnRails
[17:06:34] jammanbo: has joined #RubyOnRails
[17:07:32] herpless: has joined #RubyOnRails
[17:07:43] jammanbo: Have any of you tried adding `# frozen_string_literal: true` across the board? Plain sailing or did it cause a lot of issues?
[17:08:54] pawnbox_: has joined #RubyOnRails
[17:09:49] fedexo: has joined #RubyOnRails
[17:12:42] centrx: has joined #RubyOnRails
[17:14:27] benlieb: has joined #RubyOnRails
[17:17:53] RegulationD: has joined #RubyOnRails
[17:19:34] _Tariq: has joined #RubyOnRails
[17:21:23] maesitos: has joined #RubyOnRails
[17:22:56] arthropododo: has joined #RubyOnRails
[17:23:22] edwinvdgraaf: has joined #RubyOnRails
[17:24:00] n00bDev: has joined #RubyOnRails
[17:24:09] ferr: has joined #RubyOnRails
[17:26:15] railsForDaiz: has joined #RubyOnRails
[17:27:40] arup_r: has joined #RubyOnRails
[17:27:42] _Tariq: has joined #RubyOnRails
[17:30:12] askhat: has joined #RubyOnRails
[17:32:07] sandstrom: has joined #RubyOnRails
[17:33:10] zworks: anyone knows rails file execution order when starting the app?
[17:34:44] jsrn_: has joined #RubyOnRails
[17:35:28] maesitos: has joined #RubyOnRails
[17:36:08] Spami: has joined #RubyOnRails
[17:39:14] fox_mulder_cp: zworks: i mind that only source code knows,,,
[17:39:55] Thouren: has joined #RubyOnRails
[17:44:07] macsteps: has joined #RubyOnRails
[17:44:53] eljimmy: has joined #RubyOnRails
[17:47:04] srinidhi: has joined #RubyOnRails
[17:49:32] smoitra_: has joined #RubyOnRails
[17:52:26] baweaver: has joined #RubyOnRails
[17:54:16] bronson: has joined #RubyOnRails
[17:56:34] corioliss: has joined #RubyOnRails
[17:57:29] solars: has joined #RubyOnRails
[17:58:05] maesitos: has joined #RubyOnRails
[17:59:55] maesitos: has joined #RubyOnRails
[18:05:07] _Tariq: has joined #RubyOnRails
[18:05:49] FooMunki: has joined #RubyOnRails
[18:05:58] ql6wlld_: has joined #RubyOnRails
[18:07:18] maesitos: has joined #RubyOnRails
[18:10:00] speakingcode: has joined #RubyOnRails
[18:13:06] rgtk: has joined #RubyOnRails
[18:13:32] rubyonrailed: has joined #RubyOnRails
[18:13:32] yfeldblum: has joined #RubyOnRails
[18:13:52] blackmesa: has joined #RubyOnRails
[18:16:51] ElFerna_: has joined #RubyOnRails
[18:17:36] maesitos: has joined #RubyOnRails
[18:28:22] rubyonrailed: has joined #RubyOnRails
[18:31:43] JoshGlzBrk: has joined #RubyOnRails
[18:33:46] yfeldblum: has joined #RubyOnRails
[18:34:35] yfeldblum: has joined #RubyOnRails
[18:44:31] askhat: has joined #RubyOnRails
[18:46:05] askhat: has joined #RubyOnRails
[18:50:25] railsForDaiz: has joined #RubyOnRails
[18:56:04] dragonkh: has joined #RubyOnRails
[18:57:52] baweaver: has joined #RubyOnRails
[19:04:04] baweaver: has joined #RubyOnRails
[19:04:06] JoshGlzBrk: has joined #RubyOnRails
[19:05:40] _Tariq: has joined #RubyOnRails
[19:07:24] B1n4r10: has joined #RubyOnRails
[19:08:07] Yeomra: has joined #RubyOnRails
[19:10:10] junaid: has joined #RubyOnRails
[19:15:30] carlosd: has joined #RubyOnRails
[19:18:56] angryz: has joined #RubyOnRails
[19:19:51] dextertzu: has joined #RubyOnRails
[19:19:56] jtong: has joined #RubyOnRails
[19:20:08] macsteps: has joined #RubyOnRails
[19:22:21] eikood: has joined #RubyOnRails
[19:23:06] eikood: has joined #RubyOnRails
[19:23:26] eikood: has joined #RubyOnRails
[19:23:45] swenzoo: has joined #RubyOnRails
[19:25:00] Graphettion: has joined #RubyOnRails
[19:25:28] Spami: has joined #RubyOnRails
[19:25:41] JoshGlzBrk: has joined #RubyOnRails
[19:26:19] cac: has joined #RubyOnRails
[19:27:39] superlou: has joined #RubyOnRails
[19:29:25] eikood: has joined #RubyOnRails
[19:30:45] rubyonrailed: has joined #RubyOnRails
[19:32:20] sheldo: has joined #RubyOnRails
[19:34:22] arup_r: has joined #RubyOnRails
[19:35:45] roshanavand: has joined #RubyOnRails
[19:37:37] rgtk: has joined #RubyOnRails
[19:41:35] pyemkey: has joined #RubyOnRails
[19:41:56] askhat: has joined #RubyOnRails
[19:44:07] korzybski: has joined #RubyOnRails
[19:44:44] korzybski: Hello. I made a new 4.2 app with rails new app -d postgresql, but it seems to want to connect to sql-lite in dev ??? how do I tell it to connect to postgres?
[19:45:25] chipotle: has joined #RubyOnRails
[19:45:57] bga57: edit your config/database.yaml file
[19:46:04] arup_r: using database.yml file
[19:46:40] Prasun: has joined #RubyOnRails
[19:47:24] arup_r: ok. going to sleep
[19:47:30] arup_r: toooo late here
[19:48:04] ner0x: has joined #RubyOnRails
[19:48:33] arup_r: hi junaid
[19:49:04] junaid: I am new to ruby on rails and want to start contributing
[19:49:30] rgtk: has joined #RubyOnRails
[19:49:30] junaid: Can you please help me get started by giving me to fix a beginner level bug?
[19:49:50] korzybski: bga57: database.yml indicates it???s going to use postgres for my dev-env; I ran rake db:migrate and rake db:setup and it can connect to postgres okay, it made the schema_migrations table, so I know it can see it, but when I go into rails console, ActiveRecord::Base.connection says it???s connected to SQLite
[19:50:06] crdpink: has joined #RubyOnRails
[19:51:49] mdw: has joined #RubyOnRails
[19:52:27] bga57: I think that's beyond my abilities. I've never had that problem. Maybe if you remove the passwords and put it up in a gist, we could see if there's anything funny.
[19:52:31] korzybski: Hmm??? I think it???s connecting to a previous application???s sql-lite db??? I made an app, then moved its folder to app-old, then made another app with the same name as the first.
[19:54:33] korzybski: boom, got it. I quit my terminal entirely and cd-into the new app directory. now it???s correct.
[19:54:41] korzybski: thanks bga57 :)
[19:56:49] ur5us: has joined #RubyOnRails
[19:57:17] netzfisch: has joined #RubyOnRails
[19:58:40] junaid: I am new to ruby on rails and want to start contributing
[19:58:59] junaid: Can you help me get started by giving me a beginner level bug?
[19:59:04] kirillzh: has joined #RubyOnRails
[20:00:15] kirillzh: has joined #RubyOnRails
[20:01:10] sandstrom: has joined #RubyOnRails
[20:01:17] jottr: has joined #RubyOnRails
[20:01:26] junaid: Can anyone help me please?
[20:03:26] centrx: That's probably going to be tough
[20:03:39] centrx: https://github.com/rails/rails/issues
[20:03:52] centrx: Rails is a popular project, so not likely to be many "beginner" bugs
[20:06:44] kirillzh: has joined #RubyOnRails
[20:10:00] srinidhi: has joined #RubyOnRails
[20:11:24] doublemalt__: has joined #RubyOnRails
[20:12:24] cac: has joined #RubyOnRails
[20:15:30] HalcyonicStorm: has joined #RubyOnRails
[20:25:27] eljimmy: has joined #RubyOnRails
[20:32:48] rubyonrailed: has joined #RubyOnRails
[20:33:00] webdestroya: has joined #RubyOnRails
[20:33:31] rgtk: has joined #RubyOnRails
[20:34:00] jottr: has joined #RubyOnRails
[20:37:44] DEA7TH: I'm using the Devise gem. How can I create my own function for authentication which only succeeds if authenticate_staff! and if current_staff.owner == 1 ?
[20:37:54] DEA7TH: .permissions == 1*
[20:38:19] DEA7TH: If it fails, I want it to act as if authenticate_staff! failed - that's my main difficulty
[20:39:18] _Tariq: has joined #RubyOnRails
[20:39:26] renegadeandy: has joined #RubyOnRails
[20:39:58] askhat: has joined #RubyOnRails
[20:41:14] Cohedrin: has joined #RubyOnRails
[20:42:43] railsForDaiz: has joined #RubyOnRails
[20:43:35] moeabdol1: has joined #RubyOnRails
[20:45:34] intrigueD: has joined #RubyOnRails
[20:45:49] DEA7TH: I suppose I could just sign them out and then call authenticate_staff! but that's not idea
[20:47:53] fox_mulder_cp: junaid: i think - before contribute u must use platform for a some yaers everyday :)
[20:48:02] blackmesa: has joined #RubyOnRails
[20:50:10] RegulationD: has joined #RubyOnRails
[20:50:48] mdw: has joined #RubyOnRails
[20:52:28] Radar: GOOD MORNING
[20:52:42] jimbeaudoin: has joined #RubyOnRails
[20:55:49] bronson: has joined #RubyOnRails
[20:57:09] mhoungbo: has joined #RubyOnRails
[20:57:18] mdw: has joined #RubyOnRails
[20:59:44] DEA7TH: just realized how to solve my problem
[21:04:31] railsForDaiz: has joined #RubyOnRails
[21:05:59] Zackio: has joined #RubyOnRails
[21:08:01] SteenJobs: has joined #RubyOnRails
[21:08:09] kitsuneyo: has joined #RubyOnRails
[21:09:54] kitsuneyo: i've been using some basic jquery in a form, i have my scripts in <script> tags at the bottom of the page. i wanna know how i can move those scripts to the assets/js folder and call them from there
[21:10:03] kitsuneyo: i know this is probably a super basic question
[21:10:44] alxm: has joined #RubyOnRails
[21:11:07] macsteps: has joined #RubyOnRails
[21:12:45] espinet: has joined #RubyOnRails
[21:12:55] mdw: has joined #RubyOnRails
[21:13:13] korzybski: In Rails 4, how do I tell a model to use a certain table-name?
[21:13:58] pjammer: has joined #RubyOnRails
[21:14:07] maesitos: has joined #RubyOnRails
[21:14:27] espinet: korzybski: http://apidock.com/rails/ActiveRecord/Base/set_table_name/class
[21:14:50] e: has joined #RubyOnRails
[21:15:55] korzybski: espinet: That looks like it???s for Rails 3.1 ??? also, I???m doing that in my model right now, and it???s saying undefined method `set_table_name' for Client(Table doesn't exist):Class
[21:16:58] espinet: korzybski: sorry??? http://apidock.com/rails/ActiveRecord/ModelSchema/ClassMethods/table_name
[21:20:11] korzybski: espinet: awesome! thanks espi. I had a friend named espi??? :)
[21:21:35] roshanav_: has joined #RubyOnRails
[21:23:06] sandstrom: has joined #RubyOnRails
[21:23:22] rhizome: kitsuneyo: move them to their own files in app/assets/javascripts, then require them in application.js
[21:23:58] askhat_: has joined #RubyOnRails
[21:24:12] Cervajz: has joined #RubyOnRails
[21:24:35] okdas: has joined #RubyOnRails
[21:24:36] okdas: has joined #RubyOnRails
[21:25:30] Zacketh: has joined #RubyOnRails
[21:26:08] Zacketh: has joined #RubyOnRails
[21:26:45] camilasan: has joined #RubyOnRails
[21:27:51] alphaatom: has joined #RubyOnRails
[21:28:46] toydestroyer: has joined #RubyOnRails
[21:28:52] kitsuneyo: rhizome, what if i use coffee script and put them in the files named after my models? do i still need to include them?
[21:28:58] waldi_: has joined #RubyOnRails
[21:29:28] mhoungbo: has joined #RubyOnRails
[21:29:37] angryz: has joined #RubyOnRails
[21:29:39] jimbeaudoin: has joined #RubyOnRails
[21:30:36] kitsuneyo: has joined #RubyOnRails
[21:32:31] hardtail: has joined #RubyOnRails
[21:33:07] SteenJobs: who was it that mentioned material design the other day?
[21:33:47] rubyonrailed: has joined #RubyOnRails
[21:34:10] rhizome: kitsuneyo: yes, and it doesn't matter what you name them.
[21:34:21] rhizome: js.coffee if you're using CS
[21:34:47] rhizome: SteenJobs: check channel logs
[21:34:48] kitsuneyo: do i need to change my script in any way?
[21:35:01] rhizome: kitsuneyo: maybe. i don't know your code.
[21:37:54] kitsuneyo: rhizome, does require tree . look in sub folders too?
[21:38:05] wethu: has joined #RubyOnRails
[21:38:09] trinaldi: has joined #RubyOnRails
[21:38:24] Radar: One day I'll get ElasticSearch installed on the logs server and add proper searching capabilities to logs.ryanbigg.com
[21:38:41] Radar: kitsuneyo: Yes, it will include everything in that folder.
[21:39:49] askhat: has joined #RubyOnRails
[21:41:08] kitsuneyo: rhizome, Radar, here is a gist then...
[21:41:10] kitsuneyo: https://gist.github.com/kitsuneyo/80e8b2408b1c492124e8
[21:42:06] kitsuneyo: do i need to wrap this script in something like $(document).on 'page:change', -> before i can move it to the asset pipeline?
[21:42:41] Radar: on 'page:change' seems like turbolinks
[21:42:48] Radar: and that's where I suddenly have to go water my llama
[21:43:40] kitsuneyo: ignore that then Radar, do i need to change this script before moving it to its own .js file?
[21:43:48] fox_mulder_cp: Radar: hm. can u describe to me what is turbolinks?
[21:43:54] Radar: fox_mulder_cp: !g turbolinks
[21:43:57] Radar: fox_mulder_cp: !rule1
[21:43:57] helpa: fox_mulder_cp: Do your research before hand. Your question may be answerable with a quick Google search or by simply experimenting. If you're using a method in Rails, look it up in the API Docs or in the Official Guides.
[21:44:23] Radar: kitsuneyo: Yes you will ned to wrap it in a page:change event / or document.ready if you're not using Turbolinks otherwise it'll try to find the elements when the page hasn't finished loading yet.
[21:44:29] kitsuneyo: accidentally made the gist secret, it's public now https://gist.github.com/kitsuneyo/80e8b2408b1c492124e8
[21:44:31] KensoDev: has joined #RubyOnRails
[21:44:57] Radar: kitsuneyo: We can see it regardless. As long as we have the URL for a secret gist we can access it.
[21:45:38] kitsuneyo: thanks, i will try it
[21:46:18] fox_mulder_cp: Radar: hm. and how to check - does turbolinks properly work?
[21:46:43] Radar: fox_mulder_cp: I try my best to not answer turbolinks questions because I wish it would die a quick death.
[21:47:01] Radar: fox_mulder_cp: srs
[21:47:32] kitsuneyo: Radar, does all the js in the asset pipeline stay cached for every page, even on pages where it isn't used? isn't that inefficient?
[21:48:16] blackmesa: has joined #RubyOnRails
[21:48:21] Radar: kitsuneyo: "cached"?
[21:48:31] Radar: kitsuneyo: It's reloaded each time the pages are requested I believe.
[21:48:39] kitsuneyo: Radar uhh... in memory?
[21:48:44] Radar: kitsuneyo: I don't know how turbolinks behaves, but I can _almost_ guarantee you it will fuck you over in no time.
[21:48:55] Radar: kitsuneyo: why would it be inefficient?
[21:48:58] kitsuneyo: i was just reading a rails guides page and thought that was the term they used >.<;;
[21:49:04] rhizome: there's a fine railscast about the basics
[21:49:12] futilegames: has joined #RubyOnRails
[21:49:17] kitsuneyo: because you could have a ton of javascript in your app
[21:49:25] Radar: At RubyConf last week, I talked to someone who didn't know what Railscasts were. I felt old.
[21:49:37] Radar: kitsuneyo: link plz
[21:49:47] Radar: kitsuneyo: to the exact section which uses the term "cached"
[21:50:04] rhizome: kitsuneyo: if it has the same filename and asset tag, it will use the one already downloaded
[21:50:22] kitsuneyo: i actually just tried to watch the railscast on jquery but it seemed out of date (#143 i think)
[21:50:25] kitsuneyo: Radar: http://guides.rubyonrails.org/v3.2/asset_pipeline.html
[21:50:36] Radar: hm seems like only half my messages are getting through
[21:50:37] Radar: hm seems like only half my messages are getting through
[21:50:38] kitsuneyo: i may have seen that word somewhere else...
[21:50:40] Radar: must have to send them twice
[21:50:41] Radar: must have to send them twice
[21:50:46] Radar: kitsuneyo: Or is it just that you can't read?
[21:50:58] rhizome: please to resend
[21:51:00] Radar: " In production, Rails inserts an MD5 fingerprint into each filename so that the file is cached by the web browser."
[21:51:10] Radar: Is this what you are referring to?
[21:51:39] Radar: http://guides.rubyonrails.org/v3.2/asset_pipeline.html#turning-debugging-off
[21:51:40] kitsuneyo: Radar, if you're gonna be rude about it i don't need your help
[21:51:45] Radar: "must-revalidate Cache-Control HTTP header to reduce request overhead on subsequent requests ??? on these the browser gets a 304 (Not Modified) response."
[21:51:49] Radar: "Assets are compiled and cached on the first request after the server is started. Sprockets sets a must-revalidate Cache-Control HTTP header to reduce request overhead on subsequent requests ??? on these the browser gets a 304 (Not Modified) response."
[21:51:57] rhizome: that's not the way to de-escalate
[21:52:05] Radar: kitsuneyo: I am being rude because I ask for certain things and I get only half the things.
[21:52:14] Radar: kitsuneyo: I asked for an exact section link, and you link me to the guide. Pretty crap, imo.
[21:52:43] fox_mulder_cp: ACTION has a one issue to migrate from wordpress to jekyll on main site and switch to hosting panel app developments
[21:54:28] kitsuneyo: i mis-read what you said
[21:54:38] kitsuneyo: the attitude is uncalled for
[21:55:01] kitsuneyo: thanks for the other answers anyway
[21:56:49] _Tariq: has joined #RubyOnRails
[21:58:02] qejk: has joined #RubyOnRails
[21:58:38] Devalo: has joined #RubyOnRails
[22:00:01] JohnBat26: has joined #RubyOnRails
[22:00:58] capin: has joined #RubyOnRails
[22:02:17] jsrn__: has joined #RubyOnRails
[22:04:36] SteenJobs: rhizome: couldn???t find it in the logs - are you familiar with what material design is at all?
[22:07:10] maesitos: has joined #RubyOnRails
[22:10:55] stannard: has joined #RubyOnRails
[22:13:27] hcnewsom: has joined #RubyOnRails
[22:16:15] DorkusMaximus: has joined #RubyOnRails
[22:16:53] KnownSyntax: has joined #RubyOnRails
[22:17:00] KnownSyntax: has joined #RubyOnRails
[22:17:49] wethu: has joined #RubyOnRails
[22:21:27] marr: has joined #RubyOnRails
[22:23:46] jsrn_: has joined #RubyOnRails
[22:25:20] benlieb: has joined #RubyOnRails
[22:27:24] rhizome: yes, it is the current appearance paradigm for android devices
[22:27:51] rhizome: think of it as a manufacturer-supplied styling framework
[22:28:50] baweaver: has joined #RubyOnRails
[22:29:12] rhizome: google has tons on this
[22:30:40] askhat: has joined #RubyOnRails
[22:31:28] nodejunkie: has joined #RubyOnRails
[22:32:39] JoshGlzBrk: has joined #RubyOnRails
[22:34:32] railsForDaiz: has joined #RubyOnRails
[22:34:40] hello9: has joined #RubyOnRails
[22:34:46] rubyonrailed: has joined #RubyOnRails
[22:35:19] hello9: does rails process transactions first-in/first-out, or is it random-ish like async?
[22:35:42] SteenJobs: has joined #RubyOnRails
[22:36:06] rhizome: what do you mean by "transaction"?
[22:36:32] rhizome: maybe "request cycle" is what you're looking for
[22:37:24] hello9: rhizome, yes, that's what i meant
[22:38:42] benlieb: has joined #RubyOnRails
[22:40:49] dextertzu: has joined #RubyOnRails
[22:42:02] wethu: has joined #RubyOnRails
[22:46:36] rubyonrailed: has joined #RubyOnRails
[22:47:43] Graphettion: has joined #RubyOnRails
[22:52:59] quazimodo: has joined #RubyOnRails
[22:54:56] tetraktys: has joined #RubyOnRails
[22:56:28] ElFerna_: has joined #RubyOnRails
[22:56:38] droptone: Question: I am attempting to break out these Angular inline templates into individual files in my Rails 4.2 project, the templates were displaying fine when they were contained within application.html.erb layout
[22:56:39] hcnewsom: has joined #RubyOnRails
[22:56:42] droptone: Here is a gist of the files: https://gist.github.com/TM818/a0a0341f8d7f6642ba6e
[22:56:55] droptone: Can someone tell me what on earth I'm missing here? I see no errors in the development.log or the local console.
[22:58:49] tetraktys: has joined #RubyOnRails
[22:59:18] Devalo: has joined #RubyOnRails
[23:01:55] rails978: has joined #RubyOnRails
[23:03:39] _Tariq: has joined #RubyOnRails
[23:04:21] abiko: has joined #RubyOnRails
[23:05:16] askhat: has joined #RubyOnRails
[23:06:02] soule: has joined #RubyOnRails
[23:08:15] stannard: has joined #RubyOnRails
[23:09:10] quazimodo: has joined #RubyOnRails
[23:09:43] ss_much: has joined #RubyOnRails
[23:13:29] sankaber: has joined #RubyOnRails
[23:17:18] baweaver: has joined #RubyOnRails
[23:17:28] wethu: has joined #RubyOnRails
[23:21:40] unreal: has joined #RubyOnRails
[23:24:30] JoshGlzBrk: has joined #RubyOnRails
[23:25:52] egray: has joined #RubyOnRails
[23:27:28] ziyadb: has joined #RubyOnRails
[23:29:05] patrick_star_11: has joined #RubyOnRails
[23:31:32] mickey_mouse: has joined #RubyOnRails
[23:31:42] yfeldblum: has joined #RubyOnRails
[23:32:25] stannard: has joined #RubyOnRails
[23:32:45] Ropeney: has joined #RubyOnRails
[23:33:48] K_r3aPeR: has joined #RubyOnRails
[23:36:50] roshanavand: has joined #RubyOnRails
[23:37:26] askhat_: has joined #RubyOnRails
[23:43:33] KnownSyntax: has joined #RubyOnRails
[23:43:35] KnownSyntax: has joined #RubyOnRails
[23:53:37] rubyonrailed: has joined #RubyOnRails
[23:55:13] maesitos: has joined #RubyOnRails
[23:55:26] egray: has joined #RubyOnRails
[23:55:37] mhoungbo: has joined #RubyOnRails
[23:59:24] ElFerna_: has joined #RubyOnRails