« Back to channel list

#RubyOnRails - 10 March 2017

« Back 1 day Forward 1 day »
[00:00:41] hamster88: I am using 2.2.1 and rails version 4.2.5
[00:01:31] arBmind: has joined #RubyOnRails
[00:01:34] eclecticjohny: has joined #RubyOnRails
[00:05:11] hamster88: any help in this regards please?
[00:05:59] ravster: hamster88: that error message suggests something wrong with a has_many or belongs_to line in your code.
[00:06:35] hamster88: my has_many is something like this > has_many :comments, dependent: :destroy
[00:06:35] hamster88: has_many :projects, dependent: :destroy
[00:06:47] hamster88: that is what it is in user model
[00:07:05] hamster88: and for article model it is > has_many :comments, dependent: :destroy
[00:07:26] hamster88: and category model have this > has_many :article_categories # A category can have many article through the article categories.
[00:07:26] hamster88: has_many :article, through: :article_categories
[00:08:18] ravster: I also noticed that you are running it through spring. Could you do a 'spring stop' and then run 'rails s' just to make sure that you don't have anything strange hanging around the persistent VM?
[00:08:43] hamster88: shall i just issue that command on terminal
[00:09:10] Cache_Money: I can successfully place a tooltip on a font awesome icon, using jQuery `$('[data-toggle="tooltip"]').tooltip();`. I have a table with a bunch of numbers and I'd like to put a tooltip on them but I'm not sure how https://gist.github.com/anonymous/215f56121d4a8c375cb36cf1b50b6028
[00:09:14] hamster88: spring is not running
[00:09:30] hamster88: that's what i got when i issued spring stop
[00:11:04] ravster: The stacktrace is also looks like its running through the bootsy gem. Can you look around your code that references bootsy or ImageGallery?
[00:11:17] Cache_Money: is it possible to put a data-toggle attribute on a non `link_to` element?
[00:11:46] hamster88: I have bootsy in code
[00:12:27] froglegs: has joined #RubyOnRails
[00:13:24] ravster: hamster88: What happens when you disable the bootsy engine from routes.rb. Does the error still pop up?
[00:13:27] ResidentBiscuit: has joined #RubyOnRails
[00:13:42] hamster88: let me disable it and try
[00:14:30] jhack: has joined #RubyOnRails
[00:14:30] jhack: has joined #RubyOnRails
[00:15:25] hamster88: ravster, yes its still there
[00:15:45] hakash: has joined #RubyOnRails
[00:17:41] ravster: And its the same error message?
[00:17:53] hamster88: and hereis something i found > https://gist.github.com/anonymous/f4724ebbe23d2b96ec70387ce96a96dd
[00:18:17] hamster88: that polymorphic: true thing
[00:20:41] hamster88: also i just tried running rake and got this > ArgumentError: Unknown key: :optional. Valid keys are: :class_name, :anonymous_class, :foreign_key, :validate, :autosave, :dependent, :primary_key, :inverse_of, :required, :foreign_type, :polymorphic, :touch, :counter_cache
[00:21:17] eclecticjohny: has joined #RubyOnRails
[00:21:28] hamster88: it's pointing to /environment.rb:5:in `<top (required)>'
[00:21:48] hamster88: that file only has 2-3 lines max
[00:22:08] tfitts: has joined #RubyOnRails
[00:22:28] ravster: And spring stop still says that no spring is running, right?
[00:22:47] hamster88: yes that's true
[00:23:11] ravster: weird. I'm out of ideas. Sorry dude
[00:23:44] hamster88: that's alright
[00:23:57] hamster88: could rbenv or rvm be the problem?
[00:24:15] tfitts: I have a rails 5 api mode app that uses serializers to output the data in JSONAPI format. I'm wondering if there is a way to specify when to include associations and when not to. For example if I load the index route for orders I only want to include the belnogs_to data, but when I load a specific order I'd like to include the order_items and items, etc.
[00:24:26] iliketurtles: has joined #RubyOnRails
[00:24:42] hamster88: ravster, shall i try disabling spring gem from gemfile ?
[00:24:45] dps: has joined #RubyOnRails
[00:25:40] jenrzzz: has joined #RubyOnRails
[00:25:50] jenrzzz: has joined #RubyOnRails
[00:25:59] hamster88: nvm still same
[00:26:33] jnoob22: has joined #RubyOnRails
[00:26:42] chouhoul_: has joined #RubyOnRails
[00:29:14] Nicmavr: has joined #RubyOnRails
[00:31:43] eclecticjohny: has joined #RubyOnRails
[00:32:00] cnk: tfitts: one easy option is to make 2 serializers
[00:32:16] tfitts: and how do you choose which one to use?
[00:32:48] cnk: explicitly in the controller method - index or show
[00:36:32] cnk: has joined #RubyOnRails
[00:43:43] hotpancakes: has joined #RubyOnRails
[00:46:48] hamster88: it seems i've resolved the issue
[00:46:55] hamster88: but not sure the approach was right or not
[00:53:37] lele: has joined #RubyOnRails
[00:55:56] SteenJobs_: has joined #RubyOnRails
[00:56:17] nettoweb: has joined #RubyOnRails
[00:56:19] tercenya: has joined #RubyOnRails
[00:59:35] pawnbox: has joined #RubyOnRails
[01:00:50] tildes_: has joined #RubyOnRails
[01:01:32] tercenya: has joined #RubyOnRails
[01:15:12] tercenya: has joined #RubyOnRails
[01:17:00] SteenJobs_: has joined #RubyOnRails
[01:19:03] tomasm-: has joined #RubyOnRails
[01:20:09] tomasm-: hey is there any decent debug toolbar for rails? something where I can visually inspect sessions, db queries, etc
[01:27:42] SteenJobs_: has joined #RubyOnRails
[01:27:46] dps: has joined #RubyOnRails
[01:29:22] pawnbox: has joined #RubyOnRails
[01:34:53] jeyraof^mbpr: has joined #RubyOnRails
[01:35:12] arBmind: has joined #RubyOnRails
[01:41:01] timdotrb: has joined #RubyOnRails
[01:42:43] SteenJobs_: has joined #RubyOnRails
[01:51:24] knight33: has joined #RubyOnRails
[01:52:26] froglegs: has joined #RubyOnRails
[01:53:47] harfangk: has joined #RubyOnRails
[01:54:04] iliketurtles: @tomasm look into better errors
[01:54:14] quazimodo: has joined #RubyOnRails
[01:58:30] froglegs: has joined #RubyOnRails
[01:58:50] knight33: has joined #RubyOnRails
[01:59:09] pawnbox: has joined #RubyOnRails
[01:59:35] SteenJobs_: has joined #RubyOnRails
[02:02:35] lessless: has joined #RubyOnRails
[02:03:53] lessless: Hello folks! Is it possible to get the same Feedback loop processing in Postfix as in PowerMTA?
[02:05:59] keegnotrub: has joined #RubyOnRails
[02:10:14] xall: has joined #RubyOnRails
[02:18:09] d0nn1e: has joined #RubyOnRails
[02:27:09] tomasm-: hey how do i check whether a class method is defined or not?
[02:28:52] pawnbox: has joined #RubyOnRails
[02:39:06] froglegs: has joined #RubyOnRails
[02:39:34] SteenJobs_: has joined #RubyOnRails
[02:41:20] keegnotrub: Class.respond_to? :method
[02:42:38] aperkins81: has joined #RubyOnRails
[02:43:10] ss_much: has joined #RubyOnRails
[02:43:38] lessless: damn, wrong channel
[02:47:09] SteenJobs_: has joined #RubyOnRails
[02:48:38] hotpancakes: has joined #RubyOnRails
[02:48:59] pawnbox: has joined #RubyOnRails
[02:49:09] duderonomy: has joined #RubyOnRails
[02:50:31] aperkins81: has joined #RubyOnRails
[02:54:42] Rodya_: has joined #RubyOnRails
[02:58:38] froglegs: has joined #RubyOnRails
[02:59:44] ule: has joined #RubyOnRails
[03:00:35] Cache_Money: has joined #RubyOnRails
[03:03:21] jhack_: has joined #RubyOnRails
[03:05:53] libastral: has joined #RubyOnRails
[03:07:06] Cache_Money: has joined #RubyOnRails
[03:13:38] duderonomy: has joined #RubyOnRails
[03:13:52] SteenJobs_: has joined #RubyOnRails
[03:17:51] keegnotrub: has left #RubyOnRails: ("ERC (IRC client for Emacs 25.1.1)")
[03:18:46] pawnbox: has joined #RubyOnRails
[03:19:33] hotpancakes: has joined #RubyOnRails
[03:27:37] dps: has joined #RubyOnRails
[03:39:39] brent__: has joined #RubyOnRails
[03:47:02] xall: has joined #RubyOnRails
[03:50:50] keerthana: has joined #RubyOnRails
[03:56:11] Jameser: has joined #RubyOnRails
[03:56:24] xMopxShell: has joined #RubyOnRails
[03:57:24] Gizmokid2005: has joined #RubyOnRails
[03:58:10] pawnbox: has joined #RubyOnRails
[03:58:48] hfp_work: has joined #RubyOnRails
[03:58:57] gambl0re: has joined #RubyOnRails
[03:59:25] xall: has joined #RubyOnRails
[04:01:07] tomasm-: hey I'm getting DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead
[04:01:51] tomasm-: from an engine file, all it's doing is calling "require" from my gemfile specs
[04:02:14] staticfox: has joined #RubyOnRails
[04:08:38] arret: has joined #RubyOnRails
[04:10:03] nyaa: has joined #RubyOnRails
[04:18:16] pawnbox: has joined #RubyOnRails
[04:18:42] pwnd_nsfw: tomasm-, ignore it yeay
[04:18:45] pwnd_nsfw: It's only a warning
[04:18:57] pwnd_nsfw: ACTION waits for someone to say that's a terrible idea
[04:19:09] tomasm-: yeah i got some gems that were made for rails 3 i think
[04:19:34] tomasm-: there are other deprecated issues too from other gems
[04:19:38] matthewd: It's a warning for the engine, presumably
[04:19:55] tomasm-: matthewd, it's a gem inside the engine actually
[04:20:03] matthewd: So you can ignore it for now, but know that gem will break at some point in the future if its author doesn't update it
[04:20:23] pwnd_nsfw: FORK FORK FORK FORK
[04:20:54] tomasm-: yeah i _could_ fix it on github, still kind of new to ruby/rails so wanting to get the project done before spending time on minor issues like that
[04:22:17] pwnd_nsfw: It would be good practice!
[04:22:40] tomasm-: true, would also kind of be a waste of time at the moment
[04:23:13] tomasm-: I already spent 2 hours tonight on what was figuring out a single line of code (elsewhere)
[04:23:43] pwnd_nsfw: We're here to help homie
[04:23:49] pwnd_nsfw: just don't do what mices does
[04:27:30] tomasm-: what do mice do?
[04:27:49] hotpancakes: has joined #RubyOnRails
[04:28:59] nacsurte: has joined #RubyOnRails
[04:32:12] tomasm-: has joined #RubyOnRails
[04:35:35] hahuang65: has joined #RubyOnRails
[04:37:25] xall: has joined #RubyOnRails
[04:41:02] itsgokul: has joined #RubyOnRails
[04:44:02] brent__: if i have the the following link current_account.article_approve_for_review_path(article), how do you determine which action that is going to?
[04:53:06] rakesh_verma: has joined #RubyOnRails
[04:57:13] pawnbox: has joined #RubyOnRails
[04:58:30] marcdel: has joined #RubyOnRails
[05:05:09] xall: has joined #RubyOnRails
[05:09:18] rakesh_verma: has joined #RubyOnRails
[05:13:32] SteenJobs_: has joined #RubyOnRails
[05:13:55] ResidentBiscuit: has joined #RubyOnRails
[05:15:00] cschneid_: has joined #RubyOnRails
[05:16:03] hotpanca_: has joined #RubyOnRails
[05:20:26] tomasm-: ok so I want to create a db:seed for an admin login user.... but I don't want to pass a plain text password, I'd rather store an encrypted version, but i need it to not encrypt it for me, maybe there's a different field name than 'password' to use?
[05:21:02] pulkit4tech: has joined #RubyOnRails
[05:24:17] patarr: has joined #RubyOnRails
[05:26:14] froglegs: has joined #RubyOnRails
[05:26:35] jeyraof^mbpr: has joined #RubyOnRails
[05:28:37] rakesh_verma: has joined #RubyOnRails
[05:28:54] pur3eval: has joined #RubyOnRails
[05:34:47] nyaa: has joined #RubyOnRails
[05:38:24] newcoder: has joined #RubyOnRails
[05:39:06] newcoder: has left #RubyOnRails: ()
[05:40:50] fourcolors: has joined #RubyOnRails
[05:42:33] baffoon: has joined #RubyOnRails
[05:42:37] rakesh_verma: has joined #RubyOnRails
[05:56:11] pLaTo0n: has joined #RubyOnRails
[05:56:34] R0B0: has joined #RubyOnRails
[05:58:34] thebaffoon: has joined #RubyOnRails
[06:01:32] xall: has joined #RubyOnRails
[06:02:12] xcesariox: has joined #RubyOnRails
[06:03:37] thebaffoon: has joined #RubyOnRails
[06:06:25] Cesariox: has joined #RubyOnRails
[06:06:56] xcesariox: has joined #RubyOnRails
[06:16:30] djbkd: has joined #RubyOnRails
[06:20:49] rakesh_verma: has joined #RubyOnRails
[06:27:53] rakesh_verma: has joined #RubyOnRails
[06:30:08] R0B0: has joined #RubyOnRails
[06:31:05] fourcolors: has joined #RubyOnRails
[06:31:13] R0B0: has joined #RubyOnRails
[06:32:17] rakesh_verma: has joined #RubyOnRails
[06:39:19] pawnbox: has joined #RubyOnRails
[06:45:23] tildes_: has joined #RubyOnRails
[06:53:24] rakesh_verma: has joined #RubyOnRails
[06:53:29] pur3eval: has joined #RubyOnRails
[06:56:42] pLaTo0n: has joined #RubyOnRails
[06:57:57] rakesh_verma: has joined #RubyOnRails
[07:02:06] pur3eval: has joined #RubyOnRails
[07:07:48] rakesh_verma: has joined #RubyOnRails
[07:10:08] nOwz: has joined #RubyOnRails
[07:12:37] rakesh_verma: has joined #RubyOnRails
[07:14:51] ResidentBiscuit: has joined #RubyOnRails
[07:16:49] marcdel: has joined #RubyOnRails
[07:25:02] patarr: has joined #RubyOnRails
[07:33:07] ariedler: has joined #RubyOnRails
[07:34:02] zpe: has joined #RubyOnRails
[07:34:35] DrYockel: has joined #RubyOnRails
[07:36:03] pulkit4tech: has joined #RubyOnRails
[07:43:28] dionysus69: has joined #RubyOnRails
[07:45:10] nOwz: has joined #RubyOnRails
[07:45:20] hotpancakes: has joined #RubyOnRails
[07:47:37] gambl0re: has joined #RubyOnRails
[07:59:06] pawnbox: has joined #RubyOnRails
[08:00:03] jeyraof^mbpr: has joined #RubyOnRails
[08:01:59] hotpancakes: has joined #RubyOnRails
[08:14:40] aganov: has joined #RubyOnRails
[08:15:16] pawnbox: has joined #RubyOnRails
[08:19:56] blackhuey: has joined #RubyOnRails
[08:22:36] srinidhi: has joined #RubyOnRails
[08:23:08] pur3eval: has joined #RubyOnRails
[08:26:17] conta: has joined #RubyOnRails
[08:31:34] artto: has joined #RubyOnRails
[08:32:43] pwnd_nsfw`: has joined #RubyOnRails
[08:33:07] artto: has joined #RubyOnRails
[08:44:22] thebaffoon: has joined #RubyOnRails
[08:48:20] conta: has joined #RubyOnRails
[08:50:48] mark_66: has joined #RubyOnRails
[08:51:22] dminuoso: Can someone help me decide whether to ransack my API endpoints or not?
[08:52:01] tbuehlmann: what are the other options?
[08:52:25] dminuoso: tbuehlmann: Providing a search model with tons (tm) of scopes.
[08:53:05] pawnbox: has joined #RubyOnRails
[08:53:11] dminuoso: Im not sure whether exposing the underlying database layout (column names in particular) is a wise thing.
[08:54:01] tbuehlmann: I don't see a problem with that in most cases. haven't used ransack really, I'm using my own filtering lib for such things
[08:54:19] dminuoso: tbuehlmann: Oh I remember you mentioning it. Is it on github?
[08:56:04] tbuehlmann: yeah: https://github.com/tbuehlmann/lappen
[08:56:17] tbuehlmann: last time it didn't fit your needs, but that was something else, right?
[08:57:39] poerror: has joined #RubyOnRails
[08:57:44] reaVer: has joined #RubyOnRails
[08:58:40] dminuoso: tbuehlmann: It looked weird.
[08:58:46] poerror: hi guys, I've finished basic tutorial for actioncables - a simple chat application.
[08:58:48] poerror: I would like to improve it by adding "user list" - this list will be updated based who is online.
[08:58:48] poerror: My question is, for this "user list" components, should I create new separated channel or everything handle by "received" method? Pls give me some advice or some advanced tutorial for actioncables.
[08:58:50] dminuoso: Lot's of meta code.
[08:59:25] dminuoso: tbuehlmann: I think your README is just lacking because it shows "@products = policy_scope(Product.active).with_name(params[:name]).ordered_by(params[:order]).page(params[:page]).per(params[:per]).includes(:reviews).decorate" and then tons of non-descriptive meta code that is supposed to improve things
[09:00:49] tbuehlmann: so it can be improved, I'd have been surprised otherwise
[09:02:00] artto: has joined #RubyOnRails
[09:03:34] hotpancakes: has joined #RubyOnRails
[09:04:53] rakesh_verma: has joined #RubyOnRails
[09:05:21] Ergo: has joined #RubyOnRails
[09:08:24] armyriad: has joined #RubyOnRails
[09:09:49] dminuoso: tbuehlmann: I think it would be cool if you followed that up with a code example to solve that same problem using your library to get an idea of how it would convert ones code.
[09:10:34] djbkd: has joined #RubyOnRails
[09:10:37] dminuoso: tbuehlmann: So in essence your library is kind of like a monad, right?
[09:11:05] dminuoso: Or.. your filters are.
[09:11:15] mikecmpbll: has joined #RubyOnRails
[09:11:41] tbuehlmann: it's a pipeline
[09:12:25] tbuehlmann: it starts with input, which is used in a filter to produce output which will be the next filter's input
[09:14:07] dminuoso: tbuehlmann: So it's basically just Enumerable#reduce ?
[09:14:53] tbuehlmann: kind of, right
[09:14:59] arBmind: has joined #RubyOnRails
[09:15:21] ResidentBiscuit: has joined #RubyOnRails
[09:15:26] pawnbox: has joined #RubyOnRails
[09:16:20] dminuoso: tbuehlmann: Oh, I see where this is going. It's basically kind of like combineReducers from redux?
[09:16:36] dminuoso: Or reducers in general even
[09:16:38] tbuehlmann: I don't know that, so.. maybe?
[09:16:52] conta: has joined #RubyOnRails
[09:17:17] dminuoso: tbuehlmann: Yeah, it's definitely a nice abstraction library but it doesn't seem to solve any searching.
[09:17:23] dminuoso: Though the Kaminari filter is neat.
[09:17:49] tbuehlmann: how exactly do you search?
[09:18:02] tbuehlmann: maybe there's a filter for that already, maybe it's missing and easy to implement
[09:18:17] dminuoso: tbuehlmann: What do you mean by that question?
[09:19:21] tbuehlmann: what's the feature you are planning to implement somehow? search by attribute? fulltext search?
[09:19:50] dminuoso: Just search by attribute (equal, contains, lt/gt/eq/eqlt/eqgt) with AND and OR combinations
[09:20:21] dminuoso: But with searching in nested (left joins) relationships
[09:20:27] dminuoso: IS NULL, IS NOT NULL
[09:20:50] dminuoso: Pretty much all the ransack predicates
[09:21:47] tbuehlmann: ah, okay. yeah, that's not part of the library (yet?)
[09:22:20] tbuehlmann: it's all ANDs right now, until you write your own filter
[09:22:27] tbuehlmann: eq/lt/gt is supported
[09:22:30] dminuoso: well I could even live with AND
[09:23:05] dminuoso: tbuehlmann: Does your library allow searching in attributes of a relationship?
[09:23:20] quazimodo: has joined #RubyOnRails
[09:23:42] tbuehlmann: nope, there's nothing for that yet
[09:23:46] dminuoso: Though I think I might actually stick to ransack and hide the columns by clearly defining and mapping things. like {"city" => "house_street_district_city_name"}
[09:24:00] dminuoso: tbuehlmann: Yeah then it would be far too cumbersome because we have highly normalized data models
[09:25:59] patarr: has joined #RubyOnRails
[09:28:50] EdwardIII: has left #RubyOnRails: ()
[09:29:35] dangerousdave: has joined #RubyOnRails
[09:31:36] cschneid_: has joined #RubyOnRails
[09:33:13] artto: has joined #RubyOnRails
[09:34:52] tarsek: has joined #RubyOnRails
[09:37:04] tarsek: Hello, I am upgrading from rails2 to rails3. Currently I have an strange issue: It seems that rails does not recognize 'html.erb' partials. If I rename them to 'rhtml' everything works fine. Is there something I forgot to configure in order to use 'html.erb'?
[09:37:19] dminuoso: Is there a way to apply an lambda as a scope to an AR relation?
[09:38:10] dminuoso: i.e. I want to do rel.apply(->(rel) { rel.where(foo: nil) })
[09:39:21] dminuoso: tarsek: That's surprising. Rails 3.0 has removed support for .rhtml files
[09:41:06] rakesh_verma: has joined #RubyOnRails
[09:41:27] dminuoso: tarsek: Can you gist the full exception with a full stacktrace?
[09:41:35] dminuoso: It's been a while since I've even seen a Rails 3 application.
[09:41:52] dminuoso: tarsek: Also, you intend to upgrade to 5 in the next steps right?
[09:42:04] tbuehlmann: dminuoso: never read about applying a lambda, so I'd say "nope"
[09:42:06] tbuehlmann: not sure though
[09:43:11] tarsek: dminuoso: Yes, I am upgrading step by step
[09:43:12] dminuoso: tbuehlmann: Well I mean I can simply do rel = myLambda.call(rel); it just does not look neat. :(
[09:43:31] dminuoso: tarsek: Okay. If you had said no I would have left you alone with your problems. ;-)
[09:44:27] tbuehlmann: dminuoso: yep, I thought that's what you wanted to avoid
[09:45:03] lxsameer: has joined #RubyOnRails
[09:45:12] tarsek: dminuoso: https://gist.github.com/anonymous/d35be2c5925f9090e9fbb379cdb487c6
[09:47:14] dminuoso: tarsek: It's looking for .js.erb files, not .html.erb
[09:48:08] tarsek: i am using such a construction several time and it always worked oO
[09:48:38] dminuoso: tarsek: Actually Im not sure. Let me ponder on this.
[09:48:46] dminuoso: It's been a long long time since I have used erb.
[09:49:45] chemelson_: has joined #RubyOnRails
[09:49:48] dminuoso: tarsek: please show me the full filename of the issue_infos
[09:52:25] dminuoso: tarsek: Try passing :formats => [:html] to render
[09:53:19] dminuoso: tarsek: I dont think this could ever work, since render will try to use the default format its in.
[09:53:38] dminuoso: So you will have to specify the format explicitly if you want to render a html partial inside a js view.
[09:53:44] Technodrome: has joined #RubyOnRails
[09:54:13] tarsek: I will try
[09:54:32] dminuoso: In Rails 3 formats were added as part of filenames, which is why .rhtml worked
[09:54:59] dminuoso: So render would basically look for <filename>.<format>.<anyMatchingHandler>
[09:55:07] dminuoso: whereas in rails 2 it was <filename>.<anyMatchingHandler>
[09:55:15] tarsek: It does not work :(
[09:55:28] dminuoso: tarsek: and if you rename it to json.erb ?
[09:55:35] dminuoso: or js.erb ?
[09:55:42] tarsek: Let me try
[09:56:45] czerasz: has joined #RubyOnRails
[09:57:48] tarsek: It does not work as the partial is used at another place too
[09:58:25] dminuoso: tarsek: just copy it
[09:59:06] pawnbox: has joined #RubyOnRails
[09:59:44] tedwing: has joined #RubyOnRails
[10:01:33] tarsek: It still shows the same error
[10:01:57] tarsek: Oh I lied
[10:02:07] dminuoso: tarsek: using which format? json? js?
[10:02:24] tarsek: But I had to remove html code
[10:02:32] tarsek: Because it was throwing a lot of errors
[10:02:37] dminuoso: wasnt meant to be a solution anyway
[10:02:38] dminuoso: 10:52 < dminuoso> tarsek: Try passing :formats => [:html] to render
[10:02:44] dminuoso: 10:55 < tarsek> It does not work :(
[10:02:47] dminuoso: this is bugging me
[10:03:14] dminuoso: tarsek: can you remove the js.erb and try this again, and show me the code yo used and the new error message?
[10:04:04] tarsek: <%= escape_javascript(render(:partial => 'issues/issue_infos_test', :formats => [:html] )) %> Is it used correctly?
[10:04:20] dminuoso: tarsek: Looks like, show me the full error
[10:04:33] dminuoso: I mean there's a brute force solution to your problem, but Id like to avoid it if I can
[10:04:43] tarsek: So deleting the .js.erb and using the html.erb again?
[10:04:46] tarsek: with hte format?
[10:04:48] dminuoso: tarsek: Yes.
[10:05:42] tarsek: https://gist.github.com/anonymous/a9d6b8bb194c3352f3baed57b1a3d2fa
[10:06:29] dminuoso: tarsek: which exact rails version are you using?
[10:07:09] dminuoso: tarsek: Ohhh I just read some older rails issue and understand this now.
[10:07:11] dminuoso: This cannot work.
[10:07:16] dminuoso: Baah this is annoying.
[10:08:02] rakesh_verma: has joined #RubyOnRails
[10:08:23] tarsek: So am I using it wrong or is it because of the rails version?
[10:08:47] dminuoso: tarsek: its because of the rails version
[10:08:53] dminuoso: tarsek: in rails 4 you could pass format to subpartials
[10:09:00] dminuoso: but in rails 3 you cant, but there's some workarounds
[10:09:16] dminuoso: so the solution with formats: [:html] would work in rails 4
[10:09:17] tarsek: ok so i should stick to a workaround until i reach rails 4
[10:09:34] dminuoso: tarsek: up to you
[10:09:52] tarsek: Alright, can you suggest me a workaround
[10:10:10] dminuoso: tarsek: http://stackoverflow.com/questions/339130/how-do-i-render-a-partial-of-a-different-format-in-rails/5074120#5074120
[10:10:20] dminuoso: tarsek: http://stackoverflow.com/a/16572820
[10:10:35] dminuoso: those two look like your best bet
[10:11:00] dminuoso: tarsek: I think the last one is better, because it lets you modify the views for rails 4
[10:11:14] tarsek: Can you suggest renaming it to .rhtml again till i reach rails 4?
[10:11:15] dminuoso: tarsek: but monkey patch that behavior through an initializer for rails 3 (which you need to remove if you upgrade to rails 4)
[10:11:25] kristofferR: has joined #RubyOnRails
[10:11:51] dminuoso: tarsek: Use the formats: [:html] like I told you, and add the initializer like in the last SO answer.
[10:11:59] dminuoso: tarsek: and when you upgrade to rails 4, remove that initializer
[10:12:31] tarsek: Ok I will try
[10:12:42] jeyraof^mbpr: has joined #RubyOnRails
[10:12:42] Vircung: has joined #RubyOnRails
[10:13:07] tarsek: You mean the 'with format' ?
[10:13:19] dminuoso: tarsek: http://stackoverflow.com/a/16572820
[10:15:55] rakesh_verma: has joined #RubyOnRails
[10:16:05] marr: has joined #RubyOnRails
[10:16:06] tarsek: That is the result: https://gist.github.com/anonymous/02d400b65181919cc4179c3996848260
[10:18:25] srinidhi: has joined #RubyOnRails
[10:18:53] rakesh_verma: has joined #RubyOnRails
[10:19:41] workmad3: has joined #RubyOnRails
[10:20:44] rakesh_verma: has joined #RubyOnRails
[10:24:25] artto: has joined #RubyOnRails
[10:27:03] jsrn_: has joined #RubyOnRails
[10:27:48] gloscombe: has joined #RubyOnRails
[10:29:56] arBmind: has joined #RubyOnRails
[10:33:39] Andr3as: morning everyone.. i am following the railstutorial by Hartl to build in a remember me checkbox.. it's going ahead OK but when i want to check if the checkbox is checked, it tells me "undefined method" - here's a gist of my sessions controller https://gist.github.com/awunder/200d6677f174afc0637f708ddbb68900
[10:33:52] Andr3as: here's the link to the tut https://www.railstutorial.org/book/advanced_login#sec-remember_me_checkbox
[10:34:23] Andr3as: it crashs at the params line (13 in gist)
[10:37:24] rakesh_verma: has joined #RubyOnRails
[10:37:35] hotpancakes: has joined #RubyOnRails
[10:40:01] Cohedrin: has joined #RubyOnRails
[10:41:58] arBmind: has joined #RubyOnRails
[10:45:25] sid_fules: has joined #RubyOnRails
[10:49:14] djbkd: has joined #RubyOnRails
[10:52:33] tbuehlmann: Andr3as: the error seems to come from `params[:session][:remember_me] == '1' ? remember(user) : forget(user)`
[10:52:45] tbuehlmann: params[:session] seems to be nil
[10:53:14] artto: has joined #RubyOnRails
[10:53:42] pawnbox: has joined #RubyOnRails
[10:53:46] ferr1: has joined #RubyOnRails
[10:54:33] _3dwardsharp: has joined #RubyOnRails
[10:54:37] Andr3as: tbuehlmann: yeah, but why..?
[10:55:28] Andr3as: tbuehlmann: have updated the new.html.erb for a new session
[10:55:33] Andr3as: have i done anything wrong?
[10:55:35] tbuehlmann: I can't say. can you add the view file for the new action to the gist?
[10:55:58] Andr3as: is updated - pls refresh
[10:57:16] pawnbox: has joined #RubyOnRails
[10:58:17] tbuehlmann: ah, okay. I bet when you select the checkbox and submit the form, you get a param named
[10:58:20] tbuehlmann: "remember_me"
[10:58:49] thomashickey: has joined #RubyOnRails
[10:58:59] Andr3as: i get the param but the same error
[10:59:18] tbuehlmann: yeah, that's about naming, we get to that in a sec
[10:59:45] tbuehlmann: so, the form does not submit anything when the checkbox is not checked. that's intended, that's the spec for checkboxes
[11:00:31] thomashickey: Hello, friends. New here. Been learning Rails for about two months part-time.
[11:00:32] tbuehlmann: what you want to do is to add a hidden field before the checkbox that sets a default value in case the checkbox is not checked
[11:01:46] tbuehlmann: in your case, something like this: hidden_field_tag :remember_me, '0'
[11:02:15] Andr3as: did it, get the param but still the same error
[11:02:37] Andr3as: i made it a number, though, so "<%= hidden_field_tag :remember_me, 0 %>"
[11:02:54] tbuehlmann: yep, because you're accessing params[:session][:remember_me], but the value should be in params[:remember_me]
[11:03:38] tbuehlmann: thomashickey: welcome!
[11:03:48] Andr3as: that did the trick, awesome, tbuehlmann!
[11:03:50] Andr3as: thanks a lot
[11:03:57] Andr3as: learned something
[11:04:46] thomashickey: has left #RubyOnRails: ()
[11:04:58] tbuehlmann: btw, when using a model with form_for(model) with check_box :some_attribute, rails will take care of the empty checkbox thingy and add a hidden field for you already
[11:05:26] Andr3as: thats good to know, thanks!
[11:05:39] thomashickey: has joined #RubyOnRails
[11:06:22] toomus: has joined #RubyOnRails
[11:07:25] toomus: Is it possible to serve src of image from controller?
[11:07:50] toomus: eg. <img src='http://my-domain/some/action'>
[11:08:02] toomus: I want to track image views
[11:09:10] Andr3as: toomus: see http://stackoverflow.com/questions/8639796/how-to-keep-a-counter-of-how-many-times-an-article-is-viewed-in-rails
[11:09:41] Andr3as: looks like there's some performance issues with it
[11:11:23] _3dwardsharp: toomus: use your webserver logs?
[11:11:46] toomus: Andr3as thx, but method described in this link will not work becasue of S3
[11:12:33] toomus: I already try to hit my controller action from image src, and it works - controller receives request
[11:12:54] toomus: but how to return image
[11:13:36] Andr3as: toomus: the guy from the page said later:
[11:13:39] Andr3as: "...then i changed it. every hour i am passing the logfiles of my apache with an cronjob, and count the views. then i add it to the database. ..."
[11:13:56] Andr3as: so, that sounds like a viable solution even for a heavy load site
[11:15:50] ResidentBiscuit: has joined #RubyOnRails
[11:18:01] toomus: Andr3as I want views stats as fresh as possible, so parsing gigabytes of logs once per day is not a solution for me :/
[11:18:48] jenrzzz: has joined #RubyOnRails
[11:19:55] toomus: I will try _3dwardsharp solution with send_file
[11:20:08] Andr3as: sure - pls report :)
[11:20:20] _3dwardsharp: lolol, pls don't
[11:20:48] Andr3as: do it diplomatically, then
[11:21:04] Tempesta: has joined #RubyOnRails
[11:21:17] pawnbox_: has joined #RubyOnRails
[11:22:38] tbuehlmann: toomus: rather than sending the image yourself you could redirect to the original image url
[11:23:52] toomus: tbuehlmann interesting :)
[11:25:44] Terens: has joined #RubyOnRails
[11:26:30] blackhuey: has left #RubyOnRails: ()
[11:26:32] patarr: has joined #RubyOnRails
[11:31:16] Terens: has joined #RubyOnRails
[11:31:42] artto: has joined #RubyOnRails
[11:33:37] hotpancakes: has joined #RubyOnRails
[11:41:29] yigitsadic: has joined #RubyOnRails
[11:45:57] thomashickey: has joined #RubyOnRails
[11:47:35] Fernando-Basso: has joined #RubyOnRails
[12:01:03] charnel: has joined #RubyOnRails
[12:06:15] Jameser: has joined #RubyOnRails
[12:09:59] pawnbox: has joined #RubyOnRails
[12:13:39] rakesh_verma: has joined #RubyOnRails
[12:14:37] ResidentBiscuit: has joined #RubyOnRails
[12:23:23] xaviergmail: has joined #RubyOnRails
[12:24:37] jonjoe: has joined #RubyOnRails
[12:24:54] patarr: has joined #RubyOnRails
[12:26:42] rakesh_verma: has joined #RubyOnRails
[12:27:22] cgfbee: has joined #RubyOnRails
[12:27:53] artto: has joined #RubyOnRails
[12:34:51] ldnunes: has joined #RubyOnRails
[12:41:46] d0nn1e: has joined #RubyOnRails
[12:46:14] dps: has joined #RubyOnRails
[12:47:48] conta: has joined #RubyOnRails
[12:47:48] czerasz: has joined #RubyOnRails
[12:47:49] cpruitt: has joined #RubyOnRails
[12:48:36] poerror: has left #RubyOnRails: ("bye-bye")
[12:57:39] MalMen: has joined #RubyOnRails
[13:00:43] artto_: has joined #RubyOnRails
[13:00:46] cpruitt_: has joined #RubyOnRails
[13:09:50] xaviergmail: has joined #RubyOnRails
[13:11:49] sid_fules: has joined #RubyOnRails
[13:18:32] quazimodo: has joined #RubyOnRails
[13:23:55] keerthana: has joined #RubyOnRails
[13:30:17] artto: has joined #RubyOnRails
[13:31:45] gp5st: has joined #RubyOnRails
[13:32:45] gp5st: hello, is there a more succinct way to write this query? http://dpaste.com/21YNFMW I'm not sure how to start with the ORM and query builder and return arbitrary results
[13:36:31] epochwolf: gp5st: taking a stab at this, should be *mostly* correct.
[13:36:32] epochwolf: Railroad.select('railroads.id, railroads.name, count(*) as video_count').joins(:railroads_videos).group('railroads.id, railroads.name').order('video_count desc').limit(10)
[13:38:21] gp5st: epochwolf: ah, OK, so the ORM won't bork when not all fields are selected and throw away fields that aren't part of the table?
[13:39:14] epochwolf: gp5st: you'll only have id and name populated and will have a method named video_count
[13:39:51] gp5st: epochwolf: awesome
[13:40:04] gp5st: epochwolf: thanks! that's what I wasn't sure of
[13:40:30] epochwolf: gp5st: be careful with it. If you name a column in the select the same as a ruby method, things get wierd. :)
[13:40:41] epochwolf: Don't name a column :method for example.
[13:41:10] elaptics: has joined #RubyOnRails
[13:41:18] andrcmdr: has joined #RubyOnRails
[13:41:41] hotpancakes: has joined #RubyOnRails
[13:45:05] Jameser: has joined #RubyOnRails
[13:46:23] itsautomatisch: has joined #RubyOnRails
[13:48:10] manzo: has joined #RubyOnRails
[13:49:03] tedwing: has joined #RubyOnRails
[13:49:22] gp5st: epochwolf: on, fun little thing, in postgres if you group by a unique col (inc primary key) you don't have to list the rest of the row in the group by :)
[13:49:30] gp5st: I don't think mysql does that though
[13:49:52] epochwolf: gp5st: oh, is that new? It used to barf on me when I did that.
[13:49:59] epochwolf: Mysql allows anything in group by.
[13:50:02] gp5st: and in lax mode you can do whatever you want and it'll just shrug give you stuff and move on with your day
[13:50:23] epochwolf: It'll fill the ungrouped columns with the first row it sees in a join.
[13:50:33] gp5st: epochwolf: i'm not sure, I've only been using pg a few years and it's seemed to do it that whole time
[13:50:42] gp5st: epochwolf: there is a strict mode for mysql now that won't do that
[13:50:48] gp5st: the query will error
[13:52:21] quazimodo: has joined #RubyOnRails
[13:55:52] Jameser: has joined #RubyOnRails
[13:58:12] eclecticjohny: has joined #RubyOnRails
[13:58:44] teddysmoker: has joined #RubyOnRails
[14:03:55] Jameser: has joined #RubyOnRails
[14:14:43] ramortegui: has joined #RubyOnRails
[14:15:38] pawnbox: has joined #RubyOnRails
[14:16:44] pawnbox: has joined #RubyOnRails
[14:24:50] s2013: has joined #RubyOnRails
[14:25:16] dminuoso: 14:50 < epochwolf> It'll fill the ungrouped columns with the first row it sees in a join.
[14:25:19] dminuoso: This is so horrible.
[14:25:25] epochwolf: dminuoso: it's mysql.
[14:26:13] dminuoso: epochwolf: I can understand it though, window functions probably look horribly scary to those idiots who are "kickass LAMP experts"
[14:26:57] epochwolf: dminuoso: what does that P stand for?
[14:27:16] dminuoso: epochwolf: definitely not prolog.
[14:27:24] epochwolf: Perl? (I hope)
[14:27:28] dminuoso: epochwolf: No.
[14:27:41] epochwolf: Dear God... it's not php... please don't say php.
[14:27:48] dminuoso: There's nothing wrong with PHP, as long as you avoid it.
[14:28:01] epochwolf: I have failed to avoid it.
[14:28:26] tbuehlmann: oh boy, really glad I'm too old for language bashing, phew
[14:28:51] epochwolf: tbuehlmann: one is never too old for a good bashing.
[14:29:21] epochwolf: Only too apathetic.
[14:31:21] yigitsadic: has joined #RubyOnRails
[14:33:52] adavia: has joined #RubyOnRails
[14:38:23] DLSteve_: has joined #RubyOnRails
[14:39:04] SteenJobs_: has joined #RubyOnRails
[14:40:36] Sylario: You can always bash JS frameworks
[14:40:58] Sylario: Or even better, cucumber
[14:41:08] alex88: has joined #RubyOnRails
[14:41:13] hotpancakes: has joined #RubyOnRails
[14:41:47] jonjoe: has joined #RubyOnRails
[14:44:25] fox_mulder_cp: Linux, Apache, MySQL, PHP
[14:44:32] doodlehaus: has joined #RubyOnRails
[14:46:38] doodlehaus: has joined #RubyOnRails
[14:49:20] Trynemjoel: has joined #RubyOnRails
[14:51:43] tedwing: Is it possible to destroy a model that has no id attribute?
[14:53:36] kernelPaniq: has joined #RubyOnRails
[14:53:52] Kilo`byte: to my knowledge rails stores in a string if it has been html escaped. How do i make use of that?
[14:54:16] tbuehlmann: tedwing: what do you mean "no id attribute"?
[14:54:20] matthewd: Kilo`byte: How do you want to use it?
[14:54:30] Kilo`byte: ie. how do i 1) tell rails to escape a string if it hasn't been yet and 2) force the 'is escaped' flag to true
[14:55:16] tbuehlmann: Kilo`byte: strings are not html_safe per default but can be set to be html_safe
[14:55:19] matthewd: 1) `h` and 2) `raw` (or `html_safe`)
[14:55:32] Kilo`byte: ah, thanks :D
[14:56:14] tedwing: tbuehlmann: no id column with `id: false` set in the migration
[14:56:22] Or1on: has joined #RubyOnRails
[14:57:01] tedwing: also no primary key
[14:57:23] tercenya: has joined #RubyOnRails
[14:58:03] tetraktys: has joined #RubyOnRails
[14:58:30] tbuehlmann: oh, never done that :)
[14:58:54] marahin: has joined #RubyOnRails
[14:59:12] marahin: has joined #RubyOnRails
[14:59:38] tedwing: yeah, pretty non-standard. I'm beginning to think it wasn't a good idea.
[15:00:18] tbuehlmann: do you have any reason not to have the id column?
[15:00:47] rogue_koder: has joined #RubyOnRails
[15:01:02] epochwolf: I'm a fan of artifical primary keys.
[15:01:35] tedwing: when I created the model I decided I didn't need it, but there's no real reason not to have it
[15:02:52] epochwolf: tedwing: rails isn't happy if there isn't a primary key.
[15:04:11] patarr: has joined #RubyOnRails
[15:05:07] sid_fules: has joined #RubyOnRails
[15:05:39] tetraktys: has joined #RubyOnRails
[15:06:13] tetraktys: Hi guys, how would i go and test if a session variable is set in Capybara?
[15:06:32] epochwolf: tedwing: you shouldn't.
[15:06:39] FastJack: has joined #RubyOnRails
[15:06:41] epochwolf: tetraktys: ^
[15:07:08] Pumukel: has joined #RubyOnRails
[15:07:35] conta: has joined #RubyOnRails
[15:07:43] tedwing: epochwolf: thanks, I had a feeling that was the case. Going to add an id column to that table now.
[15:07:49] tetraktys: epochwolf So I've inherited this legacy code where a guest user has his temporary id set in the session. Is it not possible to write feature specs then?
[15:08:31] epochwolf: tetraktys: not with capybara, use a controller test.
[15:09:04] tetraktys: So there's no way to run the entire user flow through a feature spec
[15:09:12] epochwolf: Or use capybara's selectors to look for html elements that only appear if the temprary id is set.
[15:09:19] Pumukel: has joined #RubyOnRails
[15:09:37] epochwolf: tetraktys: no, capybara executes in a seperate process from the rails server in the test.
[15:09:53] epochwolf: It's not supposed to be able to see inside the application code.
[15:10:14] tetraktys: bollocks, well, thanks for explaining!
[15:10:33] epochwolf: tetraktys: now, there is a hack you can do...
[15:10:55] tercenya: has joined #RubyOnRails
[15:10:59] tetraktys: does it involve the four year old rack_session_access?
[15:11:19] epochwolf: If you put the temporary id in the html, you can look for it. :)
[15:11:39] tetraktys: yeah, i'll consider it. thanks!
[15:12:10] epochwolf: You can check Rails.env.test? in the template so it doesn't appear outside of tests.
[15:12:25] epochwolf: It's ugly but it works.
[15:13:36] matthewd: Capybara executes in the same process
[15:13:52] Trynemjoel: has joined #RubyOnRails
[15:15:26] agent_white: has joined #RubyOnRails
[15:16:14] agent_white: Mornin' folks
[15:16:22] chouhoulis: has joined #RubyOnRails
[15:16:49] cagmz: has joined #RubyOnRails
[15:17:15] epochwolf: matthewd: seperate threads?
[15:17:32] epochwolf: Was it seperate processes in 3.2?
[15:17:44] matthewd: Not that I recall
[15:18:53] Rodya_: has joined #RubyOnRails
[15:21:14] banisterfiend: has joined #RubyOnRails
[15:21:33] artto: has joined #RubyOnRails
[15:27:12] epochwolf: tetraktys: you could try rack_session_access... just be prepared for it not to work since it isn't maintained.
[15:27:54] artto: has joined #RubyOnRails
[15:27:57] tetraktys: i didn't really consider it an option anyway :)
[15:28:19] epochwolf: I looked into the internals and it offends me on a moral level. :D
[15:33:54] dps: Can somebody tell me the best way to deal with relation being empty in a select, i.e. '<%= f.collection_select(:fas_accounts_users_id, @asset.billable_entity.user....' where billable entity may be null?
[15:33:57] dps: I still want to render a blank
[15:34:23] epochwolf: dps: include_blank: true
[15:34:26] envint: has joined #RubyOnRails
[15:34:32] dps: epochwork
[15:34:42] dps: epochwolf
[15:34:45] dps: that does work
[15:35:02] dps: but if @asset.billable_entity is null, then the partial wont render
[15:35:24] epochwolf: dps: for future reference: http://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-collection_select
[15:35:36] dps: yeah i have read the api doc for that
[15:36:33] dps: do you see what i am saying though? i currently have to do this: https://gist.github.com/dsulli99/9c4e88d020e4a1e9fd4d15486522fda2
[15:36:43] dps: in case it is null, which i think is kind of crazy
[15:39:52] epochwolf: <%= fas_accounts_users = @asset.billable_entity.nil? ? [] : @asset.billable_entity.user.fas_accounts_users %>
[15:39:55] epochwolf: <%= f.collection_select(:fas_accounts_users_id, fas_accounts_users, :id, :serialize_details, :include_blank => 'None', hide_label: true, :selected => @asset.fas_accounts_user_id) %>
[15:40:02] epochwolf: Try something like that?
[15:40:39] dps: yeah that looks pretty elegent, let me try that....
[15:40:43] dps: thank you for your help
[15:40:50] dps: ill report back in a few minutes
[15:40:56] kitsuneyo: has joined #RubyOnRails
[15:42:26] kitsuneyo: I'm using an alias_attribute on a model. It renames parent_id as country_id. When I send a bad country_id attribute (e.g. blank attribute), the error message refers to parent_id. Is there a way to make it refer to my alias_attribute, country_id?
[15:43:13] epochwolf: kitsuneyo: change the validation to be on country_id?
[15:45:20] dps: epochwolf: you the man buddy
[15:45:21] artto: has joined #RubyOnRails
[15:46:34] kitsuneyo: epochwolf, that's the answer. I already have one custom validation that proves it works. Thanks.
[15:46:47] pwnd_nsfw`: gonna scoop me some trump stamps
[15:48:50] srinidhi: has joined #RubyOnRails
[15:49:09] shinnya: has joined #RubyOnRails
[15:52:50] kitsuneyo: epochwolf, since parent_id is a belongs_to, Rails requires it automatically. after adding `validates :country_id, presence: true`, i now get an error from parent_id and an error from country_id. how do i nix the parent_id one, without making my belongs_to optional (which seems like overkill)?
[15:55:36] dminuoso: Is there a way to trigger the rails exception handler but not produce a HTTP error 500?
[15:55:37] pLaTo0n: has joined #RubyOnRails
[15:55:48] chopin: has joined #RubyOnRails
[15:56:08] bruce_lee: has joined #RubyOnRails
[15:56:12] matthewd: dminuoso: Which exception handler do you want to trigger?
[15:56:24] dminuoso: matthewd: The regular rails handler, but with HTTP error 422
[15:58:24] dminuoso: matthewd: Or is there a way to invoke the handler with an exception explicitly?
[15:59:04] dminuoso: All I want is my FooError to produce a 422 *and* run through the neat rails error display
[15:59:13] dminuoso: (for development)
[15:59:47] matthewd: ExceptionWrapper rescue_responses
[15:59:57] nettoweb: has joined #RubyOnRails
[16:00:54] matthewd: dminuoso: https://github.com/rails/rails/blob/master/activerecord/lib/active_record/railtie.rb#L19-L24
[16:01:08] dminuoso: matthewd: Ah got it.
[16:01:57] dminuoso: matthewd: Yeah just the moment you mentioned it, I stumbled over this article: http://ieftimov.com/how-rails-handles-status-codes
[16:02:12] sid_fules: has joined #RubyOnRails
[16:03:06] matthewd: Great, so you stumbling took exactly as long as it did for me to find it while knowing exactly what I was looking for [but not what it was called] :P
[16:03:12] cschneid_: has joined #RubyOnRails
[16:03:38] dminuoso: matthewd: Been looking for about half an hour though
[16:03:55] dminuoso: matthewd: mostly through rails code though
[16:05:26] matthewd: It took me actually finding the implementation to then get back to that ^^ AR bit. Before, I was looking for literal status codes.. forgot about the symbols.
[16:09:30] flemish: has joined #RubyOnRails
[16:10:01] dminuoso: matthewd: Heh.
[16:10:06] artto: has joined #RubyOnRails
[16:10:08] railsmagnet: has joined #RubyOnRails
[16:13:39] railsmagnet: when I do a redirect_to home_url, the browser does not redirect https://gist.github.com/jqmtesting/ddda74a5df767acc6d8c5d33c6995c8d
[16:14:00] railsmagnet: I also tried doing redirect_to home_url and return
[16:14:14] artto_: has joined #RubyOnRails
[16:14:18] envint: has joined #RubyOnRails
[16:14:37] railsmagnet: I see the server log show redirection, but the page does not change.
[16:15:17] pLaTo0n: has joined #RubyOnRails
[16:16:57] tercenya: has joined #RubyOnRails
[16:17:32] fryguy: railsmagnet: you want to get rid of the head :ok at the bottom of that
[16:18:10] keerthana: has joined #RubyOnRails
[16:18:43] railsmagnet: okay. I didn't have it earlier and even then the redirection didn't work. Btw, home_url is 'get /user/index'
[16:21:37] dminuoso: matthewd: Mmm I cant seem to get it to work.
[16:22:42] dangerousdave: has joined #RubyOnRails
[16:23:02] dminuoso: matthewd: https://gist.github.com/dminuoso/aea17313a4ecb4bee09f3f91877628ed
[16:23:07] dminuoso: Is there something obviously wrong with what Im doing?
[16:24:02] ych: has joined #RubyOnRails
[16:25:45] ych: hi, i have a standard rails form. now i want to add next to my submit button another button that will send the data to different action (not create) and then in that action the user will be able to submit the object to the create action. i am not sure how to pass the params from new -> different_action and then pass it to create. any ideas?
[16:25:58] ych: it's like some sort of wizard
[16:26:02] zpe: has joined #RubyOnRails
[16:26:38] matthewd: dminuoso: Nothing obvious. I'd probably jump straight to putsing inside the framework to track down what's up.
[16:27:43] envint: has joined #RubyOnRails
[16:28:57] railsmagnet: ych: I think redirect_to someother_action_url, id: '2'
[16:29:52] willardg: has joined #RubyOnRails
[16:29:58] ych: but how would i link the view to the middle controller?
[16:30:19] willardg: has left #RubyOnRails: ()
[16:30:22] ych: railsmagnet: link_to ... , ... links without the params
[16:34:43] davidw: has joined #RubyOnRails
[16:34:44] willardg: has joined #RubyOnRails
[16:35:07] dionysus69: has joined #RubyOnRails
[16:35:13] davidw: I have two different, but fairly close schema.rb files - anyone know of a gem or something to generate a migration to go from A to B?
[16:35:32] brent__: has joined #RubyOnRails
[16:36:53] dminuoso: davidw: are they close enough to diff and handwrite a migration from the diff?
[16:37:08] davidw: dminuoso, that's plan B
[16:37:17] brent__: has joined #RubyOnRails
[16:41:40] zpe: has joined #RubyOnRails
[16:44:21] railsmagnet: any idea why my redirect_to from one controller/action => to anotherController/action is not working ?
[16:44:55] railsmagnet: https://gist.github.com/jqmtesting/ddda74a5df767acc6d8c5d33c6995c8d
[16:45:26] hotpancakes: has joined #RubyOnRails
[16:45:28] SanguineAnomaly: has joined #RubyOnRails
[16:46:55] szulak_: has joined #RubyOnRails
[16:49:37] umdstu: i'm getting an uninitialized constant error for a class I have in /lib/ (path has been added to autoload path). I'm using the class inside another class
[16:50:18] matthewd: umdstu: How are you adding the path?
[16:51:02] umdstu: matthewd: config.autoload_paths += %w(#{Rails.root}/lib) in application.rb
[16:51:28] envint: has joined #RubyOnRails
[16:51:34] matthewd: Okay, and does the filename match the constant name?
[16:51:44] matthewd: What's your rails version, and which environment is this happening in?
[16:51:46] umdstu: if i use the ClassName.function I get uninitialized constant ParentClassName::ClassName. if i use the ::ClassName.function I get uninitialized constant ClassName
[16:52:22] umdstu: matthewd: filename is class_name.rb, classname is ClassName, they match though
[16:52:45] matthewd: The file is directly in lib/, not in a subdirectory?
[16:53:01] umdstu: matthewd: rails 5, dev env
[16:53:02] dminuoso: umdstu: Is that constant nested?
[16:53:14] dminuoso: umdstu: i.e. did you throw it into some module/class?
[16:53:18] umdstu: dminuoso: No
[16:53:44] matthewd: Do you have any unusual settings, like autoloading/reloading turned off in dev?
[16:54:07] umdstu: no. but i should also note, that class_name.rb has two classes in it, not nested
[16:54:30] matthewd: But the one that's failing is the one that matches the filename
[16:54:36] Cache_Money: has joined #RubyOnRails
[16:54:42] umdstu: matthewd: correct
[16:55:46] umdstu: matthewd: re: your previous question, eager_load is false in dev, but nothing about autoloading
[16:56:58] matthewd: Hmm... all sounding reasonable, then
[16:57:06] matthewd: It works if you manually require the file?
[16:58:00] kernelPaniq: has joined #RubyOnRails
[16:58:49] sid_fules: has joined #RubyOnRails
[16:58:52] tercenya: has joined #RubyOnRails
[16:59:09] umdstu: matthewd: had to check. yes it works if i require it above the class i'm using it in
[17:00:33] matthewd: Have you restarted your application since adding lib to autoload?
[17:00:51] matthewd: Or, is that new? Is there other stuff in lib/ that's autoloading correctly?
[17:01:59] umdstu: I have restarted multiple times. the file is new though
[17:02:08] sid_fules: has joined #RubyOnRails
[17:02:18] umdstu: let me check if when i restart, it's actually restarting puma
[17:02:30] matthewd: Is having lib/ in autoload_paths new?
[17:02:56] umdstu: matthewd: no it's been in there. i have other classes in there
[17:03:21] dpsk: has joined #RubyOnRails
[17:03:51] umdstu: do i need to make it a module instead of a class ?
[17:04:38] matthewd: If you introduce a syntax error in the file, is it getting loaded at all?
[17:04:58] envint: has joined #RubyOnRails
[17:05:03] umdstu: add an error, but remove the require?
[17:06:36] umdstu: how can i tell if it loaded
[17:07:06] matthewd: The theory was if you've introduced a sufficiently blatant error, it should fail if it's trying to load
[17:07:33] Exuma: has joined #RubyOnRails
[17:07:35] umdstu: starting the server should fail? yea it chugged along.
[17:07:48] umdstu: i had tossed the letter s on a line
[17:07:50] gusrub: has joined #RubyOnRails
[17:08:27] davidw: has joined #RubyOnRails
[17:08:34] matthewd: So with that error in there, you still get the constant error, not something about the s?
[17:09:16] tercenya: has joined #RubyOnRails
[17:09:22] matthewd: Okay... move the file to app/models
[17:10:04] asheinfeld: has joined #RubyOnRails
[17:11:19] Exuma: I'm using a custom .from() clause... and rails is eager loading EVERY record if the result set is blank. I think this might be a bug
[17:11:21] zpe: has joined #RubyOnRails
[17:11:42] fox_mulder_cp: i want create has many and belongs to in 'registry partners' and 'domain zone' relation, but when i try use RegistryPartner.first.domain_zones i see, that 'domain_zones_registry_partners' not exists, and when i try to use DomainZone.first.registry_partners i see that 'registry_partners_domain_zones' not found too. where i mistake?
[17:13:01] samdvr: has joined #RubyOnRails
[17:13:06] umdstu: matthewd: that worked
[17:13:55] fox_mulder_cp: i write in RegistryPartner model : has_and_belongs_to_many :domain_zones, :through => :registry_partners_domain_zones
[17:14:01] matthewd: Hmm.. I'm not sure I have a theory to match that result :P
[17:15:06] matthewd: Suggests there's something up with lib/, but as you have other things in there that are working... :/
[17:15:28] fox_mulder_cp: where registry_partners_domain_zones -> my RegistryPartnersDomainZones class
[17:15:59] umdstu: matthewd: yea it's wonky
[17:16:12] umdstu: whatever. i'll deal with it later if i remember. just need to have it work for now :)
[17:21:17] SteenJobs_: has joined #RubyOnRails
[17:22:15] fox_mulder_cp: I'm hungry and sad
[17:22:33] dminuoso: matthewd: Heh. I found the issue.. it was a bit hard to find. Had another rescue_from handler that took precedence.
[17:22:49] fox_mulder_cp: how properly create A <-> B many to many relations via external table
[17:22:57] matthewd: heh, that'll do it :)
[17:23:59] envint: has joined #RubyOnRails
[17:24:08] fox_mulder_cp: DomainZone.first.registry_partners.all -> RegistryPartner::ActiveRecord_AssociationRelation:0x2abf95c4a8b8
[17:26:08] ProofTechnique: has joined #RubyOnRails
[17:26:20] conta: has joined #RubyOnRails
[17:27:35] tercenya: has joined #RubyOnRails
[17:28:51] fox_mulder_cp: sql fails on inner join, if i try to execute thiis query at rails db
[17:33:44] SteenJobs_: has joined #RubyOnRails
[17:37:20] djbkd: has joined #RubyOnRails
[17:41:53] mochiyoda_: has joined #RubyOnRails
[17:42:07] dminuoso: fox_mulder_cp: What do you use for notifications?
[17:42:20] dminuoso: react-toastr?
[17:42:23] fox_mulder_cp: dminuoso: notifications where?
[17:42:27] dminuoso: fox_mulder_cp: Wait..
[17:42:34] dminuoso: fox_mulder_cp: Aren't you the other react person?
[17:42:38] dminuoso: The russian? :S
[17:42:49] cnk: has joined #RubyOnRails
[17:42:51] dminuoso: ACTION scratches his head
[17:43:30] fox_mulder_cp: dminuoso: russian - is a bad country, which jnow have a agression for my country now. i'm from Ukraine
[17:43:36] envint: has joined #RubyOnRails
[17:43:40] samdvr: has joined #RubyOnRails
[17:43:51] dminuoso: That's like the same thing.
[17:43:53] fox_mulder_cp: dminuoso: i use ant.design ui framework for my react app
[17:44:02] dminuoso: fox_mulder_cp: Heh.
[17:44:07] dminuoso: fox_mulder_cp: Okay.
[17:44:16] fox_mulder_cp: it have a some notifying options :)
[17:44:18] dminuoso: Yeah I handmold my application.
[17:44:31] fox_mulder_cp: try to use ant - it used by alibaba :)
[17:44:46] dminuoso: fox_mulder_cp: Already subscribed to doing it manually, I prefer it.
[17:44:59] dminuoso: fox_mulder_cp: I dislike losing control and having something that is completely magical and a blackbox like Angular1
[17:45:12] fox_mulder_cp: dminuoso: by the way - do u set up rails app + action cable and react frontend connections?
[17:45:31] dminuoso: fox_mulder_cp: No, I dont need websockets.
[17:45:41] dminuoso: Well a few things it would be useful for, but Im doing polling instead.
[17:47:28] fox_mulder_cp: dminuoso: i already use redis as cache for pgsql + AMS, but websockets very intresting for me. so, if u found good blog post for Rails +AC + react - you know how find me )
[17:47:44] fox_mulder_cp: dminuoso: some days ago i share here my app screens :)
[17:48:10] fox_mulder_cp: oh. i need go home now. SYL
[17:48:56] alex88: has joined #RubyOnRails
[17:49:01] samdvr: has joined #RubyOnRails
[17:51:21] sid_fules: has joined #RubyOnRails
[17:54:42] rgiscard: has joined #RubyOnRails
[17:57:04] iliketurtles: has joined #RubyOnRails
[17:59:01] lxsameer: has joined #RubyOnRails
[17:59:07] tildes_: has joined #RubyOnRails
[18:01:20] bungoman_: has joined #RubyOnRails
[18:02:14] willardg: has joined #RubyOnRails
[18:04:14] gusrub: has joined #RubyOnRails
[18:04:31] brent__: has joined #RubyOnRails
[18:09:18] gusrub: has joined #RubyOnRails
[18:26:18] hahuang65: has joined #RubyOnRails
[18:35:13] artto: has joined #RubyOnRails
[18:36:39] zpe: has joined #RubyOnRails
[18:36:49] Jasaka: has joined #RubyOnRails
[18:36:59] tercenya: has joined #RubyOnRails
[18:39:47] keerthana: has joined #RubyOnRails
[18:40:13] Andr3as: fwiw - yesterday i experienced an issue with a form but didnt know where to look at... here's a screenshot of it before i press signup and after i press it (below) http://bit.ly/2mpx9aW
[18:40:17] rakesh_verma: has joined #RubyOnRails
[18:40:27] Andr3as: i am using the foundation framework
[18:40:39] Andr3as: today i figured out what the issue was
[18:41:37] hotpancakes: has joined #RubyOnRails
[18:41:48] Andr3as: rails wraps fields with errors into a div with the class .flied_with_errors - as i was using input-groups this spoiled the width setting somewhat
[18:42:16] Andr3as: to fix this, add a "width: 100%" for ".field_with_errors" into your css
[18:42:34] dionysus69: has joined #RubyOnRails
[18:44:51] hahuang61: has joined #RubyOnRails
[18:44:51] Omnilord: has joined #RubyOnRails
[18:46:43] amritoit: has joined #RubyOnRails
[18:46:51] thomashickey: has joined #RubyOnRails
[18:47:24] duderonomy: has joined #RubyOnRails
[18:47:44] HoierM: has joined #RubyOnRails
[18:51:14] brent__: has joined #RubyOnRails
[18:51:37] brent__: has joined #RubyOnRails
[18:54:25] envint: has joined #RubyOnRails
[18:57:14] patarr1: has joined #RubyOnRails
[18:58:42] fox_mulder_cp: dminuoso: can u describe your app? or NDA?
[18:58:43] NoGodDamnIdea: has joined #RubyOnRails
[18:59:25] gambl0re: has joined #RubyOnRails
[18:59:39] keegnotrub: has joined #RubyOnRails
[18:59:47] arBmind: has joined #RubyOnRails
[19:01:39] fox_mulder_cp: so, i create my join table from two models. but how i can create linked properties?
[19:02:36] cnk: what are 'linked properties'?
[19:03:19] envint: has joined #RubyOnRails
[19:03:22] Kilo`byte: before i spend hours googling, how would i get rails to cause a certain error code when a specific exception is thrown
[19:03:54] Kilo`byte: like mapping a custom PermissionDeniedError to a 403
[19:04:43] chouhoulis: has joined #RubyOnRails
[19:05:58] fox_mulder_cp: cnk: I have a Registrator model, and Domain zone (uniq by name, such as '.org'). One registrator can have some domain zones, and domain zones can have some registrators too. but i need place, which i can save Domain zone prices (register, renew) linked to registrator
[19:06:01] cnk: Kilo`byte: that is kind of a muddy description. Could you be more specific about how you want things to behave
[19:06:49] Kilo`byte: i have a 'raise PermissionDenied' in my controller. I want rails to convert that into a 403 and then serve that from /403
[19:06:54] fox_mulder_cp: Kilo`byte: render json: @item, status: :ok, :gone, etc
[19:07:18] Kilo`byte: fox_mulder_cp: why would i render json
[19:07:21] artto: has joined #RubyOnRails
[19:07:22] Kilo`byte: i am not making an api
[19:07:25] cnk: Kilo`byte: pretty sure Rails alreayd turns that into a 403
[19:07:31] fox_mulder_cp: Kilo`byte: http://stackoverflow.com/questions/8890351/return-a-specific-http-status-code-in-rails
[19:08:10] Kilo`byte: cnk: for an exception that does not exist?
[19:08:14] Kilo`byte: in rails that is
[19:08:16] WaffleZone: has joined #RubyOnRails
[19:08:30] cnk: fox_mulder_cp: That sounds like a related model trying to emerge. I would make a name for that thing, Prices or whatever, and then related domain and resitrator to it
[19:08:43] cnk: PermissionDenied exists doesn't it?
[19:08:56] fox_mulder_cp: Kilo`byte: i use some like this: raise Pundit::NotAuthorizedError unless @item
[19:08:57] Kilo`byte: i haven't seen any
[19:09:22] Kilo`byte: that class does not exist for me either
[19:09:27] OldN0rse: has joined #RubyOnRails
[19:09:31] fox_mulder_cp: chk i think, that i don't attach some data for my domain zone and registrator table?
[19:09:42] fox_mulder_cp: Kilo`byte: it's a pundit
[19:10:23] cnk: Kilo`byte: What I have done was create controller methods in my application_controller that made the error responses
[19:10:50] Kilo`byte: hmm, i thought you could tell rails to serve a specific exception as a certain error code
[19:10:57] cnk: e.g. have a method permission_denied that returns the 403 and the page you want
[19:11:00] Kilo`byte: might spend some more time later with google
[19:11:27] Kilo`byte: cnk: downside of that is that you still have to use return in your controller
[19:11:45] Kilo`byte: or it might end up modifying a dataset that you didn't have permission for
[19:11:51] fox_mulder_cp: Kilo`byte: i use pundit for authorizing operation for item with scoping - as example - when u make def index, return Post.all; end it returns only posts, where you are author
[19:12:07] cnk: Kilo`byte: https://gist.github.com/cnk/e936caaf335521d0c39cebfc45229a82
[19:12:43] cnk: I have actually seen an example like what yoyy want, but I don't recall where
[19:12:46] szulak: has joined #RubyOnRails
[19:12:50] cnk: check RailsTutorial
[19:13:56] cnk: if not there, try Rails in Action for rails 4
[19:14:43] helpa: Rails 4 in Action - http://manning.com/bigg2 - An excellent book combining Rails and TDD/BDD development. Written by Rebecca Skinner, Steve Klabnik, Ryan Bigg, Yehuda Katz
[19:14:53] fox_mulder_cp: Kilo`byte: also u can read agile development with rails 4 too
[19:16:27] nyaa: has joined #RubyOnRails
[19:16:56] eclecticjohny: has joined #RubyOnRails
[19:17:16] Aherin: has joined #RubyOnRails
[19:17:43] WaffleZone: has left #RubyOnRails: ("Leaving")
[19:19:54] WaffleZone: has joined #RubyOnRails
[19:20:33] WaffleZone: has left #RubyOnRails: ()
[19:21:07] WaffleZone: has joined #RubyOnRails
[19:21:09] dps: has joined #RubyOnRails
[19:21:19] hahuang65: has joined #RubyOnRails
[19:21:28] apotry: has joined #RubyOnRails
[19:21:34] nyanz: has joined #RubyOnRails
[19:22:17] WaffleZone: has joined #RubyOnRails
[19:22:21] dpsk: has joined #RubyOnRails
[19:22:24] arBmind: has joined #RubyOnRails
[19:24:09] mwlang: has joined #RubyOnRails
[19:24:47] mwlang: Does anyone know what Class: ActiveSupport::ProxyObject is useful for? All the docs say is: “Overview: A class with no predefined methods that behaves similarly to Builder's BlankSlate. Used for proxy classes.”
[19:29:47] mwlang: so I go looking for Builder’s Blank slate and I’m now even less enlightened — a lot of time and expense “hiding” methods in the class: https://github.com/masover/blankslate/blob/master/lib/blankslate.rb
[19:30:14] WaffleZone: has joined #RubyOnRails
[19:35:01] hotpancakes: has joined #RubyOnRails
[19:36:12] mwlang: ah, makes more sense now with this blog post: https://simonecarletti.com/blog/2010/05/understanding-ruby-and-rails-proxy-patter-delegation-and-basicobject/
[19:37:42] ariedler: has joined #RubyOnRails
[19:39:31] willardg: has joined #RubyOnRails
[19:40:58] mochiyoda_: has joined #RubyOnRails
[19:41:02] jphase: has joined #RubyOnRails
[19:42:37] pulkit4tech: has joined #RubyOnRails
[19:43:50] willardg: I know there isn't a image_tag_if but is there anything similar that anyone can think of? I'm trying to show icons with links if a user has a link for that social media site stored.
[19:45:21] willardg: https://gist.github.com/anonymous/1c6ac59d65ddab42ba6930fc7606072f
[19:46:11] willardg: Sorry, I made a gist of the wrong thing. https://gist.github.com/anonymous/c825a1e0cb639d9e96231f9d8063e86b
[19:46:57] cnk: I have done something like that by adding a css class based on the domain - and then added the icons via css::before
[19:47:43] willardg: I guess I could use css to hide it.
[19:48:01] tomasm-: has joined #RubyOnRails
[19:48:19] willardg: I would really prefer that the erb just not even let it get that far, but what your saying would probably work. thanks.
[19:52:41] davidw: has joined #RubyOnRails
[19:54:32] pur3eval: has joined #RubyOnRails
[19:58:03] patarr: has joined #RubyOnRails
[20:02:06] doodlehaus: has joined #RubyOnRails
[20:07:48] chouhoulis: has joined #RubyOnRails
[20:10:16] DoctorMonocular: has joined #RubyOnRails
[20:10:38] DoctorMonocular: has joined #RubyOnRails
[20:17:26] Silox|: has joined #RubyOnRails
[20:17:28] pabloh: has joined #RubyOnRails
[20:17:53] nyaa: has joined #RubyOnRails
[20:17:54] Silox|: Would anyone happen to know why Sendmail takes minutes to send an email? I, [2017-03-10T20:15:20.208399 #4910] INFO -- : Sent mail to X (120103.3ms)
[20:18:26] epochwolf: Silox|: what mailserver do you have installed?
[20:18:33] Silox|: Regular sendmail
[20:18:35] Silox|: I guess it's the server
[20:18:41] Silox|: sending directly from sendmail hangs 2 minuutes too
[20:18:46] Silox|: I'll contact the hosting :)
[20:18:58] epochwolf: Silox|: I would guess you don't have any mail server installed and you're just waiting for smtp to send remotely.
[20:19:38] epochwolf: Because anyone actually using the sendmail server in 2017 needs to be shot.
[20:19:50] Silox|: Nah, it responds: 250-eddy Hello localhost [127.0.0.1], pleased to meet you
[20:20:11] epochwolf: Silox|: it takes 2 minutes to sent through localhost?
[20:20:26] epochwolf: How long does it take for telnet to connect?
[20:20:34] Silox|: about 40 seconds
[20:20:41] epochwolf: on local host?
[20:20:47] Silox|: Well, it's a container
[20:20:58] Silox|: Vultr cheap one
[20:21:03] Silox|: so that might be the cause :P
[20:21:20] epochwolf: Yeah. Call me when you get a real server.
[20:21:21] Silox|: Anyway, sendmail does the job (on other servers), I don't see why I should switch
[20:21:29] Silox|: It's a small app :)
[20:21:41] epochwolf: Then background the email or upgrade the hosting.
[20:23:35] tercenya: has joined #RubyOnRails
[20:23:51] Silox|: Vultr blocks sendmail ports, you need to contact support to open them up
[20:23:53] Silox|: So that'll be the cause :)
[20:24:31] envint: has joined #RubyOnRails
[20:25:12] Silox|: Pretty happy with Vultr for now
[20:25:22] Silox|: Fast and cheap
[20:25:36] Silox|: disabling smtp ports seems fine too, don't want people to run a rogue mailserver for a bit and then search another victim
[20:26:31] rakesh_verma: has joined #RubyOnRails
[20:26:47] defsdoor: has joined #RubyOnRails
[20:28:34] eclecticjohny: has joined #RubyOnRails
[20:28:53] tercenya: has joined #RubyOnRails
[20:30:11] envint: has joined #RubyOnRails
[20:31:15] chouhoul_: has joined #RubyOnRails
[20:34:46] envint: has joined #RubyOnRails
[20:35:24] tildes_: has joined #RubyOnRails
[20:37:12] thomashickey: has joined #RubyOnRails
[20:39:08] dmin7b5: has joined #RubyOnRails
[20:39:12] xaviergmail: has joined #RubyOnRails
[20:39:54] envint: has joined #RubyOnRails
[20:42:17] knight33: has joined #RubyOnRails
[20:42:28] srinidhi: has joined #RubyOnRails
[20:45:49] hotpanca_: has joined #RubyOnRails
[20:50:33] Omnilord: has joined #RubyOnRails
[20:57:48] patarr: has joined #RubyOnRails
[20:59:38] nyanz: has joined #RubyOnRails
[21:06:30] eclecticjohny: has joined #RubyOnRails
[21:15:35] pur3eval: has joined #RubyOnRails
[21:16:05] fourcolors: has joined #RubyOnRails
[21:25:58] patarr: has joined #RubyOnRails
[21:31:49] szulak: has joined #RubyOnRails
[21:36:04] envint: has joined #RubyOnRails
[21:36:33] oryman: has joined #RubyOnRails
[21:36:59] HoierM: has joined #RubyOnRails
[21:37:02] davidw: has left #RubyOnRails: ("Leaving")
[21:46:59] djbkd: has joined #RubyOnRails
[21:47:18] andrevan: has joined #RubyOnRails
[21:48:02] banisterfiend: has joined #RubyOnRails
[21:49:47] envint: has joined #RubyOnRails
[21:55:10] djbkd: has joined #RubyOnRails
[21:57:45] envint: has joined #RubyOnRails
[22:03:34] djbkd: has joined #RubyOnRails
[22:19:34] sid_fules: has joined #RubyOnRails
[22:27:24] Trynemjoel: has joined #RubyOnRails
[22:27:57] arBmind: has joined #RubyOnRails
[22:31:16] pur3eval: has joined #RubyOnRails
[22:33:14] zvonimir: has joined #RubyOnRails
[22:35:34] zvonimir45: has joined #RubyOnRails
[22:37:33] bga57: has joined #RubyOnRails
[22:42:12] KnownSyntax_: has joined #RubyOnRails
[22:45:56] defsdoor: has joined #RubyOnRails
[22:46:51] djbkd: has joined #RubyOnRails
[22:50:40] zvonimir45: has joined #RubyOnRails
[22:51:46] Jasaka: has joined #RubyOnRails
[22:54:02] zvonimir45: Anybody combine RoR and Bluehost shared?
[22:57:16] zvonimir45: has joined #RubyOnRails
[22:58:26] zvonimir45: I'm new here.
[22:59:15] zvonimir45: And, don,t know how to start a chat.
[22:59:18] fox_mulder_cp: zvonimir45: it's a your real name, or nick? )
[22:59:43] zvonimir45: name Zvonimir
[23:00:40] fox_mulder_cp: seems like slavic name
[23:01:07] zvonimir45: Yes, Croatia, Rijeka
[23:04:09] tvw: has joined #RubyOnRails
[23:04:47] zvonimir45: I learn RoR and am trying to do something useful.
[23:06:32] zvonimir45: What's yours experience with RoR?
[23:09:28] fox_mulder_cp: zvonimir45: mmm. last ~2 years i write my own applications hosting control panel. so, if u want learn rails - read rails 4 in actions and agile development with rails 4
[23:13:38] zvonimir45: Exellent books.
[23:15:20] zvonimir45: I combine now cloud9 and Bluehost.
[23:16:38] mal_misbehaving: has joined #RubyOnRails
[23:17:00] rgiscard: has joined #RubyOnRails
[23:17:31] zvonimir45: It is terrible today to work with Ruby 1.9.3 and Rails 3.2.13.
[23:17:56] fox_mulder_cp: zvonimir45: ruby 2.4 + rails 5
[23:17:56] mal_misbehaving: Testing, testing...
[23:18:23] fox_mulder_cp: zvonimir45: 1.9 ruby unsupported, rails 3/4 too
[23:19:50] zvonimir45: But, on Bluehost is it possible only 1.9.3 + 3.2.13 in shared option.
[23:21:06] zvonimir45: My subscription on Bluehost will expire in October.
[23:23:10] zvonimir45: Do you work commercially with RoR or learning / playing.
[23:26:32] zvonimir45: Do you have hosting service?
[23:31:13] pawnbox: has joined #RubyOnRails
[23:32:03] pur3eval: has joined #RubyOnRails
[23:37:39] zvonimir45: My first attempt to do something useful with RoR is the site http://eproject4you.yourrof.com/
[23:39:32] xaviergmail: has joined #RubyOnRails
[23:40:52] pwnd_nsfw`: zvonimir45, I'm not sure what I'm looking at immediately
[23:41:08] pwnd_nsfw`: Oh, I sorta see
[23:43:36] zvonimir45: Nothing special, but, developed on cloud9, deployed on Bluehost.
[23:47:11] tetraktys: has joined #RubyOnRails
[23:51:26] Semtex-H: has joined #RubyOnRails
[23:52:52] pwnd_nsfw`: '"Serverless" is one of the more recent buzz words in the tech industry'
[23:55:30] jhack: has joined #RubyOnRails
[23:55:31] jhack: has joined #RubyOnRails
[23:57:16] cschneid_: has joined #RubyOnRails
[23:57:30] meoblast001: has joined #RubyOnRails