« Back to channel list

#RubyOnRails - 01 September 2018

« Back 1 day Forward 1 day »
[00:03:03] akaiiro: has joined #RubyOnRails
[00:11:20] apeiros: has joined #RubyOnRails
[00:14:44] akaiiro7: has joined #RubyOnRails
[00:23:59] ebsen: has joined #RubyOnRails
[00:25:04] Puffball: has joined #RubyOnRails
[00:28:35] lxsameer: has joined #RubyOnRails
[00:29:10] ephemer0l: has joined #RubyOnRails
[00:40:12] ivanskie: has joined #RubyOnRails
[00:40:20] apeiros: has joined #RubyOnRails
[00:42:35] jane_booty_doe: has joined #RubyOnRails
[00:52:39] Dimik: has joined #RubyOnRails
[00:56:54] DTZUZO: has joined #RubyOnRails
[01:01:17] Puffball: has joined #RubyOnRails
[01:02:55] alexandrino: has joined #RubyOnRails
[01:06:22] apeiros: has joined #RubyOnRails
[01:32:20] apeiros: has joined #RubyOnRails
[01:54:29] apeiros: has joined #RubyOnRails
[02:16:29] apeiros: has joined #RubyOnRails
[02:25:07] lessless_: has joined #RubyOnRails
[02:29:15] lxsameer: has joined #RubyOnRails
[02:33:27] lessless_: has joined #RubyOnRails
[02:40:44] lessless_: has joined #RubyOnRails
[02:45:34] apeiros: has joined #RubyOnRails
[02:48:35] safetypin: has joined #RubyOnRails
[03:04:12] Technodrome: has joined #RubyOnRails
[03:09:22] braincrash: has joined #RubyOnRails
[03:18:13] apeiros: has joined #RubyOnRails
[03:21:30] orbyt_: has joined #RubyOnRails
[03:33:55] LiftLeft: has joined #RubyOnRails
[03:52:15] dviola: has joined #RubyOnRails
[03:53:36] LiftLeft: has joined #RubyOnRails
[03:56:46] jenenliu: has joined #RubyOnRails
[04:14:41] Saukk: has joined #RubyOnRails
[04:17:35] kotepillar_: has joined #RubyOnRails
[04:23:39] LiftLeft: has joined #RubyOnRails
[04:29:52] lxsameer: has joined #RubyOnRails
[04:54:47] kotepillar_: has joined #RubyOnRails
[05:06:23] ivanskie: has joined #RubyOnRails
[05:07:47] kotepillar_: has joined #RubyOnRails
[06:03:25] jenenliu: has left #RubyOnRails: ("ERC (IRC client for Emacs 27.0.50)")
[06:14:10] Dbugger: has joined #RubyOnRails
[06:15:33] reber: has joined #RubyOnRails
[07:05:57] lessless_: has joined #RubyOnRails
[07:21:00] louvre: has joined #RubyOnRails
[07:34:30] dionysus69: has joined #RubyOnRails
[07:52:25] tpendragon: has joined #RubyOnRails
[07:58:08] lexileo: has joined #RubyOnRails
[07:59:10] sameerynho: has joined #RubyOnRails
[08:13:17] apeiros: has joined #RubyOnRails
[08:26:47] duderonomy: has joined #RubyOnRails
[08:28:18] conta1: has joined #RubyOnRails
[08:39:52] srinidhi: has joined #RubyOnRails
[08:47:37] uks: has joined #RubyOnRails
[08:57:45] desperek: has joined #RubyOnRails
[08:58:34] mikecmpbll: has joined #RubyOnRails
[09:07:00] mikecmpbll: has joined #RubyOnRails
[09:10:50] gambl0re: has joined #RubyOnRails
[09:14:36] jenenliu: has joined #RubyOnRails
[09:14:51] mikecmpb_: has joined #RubyOnRails
[09:15:29] jenenliu: hi, newbie here, I am trying to install rails 5.2.0, but I can't do it successfully, this is the command I run
[09:15:37] jenenliu: rvm use 2.5.0
[09:15:44] jenenliu: gem install bundler
[09:15:49] jenenliu: gem install rails -v 5.2.0
[09:16:03] jenenliu: and everything is ok, but when I run 'rails -v', there is an error
[09:16:17] jenenliu: home/jenenliu/.rvm/rubies/ruby-2.5.0/lib/ruby/site_ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem railties (>= 0.a) with executable rails (Gem::GemNotFoundException)
[09:16:47] jenenliu: I try google, but can't figure out, can someone help ? thanks in advance
[09:17:51] jenenliu: https://paste.ubuntu.com/p/VphYGgcPHG/
[09:18:03] jenenliu: this is the detail command output
[09:30:51] LambdaSource: has joined #RubyOnRails
[09:35:23] jenenliu: my os is ArchLinux
[10:02:13] FernandoBasso: has joined #RubyOnRails
[10:16:04] quazimodo: has joined #RubyOnRails
[10:17:41] DTZUZO: has joined #RubyOnRails
[10:38:39] gerep: has joined #RubyOnRails
[10:39:51] gerep: Using "grouped_collection_select(:city, :country_id, @continents, :countries, :name, :id, :name)", is it possible to limit the :countries that are shown?
[10:41:05] gerep: My user is limited to just a few countries, not all. In my controller I can get the list of available countries like : current_users.countries
[10:45:28] gerep: I tried sending the countries names in a list like ["Australia", "Brazil", "Ireland"] (those are the ones allowed for the current user) but I get this error: is not a symbol nor a string
[10:46:57] LambdaSource: has joined #RubyOnRails
[11:09:08] lessless_: has joined #RubyOnRails
[11:18:41] lankanmon: has joined #RubyOnRails
[11:51:50] kapil___: has joined #RubyOnRails
[12:45:35] NoGodDamnIdea: has joined #RubyOnRails
[12:49:12] GodFather: has joined #RubyOnRails
[12:54:22] dionysus69: has joined #RubyOnRails
[12:59:20] gambl0re: has joined #RubyOnRails
[13:01:25] fmcgeough: has joined #RubyOnRails
[13:09:04] lessless_: has joined #RubyOnRails
[13:34:39] josefhovad: has joined #RubyOnRails
[13:40:45] Saukk: has joined #RubyOnRails
[13:44:20] josefhovad: Hi there. I have app with three namespaces for three user roles. I would like to use one layout, but different sidebar. My idea is to have something <%= yield :sidebar %> in the layout ... and then in main controller of each namespace send the particular partial of sidebar into this area of the layout. Anyway I'm not able to find how to do it and it's probably not the Rails way. Can you hint me how to have only one layout for whole app and three
[13:44:21] josefhovad: different sidebars for each namespace?
[14:00:01] fmcgeough: has joined #RubyOnRails
[14:04:23] jackhum: has joined #RubyOnRails
[14:14:35] Xiti: has joined #RubyOnRails
[14:17:09] mjacob: has joined #RubyOnRails
[14:20:47] mjacob: i'm writing a spec for a helper that checks some specific path_parameter. i could modify controller.request.path_parameters, but instead i'd like to set some URL and have controller.request.path_parameters automatically set. is there a way to do this easily?
[14:22:44] josefhovad: has left #RubyOnRails: ()
[15:08:07] lessless_: has joined #RubyOnRails
[15:08:13] rodd: Morning. I've created a many-to-many relationship using through as described here https://guides.rubyonrails.org/association_basics.html#choosing-between-has-many-through-and-has-and-belongs-to-many and rails/activerecord created each entity field representation in the join table in plural, "places_id" and "categories_id". Is that the normal behavior? inflector kicking in?
[15:09:11] rodd: I ask because when I try to create an association when creating a record using attributes, it gives: POST /places ... error: unknown attribute "place_id" for CategoriesPlaces
[15:16:02] conta1: has joined #RubyOnRails
[15:20:39] LambdaSource: has joined #RubyOnRails
[15:27:40] jammanbo: has joined #RubyOnRails
[15:37:29] lessless_: has joined #RubyOnRails
[15:39:00] jammanbo: Anyone have experience making a Devise/Warden failure app that maintains the subdomain of the attempted path and uses it when redirecting back after successful login?
[16:09:27] orbyt_: has joined #RubyOnRails
[16:13:20] pLaTo0n: has joined #RubyOnRails
[16:13:22] Technodrome: has joined #RubyOnRails
[16:25:25] apeiros__: has joined #RubyOnRails
[16:39:18] reber: has joined #RubyOnRails
[16:47:26] reber: has joined #RubyOnRails
[16:53:03] lomex: has joined #RubyOnRails
[16:56:54] Dimik: has joined #RubyOnRails
[17:07:15] reber: has joined #RubyOnRails
[17:12:31] roshanavand: has joined #RubyOnRails
[17:16:25] lomex: has joined #RubyOnRails
[17:21:16] LightStalker: has joined #RubyOnRails
[17:23:51] reber: has joined #RubyOnRails
[17:25:52] Nuru: has joined #RubyOnRails
[17:28:28] LambdaSource: has joined #RubyOnRails
[17:31:51] ariedler: has joined #RubyOnRails
[17:32:48] kapil___: has joined #RubyOnRails
[17:50:29] KeyJoo: has joined #RubyOnRails
[18:00:49] nemesit|znc: has joined #RubyOnRails
[18:02:10] xMopx: has joined #RubyOnRails
[18:02:19] lupine: has joined #RubyOnRails
[18:02:36] umpc: has joined #RubyOnRails
[18:18:58] matthewd: has joined #RubyOnRails
[18:33:12] Applitect: has joined #RubyOnRails
[18:36:02] Applitect: So I'm working with a client's database and I've found that one of the fields in one of the tables is using the reserved word "attributes". Unfortunately, it would require a large amount of work to change the table name and recode the site to accept the new column name. Is there anything I can do in the Model to get around this??
[18:36:57] Applitect: A large majority of the application is built on PHP. But we're trying to move it to Rails section by section.
[18:37:28] Applitect: The current error I'm getting is.. "`instance_method_already_implemented?': attributes is defined by Active Record. Check to make sure that you don't have an attribute or method with the same name. (ActiveRecord::DangerousAttributeError)"
[18:55:58] Silver-fox: has joined #RubyOnRails
[18:58:44] ariedler: has joined #RubyOnRails
[19:45:52] musicnode: has joined #RubyOnRails
[19:49:59] akaiiro7: has joined #RubyOnRails
[20:04:21] snickers: has joined #RubyOnRails
[20:08:07] reber__: has joined #RubyOnRails
[20:23:56] Technodrome: has joined #RubyOnRails
[20:29:14] DTZUZO: has joined #RubyOnRails
[20:46:18] rodd: regardind my question earlier today, I messed up in my migrations and used plural in t.belongs_to
[20:59:49] ariedler: has joined #RubyOnRails
[21:12:04] Technodrome: has joined #RubyOnRails
[21:24:36] lomex: has joined #RubyOnRails
[21:41:41] Technodrome: has joined #RubyOnRails
[21:54:50] jottr: has joined #RubyOnRails
[22:11:56] neomindryan: has joined #RubyOnRails
[22:13:07] jane_booty_doe: has joined #RubyOnRails
[22:31:43] jottr: has joined #RubyOnRails
[23:06:25] jottr: has joined #RubyOnRails
[23:08:13] ellcs: has joined #RubyOnRails
[23:11:08] dviola: has joined #RubyOnRails
[23:45:11] Technodrome: has joined #RubyOnRails