« Back to channel list

#RubyOnRails - 31 December 2017

« Back 1 day Forward 1 day »
[00:38:55] JusticeFries: has joined #RubyOnRails
[00:43:06] JusticeFries: has joined #RubyOnRails
[00:46:12] mtkd: has joined #RubyOnRails
[00:47:23] darkhanb_: has joined #RubyOnRails
[00:59:11] JusticeFries: has joined #RubyOnRails
[01:10:00] alfiemax: has joined #RubyOnRails
[01:38:16] alfiemax: has joined #RubyOnRails
[01:50:28] zwliew: has joined #RubyOnRails
[02:13:27] fryguy: has joined #RubyOnRails
[02:15:04] noodle: has joined #RubyOnRails
[02:22:17] tcopeland: if conta comes back - seems like there could be another model ContentLink; it could belongs_to :post and have polymorphic relationship (as Attachable) to Text/Picture/Gallery. Then Post has_many :content_links and ContentLink has scopes around specific types
[02:24:53] tcopeland: nuts and bolts at https://gist.github.com/tcopeland/05357dfd7eaf43a8152421f64b26fdaf
[02:51:12] wethu: has joined #RubyOnRails
[03:17:15] durango: has joined #RubyOnRails
[03:17:47] durango: has joined #RubyOnRails
[03:29:09] alfiemax: has joined #RubyOnRails
[03:32:30] iamarun: has joined #RubyOnRails
[04:00:09] JusticeFries: has joined #RubyOnRails
[04:16:26] darkness: has joined #RubyOnRails
[04:28:45] alfiemax: has joined #RubyOnRails
[05:50:01] alfiemax: has joined #RubyOnRails
[07:04:41] za1b1tsu: has joined #RubyOnRails
[07:05:46] za1b1tsu: Hello, can someone tell me the best way to turn an object in to a hash, but use only certain attributes? I dont want id etc
[07:06:30] mynameisdebian: has joined #RubyOnRails
[07:08:10] KeyJoo: has joined #RubyOnRails
[07:40:04] jnollette: has joined #RubyOnRails
[07:50:46] mtkd: has joined #RubyOnRails
[07:55:41] reber: has joined #RubyOnRails
[08:00:42] ahrs: has joined #RubyOnRails
[08:30:04] jrp93: has joined #RubyOnRails
[08:31:49] cstls: has joined #RubyOnRails
[09:21:05] darkhanb: has joined #RubyOnRails
[09:24:37] t0adst00l: has joined #RubyOnRails
[09:52:25] jackhum: has joined #RubyOnRails
[09:54:51] jackhum: has joined #RubyOnRails
[09:55:19] mtkd: has joined #RubyOnRails
[10:15:12] dionysus69: has joined #RubyOnRails
[10:19:24] jnollette: has joined #RubyOnRails
[10:24:19] alfiemax: has joined #RubyOnRails
[10:31:14] zwliew: has joined #RubyOnRails
[10:58:15] alfiemax: has joined #RubyOnRails
[11:08:27] Cache_Money: has joined #RubyOnRails
[11:12:40] gil_: has joined #RubyOnRails
[11:19:46] one_zero: has joined #RubyOnRails
[11:28:13] jrp93_2: has joined #RubyOnRails
[11:40:18] mynameisdebian: has joined #RubyOnRails
[11:40:29] mtkd: has joined #RubyOnRails
[11:42:28] mynameisdebian: It is not cost effective at this point to build ARM devices with more than 2GB. ARM devices are not built to be modular, so a major chip manufacturer has to take an interest in producing an SoC with more than 2GB of RAM. RAM is expensive these days and most ARM devices are designed to be portable and cheap, so 4GB is very rare and probably not very profitable, and anything greater will probably not see the light of day
[11:42:28] mynameisdebian: for some time. This is why Raspberry Pi is not planning on even upgrading to 2GB any time soon
[11:43:17] mynameisdebian: Looking at the example at the bottom of this page on Controllers here: https://www.tutorialspoint.com/ruby-on-rails/rails-controllers.htm What is the practical difference between the "show" and "edit" methods? Are they both needed?
[11:44:29] mynameisdebian: wrong channel on some of that
[12:00:17] uksio: has joined #RubyOnRails
[12:06:51] AzaToth: has joined #RubyOnRails
[12:15:26] sameerynho: has joined #RubyOnRails
[12:36:28] alfiemax: has joined #RubyOnRails
[13:24:58] pwnd_nsfw: Since when was RAM expensive?
[13:25:47] pwnd_nsfw: I guess your standard PC modules can be a rather larger size compared to the sizes that they're capable of making though
[13:45:48] mtkd: has joined #RubyOnRails
[13:47:07] jrp93_3: has joined #RubyOnRails
[13:50:54] jrp93: has joined #RubyOnRails
[13:51:53] jrp93_2: has joined #RubyOnRails
[14:15:10] IanMalcolm: has joined #RubyOnRails
[14:15:22] Saukk: has joined #RubyOnRails
[14:18:47] arpu: has joined #RubyOnRails
[14:53:05] GodOfSea: has joined #RubyOnRails
[15:09:40] havenwood: GodOfSea: g'mornin'
[15:18:10] dionysus69: has joined #RubyOnRails
[15:21:57] GodOfSea: I am in dilemma about what to study ROR or Django ?
[15:22:14] GodOfSea: I'm new at this
[15:25:58] mmoll: GodOfSea: I guess most people here would prefer RoR... architecturally both are similar (also Laravel on PHP)
[15:26:52] GodOfSea: Because both uses MVC ?
[15:27:24] mmoll: GodOfSea: that and the active record pattern
[15:27:48] IanMalcolm: has joined #RubyOnRails
[15:28:05] GodOfSea: what's active record pattern ?
[15:28:26] GodOfSea: I wanna make my own blog. and don't wanna use WordPress
[15:28:36] mmoll: GodOfSea: Google it ;)
[15:29:01] mmoll: GodOfSea: Hm, for that I'd go for some static site generator like jekyll or hugo
[15:29:48] GodOfSea: I know html css and basic JavaScript and bootstrap
[15:30:13] havenwood: GodOfSea: +1 Jekyll, Middleman, or yeah Hugo
[15:30:51] havenwood: GodOfSea: Between Rails and Django I'd choose Rails.
[15:31:24] GodOfSea: havenwood why's that ?
[15:31:34] havenwood: GodOfSea: I'm a Rubyist. ;-)
[15:31:50] GodOfSea: that goes without saying :P
[15:32:42] havenwood: GodOfSea: I prefer the underlying language, framework and pace of development.
[15:33:54] helpa-bot: has joined #RubyOnRails
[15:34:00] havenwood: GodOfSea: I've also done a lot more work in Rails than in Django. Another nice framework you could look at is Phoenix if you feel like learning a bit of Elixir.
[15:34:29] GodOfSea: errr. I haven't heard about Elixir
[15:34:37] tcopeland1: has joined #RubyOnRails
[15:35:44] zwliew: has joined #RubyOnRails
[15:36:03] havenwood: GodOfSea: http://phoenixframework.org/
[15:37:44] AntiSpamMeta: has joined #RubyOnRails
[15:38:41] helpa: has joined #RubyOnRails
[15:38:46] Puffball: has joined #RubyOnRails
[15:38:58] GodOfSea: mass pingout
[15:42:50] fl4sh_: has joined #RubyOnRails
[15:43:06] CBebop: has joined #RubyOnRails
[15:43:18] w0rd-driven: has joined #RubyOnRails
[15:46:23] cjohnson: has joined #RubyOnRails
[15:46:45] ankhers: has joined #RubyOnRails
[15:47:30] michael_mbp: has joined #RubyOnRails
[15:49:24] lxsameer: has joined #RubyOnRails
[15:49:32] mtkd: has joined #RubyOnRails
[15:52:25] gambl0re: has joined #RubyOnRails
[15:57:07] walidvb: has joined #RubyOnRails
[15:57:43] walidvb: i'm trying to rescue an error in an initializer, but when i make a request the error is thrown anyways in development
[15:58:06] walidvb: the rescue block is called, and does not call any raise(caught_error)
[15:58:14] walidvb: this is my code:
[15:58:45] walidvb: https://gist.github.com/walidvb/ee1973338c8025765aba2cc39a23761b
[15:58:57] walidvb: not sure if this is linked to my dev environment
[16:07:12] mikecmpbll: has joined #RubyOnRails
[16:10:33] mynameisdebian: has joined #RubyOnRails
[16:17:36] arBmind: has joined #RubyOnRails
[16:31:55] chouhoulis: has joined #RubyOnRails
[16:46:10] dviola: has joined #RubyOnRails
[16:51:00] NoGodDamnIdea: has joined #RubyOnRails
[16:52:02] dionysus69: has joined #RubyOnRails
[16:57:36] moei: has joined #RubyOnRails
[16:59:23] Sirecote: has joined #RubyOnRails
[16:59:38] boxmein: has joined #RubyOnRails
[17:00:01] alfie: has joined #RubyOnRails
[17:12:12] IanMalcolm: has joined #RubyOnRails
[17:16:18] JusticeFries: has joined #RubyOnRails
[17:35:33] maciuszek: has joined #RubyOnRails
[17:37:29] HashNuke: has joined #RubyOnRails
[17:48:48] darkhanb: has joined #RubyOnRails
[17:54:05] mtkd: has joined #RubyOnRails
[17:55:00] srinidhi: has joined #RubyOnRails
[17:59:09] mynameisdebian: has joined #RubyOnRails
[18:03:38] mynameisdebian: I'm trying to follow the tutorial at https://www.tutorialspoint.com/ruby-on-rails . I am on the example at https://www.tutorialspoint.com/ruby-on-rails/rails-views.htm where I add a new book in the form. My "Subject" drop-down box is empty. The subjects are created in a migration example about 2/3 down the page here: https://www.tutorialspoint.com/ruby-on-rails/rails-migrations.htm . When I run "rake db:migrate" I get
[18:03:38] mynameisdebian: https://pastebin.com/9rYMXxDg . I don't think the values are being inserted. Can anyone help me figure out why?
[18:03:48] KeyJoo: has joined #RubyOnRails
[18:11:32] mmoll: mynameisdebian: rais 4.2 is old.
[18:26:54] jnollette: has joined #RubyOnRails
[18:28:46] KeyJoo: has joined #RubyOnRails
[18:43:35] ectos: has joined #RubyOnRails
[18:44:09] Saukk: has joined #RubyOnRails
[18:55:47] kapil___: has joined #RubyOnRails
[19:14:44] Dimik: has joined #RubyOnRails
[19:23:37] powrtoch: has joined #RubyOnRails
[19:25:44] orbyt_: has joined #RubyOnRails
[19:45:48] dblessing: has joined #RubyOnRails
[19:50:59] Saukk: has joined #RubyOnRails
[19:59:24] mtkd: has joined #RubyOnRails
[20:04:49] dblessing: has joined #RubyOnRails
[20:37:44] Saukk: has joined #RubyOnRails
[20:56:46] meesles: has joined #RubyOnRails
[21:14:48] Saukk: has joined #RubyOnRails
[21:53:25] JusticeFries: has joined #RubyOnRails
[21:55:22] ahrs: has joined #RubyOnRails
[22:33:11] sameerynho: has joined #RubyOnRails
[23:13:06] wethu: has joined #RubyOnRails
[23:40:30] t0adst00l: has joined #RubyOnRails
[23:44:05] mtkd: has joined #RubyOnRails
[23:50:48] t0adst00l: has joined #RubyOnRails