« Back to channel list

#RubyOnRails - 03 January 2016

« Back 1 day Forward 1 day »
[00:00:05] Cervajz: has joined #RubyOnRails
[00:05:39] _Tariq: has joined #RubyOnRails
[00:06:02] ruid: has joined #RubyOnRails
[00:06:02] ruid: has joined #RubyOnRails
[00:07:32] sleungcy: has joined #RubyOnRails
[00:07:53] chridal: rhizome: The Serverfault blog has already sent me down a deep rabbit hole, and I have now learned what a FEX is. Thanks. I love the rabbit hole.
[00:10:51] mices: tbuehlmann: ty
[00:11:40] brandoncc: has joined #RubyOnRails
[00:14:57] Megamos: has joined #RubyOnRails
[00:15:10] ibouvousaime: has joined #RubyOnRails
[00:16:18] RegulationD: has joined #RubyOnRails
[00:16:35] elton: has joined #RubyOnRails
[00:19:27] sankaber: has joined #RubyOnRails
[00:19:56] shibabu: has joined #RubyOnRails
[00:22:57] atomical_: has joined #RubyOnRails
[00:27:51] mices: tbuehlmann: what should my create action be?
[00:30:19] tbuehlmann: mices, what do you mean?
[00:33:50] mices: tbuehlmann @school = current_user.create_school(school_params)
[00:34:17] tbuehlmann: that's some code, do you have some context?
[00:35:06] mices: <%= form_for(@school) do |school_form| %>
[00:35:07] mices: <% school_form.fields_for :profiles do |f| %>
[00:35:38] mices: i don't think you wanna see the rest of the form it's just a bunch of fields ha ha
[00:35:54] tbuehlmann: so you want to create a School object?
[00:36:32] mices: i wanna save it
[00:36:46] tbuehlmann: what does your controller look like? can you gist it?
[00:37:38] dtordable: has left #RubyOnRails: ("AndroIRC")
[00:37:57] mices: tbuehlmann: https://gist.github.com/mices/86b38f23b2d203cacf3d
[00:38:17] dtordable: has joined #RubyOnRails
[00:38:21] choke: it alrleady saves
[00:38:57] FailBit: does it make incremental backups?
[00:40:05] PedramT: has joined #RubyOnRails
[00:40:05] mices: The create_association method returns a new object of the associated type. This object will be instantiated from the passed attributes, the link through this object's foreign key will be set, and, once it passes all of the validations specified on the associated model, the associated object will be saved.
[00:40:10] tbuehlmann: too many clever people interfering for my taste, good night!
[00:40:25] ruid: has joined #RubyOnRails
[00:40:58] mices: tbuehlmann: so then yes i wanna create the object
[00:41:04] mices: so it can be saved
[00:41:44] mices: i was confused i thought i already created it in the new method
[00:41:56] atomical: has joined #RubyOnRails
[00:42:05] mices: i mean i thought i already instantiated it in the new method
[00:42:10] mices: in the form
[00:43:43] diegoviola: ima so happy, my connection was fixed, finally
[00:44:16] erichu: has joined #RubyOnRails
[00:44:22] atomical_: has joined #RubyOnRails
[00:44:45] roshanavand: has joined #RubyOnRails
[00:44:49] lethjakman: has joined #RubyOnRails
[00:45:21] drale2k: has joined #RubyOnRails
[00:45:57] brandoncc: has joined #RubyOnRails
[00:46:46] nocd: has joined #RubyOnRails
[00:49:24] xlegoman: has joined #RubyOnRails
[00:51:01] Pazician: has joined #RubyOnRails
[00:51:07] roshanavand: how can I disable devise's "user_password_expiration_notifier"?
[00:51:38] roshanavand: I don't want to notify users that their password will expire soon
[00:51:55] mices: why expire passwords?
[00:52:23] mices: sell them to google better yet or give them to me ha ha
[00:53:17] dtordable: Sorcery or devise?
[00:53:52] TheMoonMaster: has joined #RubyOnRails
[00:55:32] roshanavand: @mices I don't know, I don't decide
[00:56:34] derick_skibotn: has joined #RubyOnRails
[00:56:36] choke: devise, because why re-invent what you don't have to?
[00:57:05] ElFerna: has joined #RubyOnRails
[00:59:12] derick_skibotn: I seem to have botched the css.scss asset pipeline in dev mode. How do I reset it? If I put some ugly css in the scss file (like p{border: red 10px solid; }) it doesn't show up
[00:59:26] derick_skibotn: This is with rails 4.2.5
[00:59:52] Palsson: has joined #RubyOnRails
[01:00:54] pyemkey: has joined #RubyOnRails
[01:03:57] rhizome: chridal: cool!
[01:04:42] FailBit: derick_skibotn: are you sure it's not just browser caching?
[01:05:09] mices: def create @school = current_user.create_school(school_params)
[01:05:10] FailBit: try force-reloading everything (Ctrl+Shift+R or Cmd if you're using worstos.png)
[01:05:19] mices: undefined method `create_school' for #<User:0xb4c85050>
[01:05:39] derick_skibotn: FailBit: first, I made the mistake of running 'rake assets:precompile' once I was ready to try the app. Again, in dev mode only
[01:05:51] chipotle: has joined #RubyOnRails
[01:05:56] derick_skibotn: And I'm looking at the HTML that's generated, and it always references a file that doesn't exits
[01:07:17] derick_skibotn: The html references link /assets/application_self-e80e8f......css
[01:07:52] FailBit: did you destroy public/assets?
[01:07:54] derick_skibotn: Even when I change the contents of the SCSS file I still get the same md5 hash, which looks wrong. Unless this is all because I ran 'rake assets:precompile'. What do I need to run to undo that?
[01:08:07] xnp70: has joined #RubyOnRails
[01:08:08] derick_skibotn: But that sounds worth a try
[01:08:08] FailBit: run rake assets:clean
[01:08:16] sleungcy: has joined #RubyOnRails
[01:08:34] FailBit: then reboot your webserver
[01:08:49] derick_skibotn: and then just let shprokets do its work in dev mode?
[01:08:58] derick_skibotn: I'm just running webbrick in dev mode right now
[01:09:09] chipotle: has joined #RubyOnRails
[01:09:30] derick_skibotn: I hate to think what happens when I push this live. Think I'll go visit the local ruby hack night and get some in-person help
[01:09:41] FailBit: is that a thing?
[01:10:11] derick_skibotn: where I live yeah, like IRC IRL
[01:10:14] braincra-: has joined #RubyOnRails
[01:10:33] derick_skibotn: It didn't work. Still referencing a non-existent CSS file.
[01:10:56] FailBit: try rm -rf public/assets
[01:11:07] derick_skibotn: It's gone but the images and CSS aren't working.
[01:11:17] derick_skibotn: I have never gotten an asset pipeline thing to work
[01:11:17] rhizome: restart webrick
[01:11:19] sankaber: has joined #RubyOnRails
[01:11:50] derick_skibotn: No there's some fundamental problem. Thanks guys, but I'm going to re-read the doc for the10th time and see if I missed something
[01:12:08] derick_skibotn: The asset pipeline is enough to drive me back to PHP
[01:12:14] rhizome: shouldn't be a big deal. did you change anything asset-y in initializer?
[01:12:33] ibouvousaime: has joined #RubyOnRails
[01:12:35] rhizome: weird. maybe a file naming issue
[01:12:41] xnp70: what is a good book to master activerecord in rails 4/5 ?
[01:12:58] rhizome: xnp70: no pre-existing knowledge?
[01:13:03] derick_skibotn: I'm just following the http://www.sitepoint.com/mini-chat-rails/ tutorial -- I'll go ask there
[01:13:18] FailBit: the asset pipeline fucks up far too often
[01:13:28] xnp70: @rhizome basic knowledge
[01:13:31] FailBit: next to ActiveRecord migrations it's one of the parts I most hate about rails
[01:14:04] asoliman: has joined #RubyOnRails
[01:14:17] asoliman: has left #RubyOnRails: ()
[01:14:33] xnp70: there has to be a good guide about activerecord, better than r o r.org
[01:14:36] roshanavand: has joined #RubyOnRails
[01:15:18] FailBit: there probably was one, but then the author burned it because it was the epitome of pure evil
[01:15:30] xnp70: like for example, I find how to write the model, but not how to create the corresponding migration
[01:15:55] FailBit: you're supposed to use a scaffold for that
[01:16:12] mices: undefined method `create_school' for #<User:0xb4e407a0>
[01:16:34] mices: @school = current_user.create_school(school_params)
[01:16:46] xnp70: @FailBit meaning I can only make changes via command line with the generator ?
[01:17:03] brandoncc: has joined #RubyOnRails
[01:17:08] drale2k: has joined #RubyOnRails
[01:17:28] FailBit: you can still do rails g migration model_name field:string field2:string etc
[01:17:36] FailBit: or you can write your migration file manually
[01:17:57] FailBit: rails g migration some_reason_for_migration
[01:18:01] FailBit: (then edit the file it creates)
[01:18:15] xnp70: yes, but thats too basic, I need to create intermediate tables and self referencing keys
[01:18:33] FailBit: then make more
[01:18:37] FailBit: nobody is stopping you
[01:18:57] FailBit: also keep in mind
[01:19:04] FailBit: everything in #change is executed in order
[01:23:18] baweaver: has joined #RubyOnRails
[01:24:44] xnp70: from what I see in RoR.org you add integers in the migration and the declare references in the models, but does that mean relations are not declared at the DB level ?
[01:25:05] FailBit: that's bizarre
[01:25:11] FailBit: change_table :some_table do |t|
[01:25:19] FailBit: t.references :something_else
[01:25:34] FailBit: would generate :something_else_id on some_table
[01:25:52] FailBit: it won't add a foreign key but there's an option for that
[01:26:29] xnp70: :S, thats why I asked: whats a good book about activerecord ?
[01:27:03] arBmind1: has joined #RubyOnRails
[01:27:06] xnp70: one that has survived pure evilness
[01:27:37] FailBit: unrelatedly, curious that they decided not to use class_eval and instead yield the object
[01:27:46] FailBit: if they used class_eval you could write
[01:27:51] FailBit: create_table :images do
[01:27:56] FailBit: integer :upvotes
[01:29:21] elton: has joined #RubyOnRails
[01:31:10] _Tariq: has joined #RubyOnRails
[01:31:48] xnp70: has left #RubyOnRails: ()
[01:31:49] derick_skibotn: FailBit: yeah, something's definitely wrong. I set config.assets.prefix to "/dev-assets" in my config/development.rb file and the change is reflected in the generated HTML, but there's no dev-assets dir under public, or anywhere else in my app tree
[01:32:07] derick_skibotn: ... or am I missing something ?
[01:32:25] hoylemd: has joined #RubyOnRails
[01:33:12] hoylemd: Hey, I'm trying to write an integration test, and I can't figure out how to make controller instance variables accessible in my test block. `assigns(:variable_name)` is returning nil.
[01:33:40] hoylemd: (Although, I didn't expect that to work anyways - how would my test even know what controller to get it from)
[01:33:47] ponky: has left #RubyOnRails: ()
[01:33:48] FailBit: which test framework
[01:33:56] hoylemd: uuh... the... default one?
[01:34:02] hoylemd: Not sure, one sec
[01:34:27] hoylemd: `ActionDispatch::IntegrationTest` is the class my test is extending
[01:34:45] FailBit: that tests routes
[01:34:55] FailBit: ActionDispatch != ActionController
[01:35:03] FailBit: ActionController::TestCase will test your controller
[01:35:17] FailBit: for example
[01:35:24] hoylemd: Isn't that for unit tests though?
[01:35:35] FailBit: do you know what a controller test is?
[01:35:43] FailBit: (hint: it's not a unit test)
[01:35:45] hoylemd: A test for a controller?
[01:35:58] FailBit: do you call methods on the controller in them?
[01:36:47] FailBit: (you don't, you ask the testcase to deliver it information and then test what it did after the action executes)
[01:36:48] mices: https://gist.github.com/mices/86b38f23b2d203cacf3d
[01:36:48] mices: Mysql2::Error: Duplicate entry '0' for key 'PRIMARY': INSERT INTO `schools` VALUES ()
[01:37:15] FailBit: say if you have ImagesControllerTest < ActionController::TestCase
[01:37:15] hoylemd: Huh, looks like i'm not. Haha, that explains why writing these didn't feel right to me.
[01:37:22] FailBit: and in a test method
[01:37:25] FailBit: you did get :index
[01:37:31] FailBit: you would have access to anything the controller assigns
[01:37:36] FailBit: ie assigns(:images)
[01:38:09] FooMunki: has joined #RubyOnRails
[01:38:14] hoylemd: I think I need to rethink how I've organized my tests. Once again the answer to my question is: 'you are asking the wrong question' :p
[01:38:24] FailBit: that's called the x/y problem
[01:38:52] FailBit: http://xyproblem.info/
[01:39:50] roshanavand: has joined #RubyOnRails
[01:39:52] brandoncc: has joined #RubyOnRails
[01:39:57] hoylemd: Holy batman, I didn't even know this was a thing and I've been struggling with this for *years*.
[01:40:20] hoylemd: Guess I'm done coding for the night! Thanks!
[01:43:11] Symbiosisz: has joined #RubyOnRails
[01:43:59] mrchris: has joined #RubyOnRails
[01:45:07] djbkd: has joined #RubyOnRails
[01:45:35] lethjakman: has joined #RubyOnRails
[01:45:42] user083: has joined #RubyOnRails
[01:46:07] mrchris: has joined #RubyOnRails
[01:49:04] samgranieri: has joined #RubyOnRails
[01:49:24] mrchris: has joined #RubyOnRails
[01:51:31] duncannz: has joined #RubyOnRails
[01:52:45] jamesalexanderdi: has joined #RubyOnRails
[01:56:29] diegoviola: I need to add some date picker thingy to my charts/graphs
[01:56:37] diegoviola: not sure what to use for that, ideas?
[01:57:46] djbkd: has joined #RubyOnRails
[01:59:40] ElFerna: has joined #RubyOnRails
[02:02:36] adavia: has joined #RubyOnRails
[02:03:21] _Tariq: has joined #RubyOnRails
[02:04:05] elton: has joined #RubyOnRails
[02:04:07] creature: diegoviola: You know Rails has a built in date_select, datetime_select, and time_select form helper, right?
[02:04:22] creature: Worth a look if you just need something simple, or for prototyping.
[02:05:28] choke: I just love vague question "I have this code, and it doesnt work whats wrong with it? < doesnt show code >"
[02:06:32] ss_much: has joined #RubyOnRails
[02:06:54] diegoviola: creature: yes
[02:07:45] diegoviola: creature: I'll give those a try, but I bet (I can bet you a million dollars) the client will say "This is too simple, we need something more fancy with colors and stuff, and make it bigger"
[02:08:16] choke: So you use those, and add a little jquery for the flashy crap that doesn't really matter ;)
[02:08:17] diegoviola: I guess I can always throw some CSS to it
[02:09:02] sleungcy: has joined #RubyOnRails
[02:09:08] diegoviola: btw I'm not rich, so I shouldn't be beting like that
[02:09:46] choke: I always tell my clients: I'll give you everything you need, not necessarily everything you want. I'll also ALWAYS put preference to functionality over pretty"
[02:10:02] diegoviola: christ, do I switch to postgresql now or not, because tomorrow is deployment day
[02:10:25] choke: I can't answer that question.. I haven't used sql in years lol
[02:10:36] diegoviola: lol so what do you use
[02:11:28] Meow-J: has joined #RubyOnRails
[02:12:07] choke: Document Stores like ArangoDB, MongoDB, ElasticSearch, JSON ODM, etc
[02:12:23] diegoviola: in your rails apps?
[02:12:51] choke: our mobile app api @ work uses mongodb with a redis K/V store
[02:13:40] iateadonut: has joined #RubyOnRails
[02:13:41] iateadonut: has left #RubyOnRails: ()
[02:20:30] shibabu: has joined #RubyOnRails
[02:33:50] nerfando: has joined #RubyOnRails
[02:34:35] asoliman: has joined #RubyOnRails
[02:36:19] elton: has joined #RubyOnRails
[02:37:51] nerfando: has joined #RubyOnRails
[02:38:21] diegoviola: some people got worried when I used sqlite in production the last time, and since I plan to use postgres on prod I'll just switch to it now
[02:38:29] diegoviola: I don't understand what makes sqlite a bad idea though
[02:38:52] FailBit: pretty sure it's not intended for it
[02:39:04] diegoviola: for lighter loads should be fine, no?
[02:39:14] FailBit: but sqlite is meant for desktop-application databases
[02:39:24] diegoviola: the website I'm deploying gets a hit or 2 by day
[02:39:31] FailBit: use sqlite
[02:39:35] FailBit: knock yourself out
[02:40:02] diegoviola: so why rails defaults to it?
[02:40:49] FailBit: because it's ridiculously easy to set up in dev
[02:41:13] waka: has joined #RubyOnRails
[02:41:58] diegoviola: postgres isn't also that hard
[02:42:07] diegoviola: and the default config just works on my system
[02:42:23] diegoviola: I don't even have to set my user/pass or whatever
[02:43:20] sevenseacat: has joined #RubyOnRails
[02:51:47] Pazician: has joined #RubyOnRails
[02:55:52] mrchris: has joined #RubyOnRails
[03:02:55] diegoviola: just switched
[03:05:12] AntiSpamMeta: has joined #RubyOnRails
[03:05:51] mrchris: How do you serialize a resource collection using ActiveModelSerializer?
[03:06:06] mrchris: Individual records work but now lists
[03:09:25] roshanavand: has joined #RubyOnRails
[03:09:53] sleungcy: has joined #RubyOnRails
[03:11:42] _Tariq: has joined #RubyOnRails
[03:14:51] stannard: has joined #RubyOnRails
[03:16:23] lethjakman: has joined #RubyOnRails
[03:19:49] ZiggyTheHamster: has joined #RubyOnRails
[03:19:50] ZiggyTheHamster: has joined #RubyOnRails
[03:20:18] diegoviola: I need to import my sqlite3 db into postgres
[03:20:35] diegoviola: is there a way to dump the data to a sql file that postgres understands?
[03:24:26] nyaa: has joined #RubyOnRails
[03:25:33] diegoviola: ok just found some guide
[03:30:05] diegoviola: and it just worked...
[03:30:28] diegoviola: should have used postgres from the start
[03:39:35] elton: has joined #RubyOnRails
[03:46:47] pyemkey: has joined #RubyOnRails
[03:48:16] alex88: has joined #RubyOnRails
[03:51:24] elton_: has joined #RubyOnRails
[03:51:34] djbkd_: has joined #RubyOnRails
[03:52:21] w0bni: has joined #RubyOnRails
[03:55:29] claytonzaugg: has joined #RubyOnRails
[03:57:04] ziggy: has joined #RubyOnRails
[03:57:05] ziggy: has joined #RubyOnRails
[03:59:13] FreshTracks: has joined #RubyOnRails
[04:10:35] sleungcy: has joined #RubyOnRails
[04:13:13] FreshTracks: has joined #RubyOnRails
[04:13:52] diegoviola: I can't believe after so long with rails I have this stupid issue that I can't fix
[04:14:03] diegoviola: f.date_select :start_date
[04:14:08] diegoviola: how do I read from this in my controller again?
[04:14:29] diegoviola: "login"=>{"start_date(1i)"=>"2016", "start_date(2i)"=>"1", "start_date(3i)"=>"3", "end_date(1i)"=>"2016", "end_date(2i)"=>"1", "end_date(3i)"=>"3"},
[04:14:34] diegoviola: all I get is this
[04:14:56] diegoviola: params[:login][:start_date] gives me a nil
[04:17:29] FreshTracks: has joined #RubyOnRails
[04:17:38] FreshTracks: sorry - lost connection (caf??). Anyone?
[04:20:32] djbkd: has joined #RubyOnRails
[04:21:24] diegoviola: I did params.require(:login).permit! and still
[04:22:29] shibabu: has joined #RubyOnRails
[04:22:35] braincrash: has joined #RubyOnRails
[04:27:50] sevenseacat: what are you trying to read?
[04:33:03] FooMunki: has joined #RubyOnRails
[04:33:09] diegoviola: sevenseacat: start_date
[04:33:17] diegoviola: > params[:login]
[04:33:19] diegoviola: => {"start_date(1i)"=>"2016", "start_date(2i)"=>"1", "start_date(3i)"=>"3", "start_date(4i)"=>"04", "start_date(5i)"=>"32"}
[04:33:36] diegoviola: <%= form_for :login, url: '/dashboard/login_update', remote: true do |f| %>
[04:33:39] diegoviola: <%= f.datetime_select :start_date %>
[04:33:49] sevenseacat: you have the day, month and year right there
[04:33:56] sevenseacat: if you want them as a single date, you'll have to reconstruct it
[04:39:02] derick_skibotn: has joined #RubyOnRails
[04:39:04] diegoviola: I'm just trying to pass 2 dates so I can do something like Measurement.where(created_at: params[:login][:start_date]..params[:login][:end_date])
[04:40:32] sevenseacat: if it were my app, i'd not use rails' stupid datetime select and just have a single text box with a datepicker
[04:41:03] diegoviola: yeah that start_date(li) just confuses the hell out of me
[04:41:12] sevenseacat: i dont know why
[04:41:23] pontiki: it's a one, not an ell
[04:42:02] sevenseacat: you're submitting three separate pieces of data, a day, month and year, and so you must read them as three separate pieces of data
[04:42:17] choke: and if you want the date_select you could do something like: def flatten_date_array hash %w(1,2,3).map { |e| hash["date(#{e}i)"].to_i } end and call it like date = Date.new *flatten_date_array params[:login][:start_date]
[04:43:00] diegoviola: it confuses me because I remember dealing with dates, and I didn't had to mess too much with for it to work, I remember just passing :date to strong parameters and getting the date
[04:43:45] diegoviola: no wait, that was different
[04:43:59] diegoviola: https://github.com/diegoviola/movies/blob/master/app/controllers/movies_controller.rb#L24
[04:44:09] sevenseacat: choke: given params[:login][:start_date] is nil, what do you expect that code to do?
[04:44:28] diegoviola: https://github.com/diegoviola/movies/blob/master/app/views/movies/new.html.erb#L16
[04:45:06] TheMoonMaster: has joined #RubyOnRails
[04:47:44] choke: the last part was wrong, in that you'd send date = Date.new *flatten_Date_array params[:login] instead -- anything with date(1i..3i) as a key in the hash would be pulled out and turned into a date object
[04:48:09] sevenseacat: no it wouldnt
[04:48:20] sevenseacat: please stop sharing code that you haven't tried, you mislead people.
[04:48:54] sevenseacat: and people like diegoviola get confused easily enough without you adding to the mix.
[04:51:41] diegoviola: ok so I found the issue, I confused l with i
[04:51:45] diegoviola: no, l with 1
[04:51:52] diegoviola: I need better eyes
[04:52:10] diegoviola: params[:login]["start_date(1i)"] works fine
[04:52:16] diegoviola: but I don't want to reconstruct anything
[04:52:40] Pazician: has joined #RubyOnRails
[04:52:42] diegoviola: is there a easy way to deal with dates?
[04:53:12] diegoviola: sevenseacat: you mentioned a datepicker, is there one you can recommend
[04:53:33] diegoviola: a datepicker is something that sends the date in one input, right?
[04:53:36] diegoviola: or parameter
[04:54:01] sevenseacat: a datepicker is a js plugin that would put the date into a text field, not three select boxes
[04:54:10] sevenseacat: so it would get submitted as one field
[04:54:18] diegoviola: yeah that sounds easier
[04:54:34] sevenseacat: i tend to use either bootstrap's datepicker or pikaday, depending on whether my app is already using bootstrap or not
[04:54:39] diegoviola: but reconstructing also doesn't sound hard now that I understood my problem
[04:57:47] roshanavand: has joined #RubyOnRails
[04:58:52] derick_skibotn: has joined #RubyOnRails
[05:00:26] marcdel: has joined #RubyOnRails
[05:02:23] marcdel_: has joined #RubyOnRails
[05:04:00] Foxri: has joined #RubyOnRails
[05:04:27] Foxri: Is there a way to render views async in rails?
[05:05:05] lethjakman: has joined #RubyOnRails
[05:05:15] nerium: Is there a way to render views async in rails?
[05:06:45] arup_r: has joined #RubyOnRails
[05:11:09] pontiki: ACTION blinks
[05:11:17] sleungcy: has joined #RubyOnRails
[05:14:40] elton: has joined #RubyOnRails
[05:26:45] dideler: has joined #RubyOnRails
[05:30:37] xnp70: has joined #RubyOnRails
[05:32:21] xnp70: Is it normal NOT to declare references in the DB ? Leaving only references in models ?
[05:32:59] robbyoconnor: has joined #RubyOnRails
[05:33:05] pontiki: as in your foreign keys
[05:33:19] sevenseacat: rails didnt natively support foreign keys until recently, so for older apps, yes it's normal
[05:34:08] xnp70: So you have to use "execute" in migrations to have integrity @ db ?
[05:34:22] sevenseacat: you can now add the foreign keys
[05:35:31] nerium: Is there a way to access rails in js files using the assets pipeline? Like app.js.rb?
[05:37:23] robbyoconnor: has joined #RubyOnRails
[05:38:22] xnp70: @nerium js run on client, rails on server, so you can consume rails from js like any web service
[05:38:25] pontiki: not quite sure what you're asking, nerium. in the pipeline, you can have assets like app.js.erb, which get processed like other erb templates on their way through the pipeline
[05:38:40] pontiki: but once that js is running on the client, no, you have to use AJAX
[05:38:45] claytonzaugg: has joined #RubyOnRails
[05:39:21] nerium: I need to access some config params in a js file
[05:39:27] nerium: erb will work
[05:42:58] bulldawgden: has joined #RubyOnRails
[05:46:01] elton: has joined #RubyOnRails
[05:48:24] pyemkey: has joined #RubyOnRails
[05:56:35] s2013: has joined #RubyOnRails
[06:00:01] elton: has joined #RubyOnRails
[06:03:32] lxsameer: has joined #RubyOnRails
[06:08:14] FreshTracks: has joined #RubyOnRails
[06:08:42] rubyonrails329: has joined #RubyOnRails
[06:09:29] mostlybadfly: has joined #RubyOnRails
[06:09:35] xnp70: What's the latest version of rails supported by JRuby ?
[06:11:10] FreshTracks: has joined #RubyOnRails
[06:12:03] sleungcy: has joined #RubyOnRails
[06:17:00] elton: has joined #RubyOnRails
[06:17:33] mary5030: has joined #RubyOnRails
[06:21:51] s2013: has joined #RubyOnRails
[06:23:18] wethu: has joined #RubyOnRails
[06:25:51] shibabu: has joined #RubyOnRails
[06:35:39] dopie: has joined #RubyOnRails
[06:37:44] arathald: has joined #RubyOnRails
[06:42:51] elton: has joined #RubyOnRails
[06:43:13] drale2k: has joined #RubyOnRails
[06:45:37] roshanavand: has joined #RubyOnRails
[06:48:56] ryan1: has joined #RubyOnRails
[06:49:40] TheMoonMaster: has joined #RubyOnRails
[06:51:02] claytonzaugg: has joined #RubyOnRails
[06:52:49] nonmadden: has joined #RubyOnRails
[06:53:32] Pazician: has joined #RubyOnRails
[06:53:49] lethjakman: has joined #RubyOnRails
[06:59:52] yardenbar: has joined #RubyOnRails
[07:06:11] Coldblackice: has joined #RubyOnRails
[07:08:34] elton: has joined #RubyOnRails
[07:12:31] sameerynho: has joined #RubyOnRails
[07:12:50] sleungcy: has joined #RubyOnRails
[07:19:07] RegulationD: has joined #RubyOnRails
[07:24:32] Jasaka: has joined #RubyOnRails
[07:31:33] ZiggyTheHamster: has joined #RubyOnRails
[07:31:33] ZiggyTheHamster: has joined #RubyOnRails
[07:33:48] Cervajz: has joined #RubyOnRails
[07:34:42] Cervajz_: has joined #RubyOnRails
[07:35:18] grayjedi: has joined #RubyOnRails
[07:36:10] rheddry: has left #RubyOnRails: ()
[07:36:54] levifig: has joined #RubyOnRails
[07:43:17] slash_nick: am i crazy or does rendering params into a script tag sound risky? not saying it's a risk you couldn't mitigate..
[07:44:54] djbkd: has joined #RubyOnRails
[07:46:25] slash_nick: ehh maybe not
[07:47:17] lxsameer: has joined #RubyOnRails
[07:48:09] slash_nick: (maybe not crazy) http://security.stackexchange.com/a/75971
[07:48:10] darutoko: has joined #RubyOnRails
[07:48:46] avemestr: has joined #RubyOnRails
[07:51:27] arathald: has joined #RubyOnRails
[07:56:22] PedramT: has joined #RubyOnRails
[07:58:58] robbyoconnor: has joined #RubyOnRails
[07:59:28] lxsameer: hey folks, did enums get any api changes in Rails 5 ?
[08:06:01] ziggy: has joined #RubyOnRails
[08:06:01] ziggy: has joined #RubyOnRails
[08:06:11] TheMoonMaster: has joined #RubyOnRails
[08:07:13] PedramT: has joined #RubyOnRails
[08:09:11] steffkes: has joined #RubyOnRails
[08:09:14] PedramT: has joined #RubyOnRails
[08:09:35] Megamos: has joined #RubyOnRails
[08:09:37] arup_r: has joined #RubyOnRails
[08:10:31] ZiggyTheHamster: has joined #RubyOnRails
[08:10:32] ZiggyTheHamster: has joined #RubyOnRails
[08:13:35] sleungcy: has joined #RubyOnRails
[08:15:05] puria: has joined #RubyOnRails
[08:15:34] TheMoonMaster: has joined #RubyOnRails
[08:23:52] nyaa: has joined #RubyOnRails
[08:24:34] ziggy: has joined #RubyOnRails
[08:24:34] ziggy: has joined #RubyOnRails
[08:25:21] ibouvousaime: has joined #RubyOnRails
[08:29:26] shibabu: has joined #RubyOnRails
[08:32:52] vedu: I have a route like: get 'models/:model_slug/model_types' => 'model_types#index'. How can create a test for the index action? Just doing `get :index` in ModelsTypesControllerTest gives a no route error :(
[08:34:05] roshanavand: has joined #RubyOnRails
[08:35:21] arup_r: vedu: show the error please..
[08:36:06] vedu: arup_r: https://gist.github.com/vedant1811/4733a65f364894a71548
[08:37:28] vedu: arup_r: error and routes.rb: https://gist.github.com/vedant1811/4733a65f364894a71548
[08:38:50] alex88: has joined #RubyOnRails
[08:40:07] arup_r: does your controller namespaced ?
[08:41:51] vedu: arup_r: no
[08:42:42] lethjakman: has joined #RubyOnRails
[08:43:13] vedu: arup_r: I added an 'assert_route' test. better errors this time: https://gist.github.com/vedant1811/4733a65f364894a71548
[08:46:49] arup_r: may be the format: json causing it.. Just remove it form route file and run the test.. ?
[08:47:46] defsdoor: has joined #RubyOnRails
[08:49:07] Coldblackice: has joined #RubyOnRails
[08:50:36] pyemkey: has joined #RubyOnRails
[08:55:11] DoubleMalt: has joined #RubyOnRails
[08:57:53] Coldblackice: has joined #RubyOnRails
[09:00:28] speakingcode: has joined #RubyOnRails
[09:01:45] avemestr: has joined #RubyOnRails
[09:02:22] sandstrom: has joined #RubyOnRails
[09:08:50] yashinbasement: has joined #RubyOnRails
[09:10:00] pawnbox: has joined #RubyOnRails
[09:12:09] yashinbasement: Hi I have a question about whenever gem, I have schedule file (content is on https://gist.github.com/ynarwal/8689719a99517897f8f1 ) which is just printing a line every 3 second
[09:12:34] yashinbasement: but when I do whenever -i , it writes a line only once in the file
[09:12:55] yashinbasement: I thought it will write every 3 second !
[09:13:21] tvw: has joined #RubyOnRails
[09:14:39] sleungcy: has joined #RubyOnRails
[09:14:55] vedu: arup_r: I did this: https://gist.github.com/vedant1811/4733a65f364894a71548
[09:15:25] arup_r: and then what you saw ? :)
[09:16:35] yashinbasement: Can any one please explain why it's not writing in the file every 3 seconds
[09:17:19] vedu: arup_r: all tests passed :)
[09:17:42] arup_r: vedu: yeah, as I said that might be the reason.. cool
[09:17:48] vedu: yashinbasement: it is overwriting everytime
[09:18:01] vedu: yashinbasement: you probably want to append
[09:19:01] jacobat_: has left #RubyOnRails: ()
[09:19:16] jacobat: has joined #RubyOnRails
[09:20:09] yashinbasement: :vedu no it's not
[09:21:10] vedu: yashinbasement: oh sorry. Didn't see the a.
[09:21:26] yashinbasement: My doubt is whenever is not triggering the job
[09:21:35] yashinbasement: it does only once when I do
[09:21:46] vedu: yashinbasement: add a `puts` to see whether or not the statement is running or not
[09:21:59] yashinbasement: I did but the same thing
[09:22:12] Jet4Fire: has joined #RubyOnRails
[09:22:16] vedu: yashinbasement: oh then its the gem. Never used it
[09:23:18] matthewd: yashinbasement: That's not how whenever works.
[09:23:56] Jet4Fire: After the deploy rails app to DigitalOcean, i cant access to /stylesheets/application.css and /javascripts/application.js. Where i made mistake
[09:24:30] matthewd: Jet4Fire: You need to precompile your assets
[09:24:30] yashinbasement: matthewd what's the right way to initiate a job :)
[09:25:26] matthewd: yashinbasement: Compare what you have now, to what's in the documentation. They look quite different.
[09:25:32] Jet4Fire: @matthewd like that rake assets:precompile
[09:28:04] yashinbasement: I don't the prob by comparing the docs , do you see any prob matthewd ?
[09:30:03] avemestr: has joined #RubyOnRails
[09:30:43] djbkd: has joined #RubyOnRails
[09:33:29] matthewd: Jet4Fire: Yes. Did that help?
[09:33:53] Jet4Fire: @matthewd Yes, thank you!
[09:34:33] matthewd: yashinbasement: Look at the contents of the 'every' blocks... they do not contain code to be run.
[09:35:41] AzaToth: has joined #RubyOnRails
[09:38:41] shibabu: has joined #RubyOnRails
[09:39:43] Guest45580: has joined #RubyOnRails
[09:40:48] Guest45580: has left #RubyOnRails: ()
[09:40:50] Cervajz: has joined #RubyOnRails
[09:40:50] alex88: has joined #RubyOnRails
[09:41:24] pyemkey: has joined #RubyOnRails
[09:41:54] bmalum: has joined #RubyOnRails
[09:46:55] nbdy: has joined #RubyOnRails
[09:48:05] FernandoBasso: has joined #RubyOnRails
[09:51:16] brandoncc: has joined #RubyOnRails
[09:56:39] avemestr: has joined #RubyOnRails
[09:57:17] avemestr: has joined #RubyOnRails
[10:03:21] bmalum: has joined #RubyOnRails
[10:05:17] Cervajz: has joined #RubyOnRails
[10:07:06] Cervajz_: has joined #RubyOnRails
[10:07:52] arup_r: has joined #RubyOnRails
[10:10:07] bePolite: has joined #RubyOnRails
[10:10:08] bePolite: has joined #RubyOnRails
[10:10:56] cyfr0n: has joined #RubyOnRails
[10:11:17] zenobia: has joined #RubyOnRails
[10:13:22] aujt74: has joined #RubyOnRails
[10:15:30] cyfr0n: has joined #RubyOnRails
[10:15:38] sleungcy: has joined #RubyOnRails
[10:19:39] sleungcy: has joined #RubyOnRails
[10:22:10] tibra: has joined #RubyOnRails
[10:22:26] roshanavand: has joined #RubyOnRails
[10:25:37] PedramT: has joined #RubyOnRails
[10:26:12] kmckelvin: has joined #RubyOnRails
[10:29:59] TheMoonMaster: has joined #RubyOnRails
[10:31:26] lethjakman: has joined #RubyOnRails
[10:36:34] bmalum: has joined #RubyOnRails
[10:36:42] sandstrom: has joined #RubyOnRails
[10:37:43] rubyonrails910: has joined #RubyOnRails
[10:41:48] futilegames: has joined #RubyOnRails
[10:44:19] PedramT: has joined #RubyOnRails
[10:45:35] PedramT_: has joined #RubyOnRails
[10:47:18] jcm: has joined #RubyOnRails
[10:52:36] yashinbasement: Hi there, I want to have a dropdown , and depending on which option is selected it will fetch the data from database , what's the best way to approach it
[10:53:21] sevenseacat: step 1. make the dropdown. step 2. populate it. step 3. write the behaviour you want to happen when you select an option.
[10:53:33] sevenseacat: seems pretty straightforward.
[10:55:46] Cervajz: has joined #RubyOnRails
[10:56:28] arup_r: yashinbasement: after step-3 you may want Ajax call with remote: true..
[10:57:28] sevenseacat: maybe. we dont know.
[10:58:34] PedramT: has joined #RubyOnRails
[11:04:30] qejk: has joined #RubyOnRails
[11:06:02] Scripore: has joined #RubyOnRails
[11:09:16] yashinbasement: my home page has a link which is handled by another controller , how should I pass some object (some record) to other controller
[11:09:53] sevenseacat: you can pass the ID of the record to the other controller, as part of the URL or whatnot
[11:10:50] TheMoonMaster: has joined #RubyOnRails
[11:12:15] yashinbasement: yes can you give me any related link , that would be awesome
[11:12:30] sevenseacat: related to what?
[11:12:34] sevenseacat: creating a link?
[11:13:24] yashinbasement: adding id to url, as controller normally gets params what in the model,
[11:16:19] yashinbasement: ahh cool, so we create a route accorind to that,
[11:16:48] sameerynho: has joined #RubyOnRails
[11:19:25] bmalum: has joined #RubyOnRails
[11:20:07] shibabu: has joined #RubyOnRails
[11:20:22] Scripore: has joined #RubyOnRails
[11:20:50] RegulationD: has joined #RubyOnRails
[11:22:25] arup_r: has joined #RubyOnRails
[11:25:01] lxsameer__: has joined #RubyOnRails
[11:25:15] arup_r: has joined #RubyOnRails
[11:27:49] arup_r: has joined #RubyOnRails
[11:28:30] arup_r: has joined #RubyOnRails
[11:29:40] FooMunki: has joined #RubyOnRails
[11:29:45] arup_r: has joined #RubyOnRails
[11:30:29] arup_r: has joined #RubyOnRails
[11:31:05] arup_r: has joined #RubyOnRails
[11:32:02] madebymarkca: has joined #RubyOnRails
[11:32:20] arup_r: has joined #RubyOnRails
[11:32:58] arup_r: has joined #RubyOnRails
[11:34:14] arup_r: has joined #RubyOnRails
[11:34:22] Xentil: has joined #RubyOnRails
[11:34:25] sameerynho: has joined #RubyOnRails
[11:34:42] yfeldblum: has joined #RubyOnRails
[11:34:52] arup_r: has joined #RubyOnRails
[11:36:05] thejamespinto: has joined #RubyOnRails
[11:36:05] arup_r: has joined #RubyOnRails
[11:36:47] arup_r: has joined #RubyOnRails
[11:38:03] arup_r: has joined #RubyOnRails
[11:38:49] agoldboi: has joined #RubyOnRails
[11:39:19] arup_r: has joined #RubyOnRails
[11:39:58] arup_r: has joined #RubyOnRails
[11:41:12] arup_r: has joined #RubyOnRails
[11:41:21] alex88: has joined #RubyOnRails
[11:41:31] arup_r: has joined #RubyOnRails
[11:41:41] sandstrom: has joined #RubyOnRails
[11:46:40] lipoqil: has joined #RubyOnRails
[11:49:04] djbkd: has joined #RubyOnRails
[11:50:10] moonman: has joined #RubyOnRails
[11:50:15] DEA7TH: has joined #RubyOnRails
[11:50:20] moonman: why is rails popularity declining?
[11:50:59] avemestr: has joined #RubyOnRails
[11:53:02] TheMoonMaster: has joined #RubyOnRails
[11:53:42] Megamosaren: has joined #RubyOnRails
[11:54:23] moonman: less jobs for rails than a year ago
[11:54:25] sevenseacat: what evidence do you have of this?
[11:54:37] sevenseacat: maybe in your area
[11:54:48] moonman: i live in san francisco
[11:55:22] bePolite: has joined #RubyOnRails
[11:55:22] bePolite: has joined #RubyOnRails
[11:55:44] bePolite: has joined #RubyOnRails
[11:55:44] bePolite: has joined #RubyOnRails
[11:57:49] Coldblackice: has joined #RubyOnRails
[11:59:58] doodlehaus: has joined #RubyOnRails
[12:00:44] Palsson: has joined #RubyOnRails
[12:01:32] Coldblackice: has joined #RubyOnRails
[12:07:13] nerfando: moonman do you see more jobs in other languages/frameworks? If yes, which ones?
[12:07:31] moonman: .net and full stack js
[12:07:53] moonman: now i see even swift postings
[12:09:05] sevenseacat: theyre not taking away from rails though
[12:09:09] sevenseacat: they're not the same market
[12:10:14] Guest38495: has joined #RubyOnRails
[12:13:17] moonman: full stack js is in the same market as rails
[12:13:24] moonman: and so is .net
[12:13:30] sevenseacat: i dont think so.
[12:13:33] sevenseacat: not js, anyway.
[12:13:54] moonman: mean is killing rails
[12:14:12] sevenseacat: because you see more nodejs job ads than a year ago?
[12:14:17] tibra_: has joined #RubyOnRails
[12:14:20] sevenseacat: well, colour me convinced.
[12:15:28] doodlehaus: has joined #RubyOnRails
[12:15:45] sandstrom: has joined #RubyOnRails
[12:17:07] moonman: sevenseacat: ruby on rails is dying and you're in denial because of your job insecurity
[12:17:16] sevenseacat: i have no job insecurity
[12:17:28] sevenseacat: moonman: i'd like you to quit your trolling now.
[12:20:13] lethjakman: has joined #RubyOnRails
[12:22:35] quazimodo: has joined #RubyOnRails
[12:22:48] quazimod1: has joined #RubyOnRails
[12:23:59] agoldboi: has joined #RubyOnRails
[12:26:25] davzie: has joined #RubyOnRails
[12:26:50] moonman: sevenseacat: if you didn't you wouldn't be trolling right now
[12:27:01] ElFerna: has joined #RubyOnRails
[12:27:38] davzie: Hey all, would you say Ruby on Rails is a good fit for building business applications / products with complex business logic? I'm a PHP developer looking to move to a language with a more zen-like syntax but I'm concerned, looking at Rails that it forces perhaps too much magic on things that you can't break it apart and go fully rambo on things if you need to.
[12:27:46] ChanServ: +q *!*@gateway/web/freenode/ip.146.185.31.221
[12:28:05] sevenseacat: davzie: absolutely :)
[12:28:28] sevenseacat: it does lean heavily on convention over configuration, but there is the flexibility to bend things that you need to
[12:28:38] davzie: Are there any projects out there, that I can look at that show best-practices, preferrably with advanced programming patterns implemented where required :)
[12:28:49] arup_r: has joined #RubyOnRails
[12:29:30] arup_r: has joined #RubyOnRails
[12:29:49] sevenseacat: something like solidus might be a place to start, an ecommerce system built in rails - https://github.com/solidusio/solidus
[12:30:08] arup_r: has joined #RubyOnRails
[12:30:09] davzie: Back the fuck up
[12:30:14] davzie: You can have several apps within one?
[12:30:18] davzie: Like a frontend, backend and API?
[12:30:28] davzie: That's a layer of separation I don't get with Laravel :)
[12:30:44] arup_r: has joined #RubyOnRails
[12:30:59] Megamos: davzie: https://github.com/ekremkaraca/awesome-rails
[12:31:14] sevenseacat: Megamos: oh, nice.
[12:32:04] ayonkhan: has joined #RubyOnRails
[12:32:07] davzie: Thanks so much for your help guys
[12:32:08] arup_r: has joined #RubyOnRails
[12:32:10] davzie: Lots to digest for sure
[12:32:19] davzie: Just gotta grow a pair and commit to using it on a project next
[12:33:06] arup_r: has joined #RubyOnRails
[12:33:12] vedu: Do fixures not load in controller test cases?
[12:34:05] vedu: I get an empty array when doing some_fixture.inspect in controller test case, but it works as expected in model test cases
[12:34:29] sevenseacat: vedu: not by default.
[12:35:34] ferr: has joined #RubyOnRails
[12:35:53] vedu: sevenseacat: oh. Then how I can load them?
[12:36:16] nerium: has joined #RubyOnRails
[12:36:31] vedu: For some reason I cannot find much on google for "load fixture in controller test case rails"
[12:36:45] sevenseacat: what test framework are you using?
[12:36:51] sevenseacat: and what does your code currently look like?
[12:38:19] vedu: Using the default rails test framework. in test/ I have test/fixtures/models.yml and loading it in a test in a ModelsControllerTest by calling models
[12:39:37] sevenseacat: thats not helpful
[12:40:49] shibabu: has joined #RubyOnRails
[12:41:34] vedu: sevenseacat: here: https://gist.github.com/vedant1811/4d56efb4a13d7d573643 :)
[12:42:13] sevenseacat: and what does your test_helper.rb look like?
[12:42:46] vedu: sevenseacat: the default: https://gist.github.com/vedant1811/4d56efb4a13d7d573643
[12:42:54] c355E3B: has joined #RubyOnRails
[12:43:48] Cervajz: has joined #RubyOnRails
[12:45:50] sevenseacat: ok. now someone familiar with minitest can help you out.
[12:46:16] cyfr0n: has joined #RubyOnRails
[12:47:48] roshanavand: has joined #RubyOnRails
[12:48:06] kitsuneyo: has joined #RubyOnRails
[12:49:25] Redux: has joined #RubyOnRails
[12:49:50] Redux: Is there a way to call views in rails async?
[12:50:36] meoblast001: has joined #RubyOnRails
[12:51:23] Rikle_S: has left #RubyOnRails: ()
[12:53:58] DEA7TH: I have a default scope but it has stopped working! How is that even possible?
[12:54:09] DEA7TH: It's as if I don't have it.
[12:55:33] dionysus69: has joined #RubyOnRails
[12:55:51] DEA7TH: ah, it's caching the first call.
[12:58:13] nertzy: has joined #RubyOnRails
[13:02:36] Megamosaren: has joined #RubyOnRails
[13:04:15] arup_r: has joined #RubyOnRails
[13:07:00] TinGGG: has joined #RubyOnRails
[13:15:20] ElFerna: has joined #RubyOnRails
[13:16:22] bulldawgden: has joined #RubyOnRails
[13:18:48] TheMoonMaster: has joined #RubyOnRails
[13:20:58] arBmind: has joined #RubyOnRails
[13:24:08] PedramT: has joined #RubyOnRails
[13:24:14] thejamespinto: has joined #RubyOnRails
[13:29:32] _Tariq: has joined #RubyOnRails
[13:30:53] roshanavand: has joined #RubyOnRails
[13:31:22] sandstrom: has joined #RubyOnRails
[13:32:28] Zamerick: has joined #RubyOnRails
[13:35:52] FooMunki: has joined #RubyOnRails
[13:40:57] fox_mulder_cp: has joined #RubyOnRails
[13:41:06] Cervajz__: has joined #RubyOnRails
[13:42:10] alex88: has joined #RubyOnRails
[13:42:39] FooMunki: has joined #RubyOnRails
[13:45:58] roshanavand: has joined #RubyOnRails
[13:48:49] dronov: has joined #RubyOnRails
[13:51:06] DEA7TH: has joined #RubyOnRails
[13:52:49] dronov: has joined #RubyOnRails
[13:53:51] dronov: has joined #RubyOnRails
[13:54:10] ibouvousaime: has joined #RubyOnRails
[13:54:24] PedramT: has joined #RubyOnRails
[13:54:35] Guest70_: has joined #RubyOnRails
[13:58:53] Megamosaren: has joined #RubyOnRails
[14:03:44] arup_r: has joined #RubyOnRails
[14:04:56] arup_r: has joined #RubyOnRails
[14:05:42] tibra: has joined #RubyOnRails
[14:08:37] tibra_: has joined #RubyOnRails
[14:08:59] lethjakman: has joined #RubyOnRails
[14:23:05] netzfisch: has joined #RubyOnRails
[14:25:30] bePolite: has joined #RubyOnRails
[14:27:00] joshsmith: has joined #RubyOnRails
[14:29:21] shibabu: has joined #RubyOnRails
[14:29:36] nocd: has joined #RubyOnRails
[14:31:34] atomical: has joined #RubyOnRails
[14:37:18] Cervajz: has joined #RubyOnRails
[14:39:21] PedramT: has joined #RubyOnRails
[14:39:32] bePolite: has joined #RubyOnRails
[14:39:32] bePolite: has joined #RubyOnRails
[14:40:22] sankaber: has joined #RubyOnRails
[14:42:01] doodlehaus: has joined #RubyOnRails
[14:44:42] bmalum: has joined #RubyOnRails
[14:45:44] ibouvousaime: has joined #RubyOnRails
[14:45:48] arup_r: has joined #RubyOnRails
[14:50:04] atomical_: has joined #RubyOnRails
[14:51:21] choke: has joined #RubyOnRails
[14:53:30] Guest70_: has left #RubyOnRails: ()
[14:55:14] atomical: has joined #RubyOnRails
[15:05:04] iateadonut: has joined #RubyOnRails
[15:06:26] HalcyonicStorm: has joined #RubyOnRails
[15:08:06] adavia: has joined #RubyOnRails
[15:09:41] Megamos: has joined #RubyOnRails
[15:11:43] fungoat: has joined #RubyOnRails
[15:19:36] atomical_: has joined #RubyOnRails
[15:22:20] RegulationD: has joined #RubyOnRails
[15:29:09] nullwarp: has joined #RubyOnRails
[15:30:50] _Tariq: has joined #RubyOnRails
[15:30:53] Scripore: has joined #RubyOnRails
[15:30:57] PedramT: has joined #RubyOnRails
[15:33:36] drale2k: has joined #RubyOnRails
[15:34:07] shibabu: has joined #RubyOnRails
[15:34:15] kp666: has joined #RubyOnRails
[15:37:37] ElFerna: has joined #RubyOnRails
[15:38:12] dtordable: has joined #RubyOnRails
[15:42:24] ferr: has joined #RubyOnRails
[15:42:56] mary5030: has joined #RubyOnRails
[15:43:00] alex88: has joined #RubyOnRails
[15:50:22] antgel: has joined #RubyOnRails
[15:52:48] dtordable: Hello minna san
[15:54:58] jottr: has joined #RubyOnRails
[15:55:01] unreal: has joined #RubyOnRails
[15:55:39] lxsameer__: has joined #RubyOnRails
[15:57:37] lethjakman: has joined #RubyOnRails
[16:00:37] njero: has joined #RubyOnRails
[16:03:36] rodfersou: has joined #RubyOnRails
[16:05:11] bmalum: has joined #RubyOnRails
[16:09:12] _HombreTepic: has joined #RubyOnRails
[16:14:08] nonmadden: has joined #RubyOnRails
[16:17:25] ql6wlld: has joined #RubyOnRails
[16:18:55] atomical: has joined #RubyOnRails
[16:20:47] _Tariq: has joined #RubyOnRails
[16:23:41] lexileo: has joined #RubyOnRails
[16:25:55] Cervajz: has joined #RubyOnRails
[16:26:33] iateadonut: has joined #RubyOnRails
[16:28:47] arup_r: has joined #RubyOnRails
[16:35:14] theod: has joined #RubyOnRails
[16:37:34] tvw: has joined #RubyOnRails
[16:38:11] ElFerna: has joined #RubyOnRails
[16:42:47] thejamespinto: has joined #RubyOnRails
[16:43:39] Gizmokid2005: has joined #RubyOnRails
[16:45:39] derick_skibotn: has joined #RubyOnRails
[16:46:24] S1kx: has joined #RubyOnRails
[16:46:38] Gizmokid2010: has joined #RubyOnRails
[16:51:39] ql6wlld_: has joined #RubyOnRails
[16:53:05] ElFerna: has joined #RubyOnRails
[16:56:18] atomical: has joined #RubyOnRails
[16:56:25] kp666: has joined #RubyOnRails
[16:57:21] kp666: has joined #RubyOnRails
[16:58:09] _Tariq: has joined #RubyOnRails
[16:58:29] lethjakman: has joined #RubyOnRails
[17:06:08] diegoviola: has joined #RubyOnRails
[17:07:40] arup_r: has joined #RubyOnRails
[17:16:03] Megamos: has joined #RubyOnRails
[17:16:07] vedu: Hello. How to load fixtures in `ActionController::TestCase` ? code: https://gist.github.com/vedant1811/4d56efb4a13d7d573643
[17:16:36] atomical: has joined #RubyOnRails
[17:16:40] FailBit: models(:first) does not work?
[17:17:03] vedu: FailBit: nope. models is an empty array
[17:17:04] tvw: has joined #RubyOnRails
[17:17:29] vedu: Funny is not even nil. its an empty array/hash
[17:17:53] FailBit: models is a function
[17:17:59] FailBit: not an object
[17:18:21] fox_mulder_cp: FailBit: in fixtures you may use named instances. firstuser -> name: firstuser, sirname: ... etc
[17:18:33] FailBit: fox_mulder_cp: yes, I know how fixtures work
[17:18:42] nocd: has joined #RubyOnRails
[17:19:07] nocd: has left #RubyOnRails: ()
[17:23:12] RegulationD: has joined #RubyOnRails
[17:32:06] lele: has joined #RubyOnRails
[17:36:11] vedu: FailBit, fox_mulder_cp: any idea how to fix my issue
[17:36:21] m3_del: has joined #RubyOnRails
[17:36:35] FailBit: you haven't helped me out any by saying whether models(:first) works
[17:36:47] FailBit: s/by/you would need to/
[17:37:03] shibabu: has joined #RubyOnRails
[17:40:27] derick_skibotn: has joined #RubyOnRails
[17:40:54] vedu: FailBit: on model(:first) I get TypeError: no implicit conversion of Symbol into Integer
[17:41:31] FailBit: on models(:first) ?
[17:41:33] FailBit: or on model(:first)
[17:42:02] FailBit: you're supposed to use the first form
[17:43:05] vedu: FailBit: oh shoot I was using models[:first}
[17:43:14] vedu: models[:first] *
[17:43:19] FailBit: use models(:first)
[17:43:25] FailBit: it's a function, not an object
[17:43:41] alex88: has joined #RubyOnRails
[17:45:07] ql6wlld: has joined #RubyOnRails
[17:45:48] vedu: FailBit: right
[17:48:34] smathy: has joined #RubyOnRails
[17:53:43] theod: has joined #RubyOnRails
[17:54:13] madebymarkca: has joined #RubyOnRails
[17:54:46] melonstorm: has joined #RubyOnRails
[17:56:37] atomical: has joined #RubyOnRails
[17:58:39] yardenbar: has joined #RubyOnRails
[18:02:13] ziyadb: has joined #RubyOnRails
[18:02:53] PedramT: has joined #RubyOnRails
[18:03:00] Palsson: has joined #RubyOnRails
[18:03:37] Tref: has joined #RubyOnRails
[18:04:24] alex88: has joined #RubyOnRails
[18:07:57] xlegoman: has joined #RubyOnRails
[18:11:38] lethjakman: has joined #RubyOnRails
[18:11:39] Aherin: has joined #RubyOnRails
[18:13:32] S1kx: has joined #RubyOnRails
[18:13:50] Cervajz: has joined #RubyOnRails
[18:19:01] atomical: has joined #RubyOnRails
[18:19:20] f00dMonsta_: has joined #RubyOnRails
[18:19:58] derick_skibotn: has joined #RubyOnRails
[18:20:50] sleungcy: has joined #RubyOnRails
[18:22:17] f00dMonsta: has joined #RubyOnRails
[18:23:03] s2013: has joined #RubyOnRails
[18:27:19] f00dMonsta_: has joined #RubyOnRails
[18:32:09] Megamos: has joined #RubyOnRails
[18:36:22] f00dMonsta__: has joined #RubyOnRails
[18:38:51] bePolite: has joined #RubyOnRails
[18:40:08] lethjakman: has joined #RubyOnRails
[18:40:20] XangadiX: has joined #RubyOnRails
[18:40:57] s2013: has joined #RubyOnRails
[18:42:27] Tref: Hey guys im running a rails app on dokku/docker/digitalocean that I didn???t set up. There???s no dockerfile for this application and Im wondering where the post install script is coming from. It looks like when I push my rails app to the dokku repo its running bundle install and a number of other scripts
[18:42:56] f00dMonsta_: has joined #RubyOnRails
[18:45:11] atomical: has joined #RubyOnRails
[18:47:04] f00dMonsta: has joined #RubyOnRails
[18:47:58] nickjj: tref, seems fairly specific to dokku maybe
[18:48:28] Tref: nickjj: it is, no one is answering over there _tumbleweed_
[18:48:51] nickjj: i haven't used dokku, but do have a lot of exp with docker, i would have expected a dockerfile
[18:49:00] nickjj: but maybe dokku does everything based on a hook
[18:49:15] Tref: yeah theres is no dockerfile in my app
[18:49:17] nickjj: so i would poke around the server looking for a git hooks, or check dokku's documentation to see how it is
[18:49:36] Tref: nickjj: checked the docshttp://dokku.viewdocs.io/dokku/application-deployment/
[18:49:39] Tref: whoops http://dokku.viewdocs.io/dokku/application-deployment/
[18:50:04] Tref: nickjj: ???Dokku supports deploying applications via Heroku buildpacks with Herokuish or using a project's dockerfile.???
[18:50:30] nickjj: yeah, it's probably done with a build pack then in your case
[18:51:01] TheNet: has joined #RubyOnRails
[18:51:19] dionysus69: has joined #RubyOnRails
[18:53:09] f00dMonsta_: has joined #RubyOnRails
[18:53:57] PedramT: has joined #RubyOnRails
[18:55:43] lethjakman: has joined #RubyOnRails
[18:55:58] sandstrom: has joined #RubyOnRails
[18:56:29] alex88: has joined #RubyOnRails
[18:57:25] ElFerna: has joined #RubyOnRails
[18:57:55] craysiii: has joined #RubyOnRails
[18:58:32] f00dMonsta__: has joined #RubyOnRails
[19:00:44] atomical: has joined #RubyOnRails
[19:04:48] ur5us: has joined #RubyOnRails
[19:05:03] atomical: has joined #RubyOnRails
[19:05:08] ur5us: has joined #RubyOnRails
[19:05:24] diegoviola: this problem is driving me insane, I'm trying to update a chart with ajax, I can see the json being returned in the success call, etc. but when I try to .html() or .empty().append() the new chart, I just get some blank output: https://gist.github.com/diegoviola/9183b7fde62f7393aa6e
[19:05:26] diegoviola: or nothing back
[19:05:30] diegoviola: what I'm doing wrong?
[19:05:43] diegoviola: login_update is where I return the json for the update
[19:05:58] diegoviola: I'm using chartkick
[19:07:25] TheMoonMaster: has joined #RubyOnRails
[19:10:36] rogue_koder: has joined #RubyOnRails
[19:11:03] FooMunki: has joined #RubyOnRails
[19:14:06] FooMunki: has joined #RubyOnRails
[19:14:15] iFrey: has joined #RubyOnRails
[19:14:44] Cervajz: has joined #RubyOnRails
[19:17:52] yardenbar: has joined #RubyOnRails
[19:19:43] rhizome: has joined #RubyOnRails
[19:21:41] atomical: has joined #RubyOnRails
[19:22:04] PedramT: has joined #RubyOnRails
[19:23:26] diegoviola: the hash I was returning was wrong
[19:24:17] FooMunki: has joined #RubyOnRails
[19:25:08] hahuang61: has joined #RubyOnRails
[19:25:18] derick_skibotn: has joined #RubyOnRails
[19:26:04] netzfisch: has joined #RubyOnRails
[19:26:33] lethjakman: has joined #RubyOnRails
[19:32:40] marr: has joined #RubyOnRails
[19:32:56] corioliss: has joined #RubyOnRails
[19:33:17] Zamerick: has joined #RubyOnRails
[19:33:27] brandoncc: has joined #RubyOnRails
[19:34:03] voker57: has joined #RubyOnRails
[19:34:03] voker57: has joined #RubyOnRails
[19:34:42] Jasaka: has joined #RubyOnRails
[19:35:13] mrchris: has joined #RubyOnRails
[19:35:41] leeky: has joined #RubyOnRails
[19:36:26] s2013: has joined #RubyOnRails
[19:37:38] shibabu: has joined #RubyOnRails
[19:37:50] nfk: has joined #RubyOnRails
[19:41:04] thecyclone: has joined #RubyOnRails
[19:45:29] mrchris: has joined #RubyOnRails
[19:46:53] doodlehaus: has joined #RubyOnRails
[19:47:43] arup_r: diegoviola: your client is now happy ? :)
[19:49:06] diegoviola: I was returning:
[19:49:11] diegoviola: render json: Measurement.where(created_at: start_date..end_date).to_json
[19:49:15] diegoviola: I had to return:
[19:49:21] diegoviola: render json: Measurement.where(code: 'login_interval').where(created_at: start_date..end_date).group(:created_at).sum(:value).to_json
[19:49:32] diegoviola: forgot I had more than login_interval in there
[19:50:08] diegoviola: arup_r: he has been happy since they even gave me a beer the other day, they are just a little pushy/impatient
[19:50:23] diegoviola: but I can understand that and their reason for being so
[19:51:29] diegoviola: https://www.youtube.com/watch?v=IuGO6WHcruU
[19:52:01] diegoviola: I've been listening to this while coding
[19:56:56] mrbubbles: has joined #RubyOnRails
[19:58:28] bud: has joined #RubyOnRails
[19:58:31] baweaver: has joined #RubyOnRails
[19:59:22] lemur: has joined #RubyOnRails
[20:00:38] rhizome: ghostly international is a pretty great label
[20:01:10] bud: has joined #RubyOnRails
[20:02:08] Cervajz_: has joined #RubyOnRails
[20:02:36] s2013: has joined #RubyOnRails
[20:05:58] s2013: has joined #RubyOnRails
[20:06:56] ur5us: has joined #RubyOnRails
[20:08:22] yardenbar: has joined #RubyOnRails
[20:16:47] weaksauce: has joined #RubyOnRails
[20:24:11] s2013: has joined #RubyOnRails
[20:24:38] RegulationD: has joined #RubyOnRails
[20:25:05] doodlehaus: has joined #RubyOnRails
[20:31:09] craysiii: have people updated to ruby 2.3 yet? any issues with rails?
[20:31:29] havenwood: craysiii: Haven't had any trouble.
[20:31:46] havenwood: craysiii: Just a lot less #try! ;)
[20:31:47] rhizome: no, but if you have tests it's easy to do
[20:32:12] craysiii: been gone for a while
[20:32:17] craysiii: glad to be back
[20:32:35] XangadiX: has joined #RubyOnRails
[20:36:54] pawnbox: has joined #RubyOnRails
[20:37:42] Pupeno: has joined #RubyOnRails
[20:37:42] Pupeno: has joined #RubyOnRails
[20:40:34] diegoviola: do you guys use opal?
[20:40:40] rhizome: never heard of it
[20:40:47] diegoviola: http://opalrb.org/
[20:40:48] rhizome: p.s. you're working on a sunday
[20:41:53] doodlehaus: has joined #RubyOnRails
[20:42:23] ur5us: has joined #RubyOnRails
[20:46:29] ZiggyTheHamster: has joined #RubyOnRails
[20:46:30] ZiggyTheHamster: has joined #RubyOnRails
[20:48:58] _Tariq: has joined #RubyOnRails
[20:49:47] s2013: has joined #RubyOnRails
[20:51:58] ibouvousaime: has joined #RubyOnRails
[20:55:14] [ddmp]: has joined #RubyOnRails
[20:56:24] ziggy: has joined #RubyOnRails
[20:57:08] alex88: has joined #RubyOnRails
[20:57:38] ziyadb: has joined #RubyOnRails
[21:02:45] agoldboi: has joined #RubyOnRails
[21:03:50] centrx: has joined #RubyOnRails
[21:09:00] sergey_makagon: has joined #RubyOnRails
[21:10:32] superlou: has joined #RubyOnRails
[21:11:14] Hans267: has joined #RubyOnRails
[21:11:21] pawnbox: has joined #RubyOnRails
[21:12:18] lethjakman: has joined #RubyOnRails
[21:12:22] [dmp]: has joined #RubyOnRails
[21:14:35] yfeldblum: has joined #RubyOnRails
[21:15:08] guacamole: has joined #RubyOnRails
[21:15:29] guacamole: has joined #RubyOnRails
[21:17:54] Cache_Money: has joined #RubyOnRails
[21:20:43] s2013: has joined #RubyOnRails
[21:21:17] hahuang61: has joined #RubyOnRails
[21:21:41] fox_mulder_cp: yes. i work all evenings for a my project too (
[21:22:57] diegoviola: should I add a spinner or something like that to my ajax? that's a bad idea these days, no?
[21:23:03] diegoviola: it's so fast I can't even see when it's loading
[21:24:33] sublimate: Hey guys - what's the best authentication gem if I just want to have a user model with some associations?
[21:24:43] sandstrom: has joined #RubyOnRails
[21:26:02] Papierkorb: diegoviola: if you want, you could display the spinner a moment later. like after a second. usually it won't show up and users get what they wanted. else they know that something is happening.
[21:28:47] fox_mulder_cp: sublimate: pundit
[21:29:18] threeminutemonta: has joined #RubyOnRails
[21:29:32] sublimate: fox_mulder_cp: What's good about it vs the other solutions?
[21:29:45] Radar: It's recommended in Rails 4 in Action
[21:29:54] Radar: Those people have exceptionally good taste.
[21:29:57] diegoviola: Papierkorb: yeah, thanks
[21:30:22] sublimate: Radar: Oh, cool. Is that a resource that's free?
[21:30:25] fox_mulder_cp: sublimate: cancan - die, pundit easy in use
[21:30:27] Radar: sublimate: !r4ia
[21:30:28] helpa: sublimate: 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
[21:30:42] Radar: sublimate: Free if you know the right people.
[21:30:47] Radar: sublimate: i.e. the authors
[21:30:51] FailBit: fox_mulder_cp: AUTHENTICATION, not AUTHORIZATION
[21:30:52] Radar: sublimate: i.e. me
[21:30:53] FailBit: sublimate: devise
[21:31:09] FailBit: pundit is not an authentication solution
[21:31:15] sublimate: Radar: Oooh. xD How about that? :P
[21:31:32] Radar: sublimate: PM me your GitHub username.
[21:31:34] sublimate: FailBit: Hm. I want to make a thing where people can log in and I can store 'posts' from users.
[21:31:53] fox_mulder_cp: Radar: oh. u author?)
[21:32:08] Radar: fox_mulder_cp: Yes, I am Ryan Bigg. I wrote Rails 3 in Action, then Rails 4 in Action (with the help of sevenseacat)
[21:32:12] sublimate: FailBit: Basically, I'm making Reddit.
[21:32:17] sublimate: Or a dumb Reddit clone.
[21:32:20] FailBit: sublimate: you would want to use devise for authentication
[21:32:21] sublimate: To learn how2rails :)
[21:33:38] fox_mulder_cp: Radar: wow. it's cool.
[21:34:10] mary5030: has joined #RubyOnRails
[21:34:16] FailBit: for authorization
[21:34:21] FailBit: cancancan or pundit are your main options
[21:34:25] FailBit: with strong opinions either way
[21:34:52] Radar: sevenseacat and I evaluated both cancancan and pundit for R4IA and ultimately settled on Pundit.
[21:35:11] FailBit: pundit because it has lots of objects, or cancancan because some people prefer monolithicism
[21:36:03] sublimate: FailBit: I'm trying to think of the difference between authorization and authentication
[21:36:13] FailBit: authentication is signing in the user
[21:36:20] FailBit: authorization is whether the user is allowed to do something
[21:36:34] Radar: Chapters 6, 7, and 8 of Rails 4 in Action :P
[21:38:13] sublimate: So I'm coming from Python
[21:38:24] sublimate: And I'm worrying what the equivalent of virtualenvs is
[21:38:30] mary5030: has joined #RubyOnRails
[21:38:33] Radar: chruby+ruby-install
[21:38:49] Radar: RVM is literally Satan itself
[21:39:05] FailBit: I don't really care as long as there is ruby
[21:39:13] FailBit: I only keep one version installed at any time
[21:39:15] FailBit: so it doesn't matter
[21:39:27] Radar: FailBit: I enjoy the part where ruby-install compiles my Rubies with SSL support
[21:39:39] Radar: FailBit: RVM has failed to do that for me on more than one occasion and on more than one machine
[21:39:40] FailBit: I use rbenv myself
[21:39:42] matthewd: I think virtualenv has a fair conceptual overlap with bundler (too?)
[21:40:40] Radar: Wouldn't know. I only ever used Python once in anger to parse 5 years of channel logs.
[21:40:53] shibabu: has joined #RubyOnRails
[21:40:54] gvillalta99: has joined #RubyOnRails
[21:40:59] fox_mulder_cp: Radar: so, what about rails 5 guides?)
[21:40:59] Radar: Cracked the shits when Active Record was too slow
[21:41:13] Radar: fox_mulder_cp: Doesn't it work the same as Rails 4?
[21:41:41] pawnbox: has joined #RubyOnRails
[21:42:17] fox_mulder_cp: Radar: i'm idiotto, i can knows abour websockets and cable ( this easy chat example - crazy, for me, as example
[21:42:32] Radar: Ugh. Don't talk to me about websockets in Rails.
[21:42:40] Radar: I think DHH has hacked up a solution and it's going to lead to a lot of tears.
[21:42:59] Radar: They've basically gone "OOOH NEW SHINY!" and added it to Rails without any community consensus.
[21:43:14] Radar: Just like they did with Sprockets. Just like they did with Turbolinks. Just like they did with jbuilder (although I do agree with this)
[21:43:23] FailBit: and coffeescript, actually
[21:43:35] FailBit: I wouldn't mind it so much
[21:43:36] FailBit: if it didn't have
[21:43:40] FailBit: hideous grammar bugs
[21:43:41] matthewd: "Rails", "community consensus"... ????
[21:43:44] Radar: fox_mulder_cp: !enternotspace
[21:43:44] helpa: fox_mulder_cp: The enter key should not be used as a space bar. Lines on IRC can be up to 400 characters long.
[21:43:50] Radar: Whoops, that was meant for FailBit
[21:44:07] Radar: matthewd: ikr
[21:44:23] FailBit: http://js2.coffee/#coffee/try:%0Afoo%0A%09a%3A%20x%0A%09b%3A%20y%0A%0Afoo%0A%09a%3A%20x%0A%20%20b%3A%20y
[21:44:45] matthewd: I do like the fact that we're integrating a thing... but would like to see it more flexible on the implementation
[21:45:08] Palsson: has joined #RubyOnRails
[21:45:09] fox_mulder_cp: so, i sometimes think about my developer-life-way-path, when i switch from windows enterprise admin to linux shared hosting hostmaster and select rails after bash, perl for writing my own shared hosting control panel
[21:45:16] matthewd: (and DHH is fine with that, for the record... but someone has to do the work)
[21:45:49] FailBit: Radar: oops
[21:46:02] Papierkorb: FailBit: Even in opal's parser I've yet to find such a big one. And Opal produced garbage on "return %{foo}".
[21:46:07] armyriad: has joined #RubyOnRails
[21:46:20] FailBit: Radar: I tend to do that more often when soapboxing
[21:47:12] FailBit: Papierkorb: here's another one https://tinyurl.com/jv6cjqk
[21:47:30] ja: I'm in so much trouble I can't possibly dream of phrasing a proper question.
[21:47:41] dtordable: has joined #RubyOnRails
[21:47:57] FailBit: phrase it and I'll try to avoid smacking you around too much
[21:48:01] centrx: has joined #RubyOnRails
[21:48:18] ja: :x well??? brb
[21:49:26] diegoviola: do you guys use/like opal?
[21:49:35] Papierkorb: I do. I like it.
[21:49:59] Cervajz: has joined #RubyOnRails
[21:50:12] dtordable: has joined #RubyOnRails
[21:50:42] FailBit: I have never used opal
[21:51:02] Radar: I've been too busy in the land of Elixir.
[21:51:03] _Tariq: has joined #RubyOnRails
[21:51:30] FailBit: ooh I got an idea
[21:51:32] peeja: has joined #RubyOnRails
[21:51:32] zpe: has joined #RubyOnRails
[21:51:37] FailBit: let's see what opal does when I feed it the source code to my compiler
[21:52:04] duncannz: has joined #RubyOnRails
[21:52:28] FailBit: ...what the fuck just happened
[21:52:40] FailBit: function $Lexer(){};
[21:52:47] FailBit: ... no ...
[21:53:05] jahpereira: has joined #RubyOnRails
[21:54:27] ja: FailBit: https://gist.github.com/anonymous/7402331e2efdbf74b874 ??? I might???ve just solved it myself, so thanks. ???????
[21:54:46] FailBit: oh it's database stuff
[21:54:58] FailBit: yeah I avoid that like john cena jokes
[21:55:59] ja: ACTION had to google john cena
[21:56:44] FailBit: https://www.youtube.com/watch?v=wRRsXxE1KVY
[21:56:44] matthewd: ja: You can remove the FIXME... that's By Design
[21:57:06] matthewd: ja: Or, better, use a hash in the where
[21:58:03] fox_mulder_cp: midnight. go to sleep.
[21:58:05] shevy: has joined #RubyOnRails
[21:58:17] XangadiX: has joined #RubyOnRails
[21:58:21] ja: matthewd: Thanks. Hrm. Will using a hash let me get rid of either #includes or #references?
[21:59:15] matthewd: ja: Yes; you only need references because we can't parse the string, so we don't know you need the table joined. With the hash, we can work it out.
[22:02:06] chridal: Radar: In regards to Elixir; what are your thoughts?
[22:02:24] ja: matthewd: Oh. Interesting. Thanks!
[22:02:53] Radar: chridal: I love it :)
[22:03:16] ja: It???s semi-odd to be using tabel names instead of relationship names in the hash though, I think ??? which I have to do, as far as I???ve understood
[22:03:57] chridal: Radar: I am a total noob when it comes to the Erlang VM. I don't know if you've worked with Java, but since Erlang also uses a VM do you experience some of the same annoying deployment issues?
[22:04:14] chridal: as with Java that is.
[22:04:22] matthewd: ja: Yup. There's an issue floating around somewhere to try to improve that, but, like many things in life, it's complicated :)
[22:04:33] Radar: chridal: Nope. Deployment was really simple.
[22:04:39] Radar: chridal: logs.ryanbigg.com is a Phoenix applicaiton
[22:04:51] Megamos: has joined #RubyOnRails
[22:05:28] FailBit: ruby uses a VM too :V
[22:05:45] fox_mulder_cp: Radar: oh, have a question - what about testing? now i start write app for production, and it's very hard to check changes.. so i want testing it
[22:05:58] Radar: fox_mulder_cp: Testing in Rails or testing in Elixir?
[22:06:15] fox_mulder_cp: Radar: rails. i can't know about elixir
[22:06:30] FailBit: test what the app is supposed to do at the controller level first
[22:06:32] Radar: fox_mulder_cp: So start testing it. I don't understand your question.
[22:07:08] chridal: fox_mulder_cp: You know testing was really weird to me at first, but it's really built upon simple principles. It's just hard to grasp what to test and how to test it in the beginning. Hang on while I grab you a book.
[22:07:25] fox_mulder_cp: chridal: what book?
[22:07:34] chridal: I'm grabbing it... :-)
[22:07:51] fox_mulder_cp: i intrested in testing book - analog guide for rails
[22:08:01] Radar: fox_mulder_cp: !r4ia
[22:08:01] helpa: fox_mulder_cp: 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
[22:09:09] chridal: Why is my memory so extremely poor.
[22:09:17] FailBit: smoke weed everyday
[22:09:30] chridal: What is the other book that you can look up with ! that's really 'simple' <- omg this description
[22:09:43] fox_mulder_cp: ACTION smoke Kiev's smog ((
[22:11:13] bePolite: has joined #RubyOnRails
[22:11:13] bePolite: has joined #RubyOnRails
[22:11:33] chridal: Maybe not..
[22:11:42] chridal: fox_mulder_cp: http://www.poodr.com/ maybe this might be of interest to you
[22:12:10] ja: matthewd: Very well then. ^_^ Thanks again
[22:12:31] chridal: I mean most of the book doesn't cover testing in specific, but I learned a lot from that chapter on testing.
[22:13:25] lethjakman: has joined #RubyOnRails
[22:13:37] derick_skibotn: has joined #RubyOnRails
[22:13:50] diegoviola: damn I need more RAM on this machine
[22:14:05] chridal: Radar: What do you find the tooling is like? I was actually thinking about picking up Go and rewriting our API in that, but it doesn't seem like the ecosystem is anything like Ruby's yet
[22:14:25] chridal: diegoviola: swap disk ftw
[22:14:32] diegoviola: I'm currently swapping to RAM
[22:14:51] Papierkorb: RAM is cheap. throw in another stick
[22:15:14] FailBit: what is taking up all your memories
[22:15:16] diegoviola: it's way way faster than swapping to disk
[22:15:19] diegoviola: but uses more CPU
[22:15:28] diegoviola: because of the compression
[22:15:51] diegoviola: chromium mostly
[22:16:01] diegoviola: I only have 2GB on this machine
[22:16:03] chridal: Chromium eats a whole in everything
[22:16:05] diegoviola: on my ThinkPad I have 8
[22:16:48] diegoviola: but even 8 feels like nothing these days too
[22:17:11] chridal: I have 16G on my MBP which is the biggest total waste ever. All I do is hang around in the terminal.
[22:17:23] _Tariq: has joined #RubyOnRails
[22:18:10] diegoviola: http://i.imgur.com/pHAquzv.png
[22:18:12] diegoviola: lol look at htat
[22:18:22] chridal: I top specced it because even the most minor hitch sends me AWOL.
[22:18:43] Radar: chridal: I like the tooling a lot better than Go's tooling. The package management seems much more mature, for instance.
[22:18:53] FailBit: go get fucked
[22:18:55] fox_mulder_cp: i use rails in lxc vm based on azure ubuntu vm light configuration
[22:19:16] diegoviola: FailBit: who are you talking to?
[22:19:26] FailBit: it's a joke about go's package management
[22:19:36] chridal: the non-existing one
[22:20:08] chridal: Radar: Do you find it is in any way comparable to what you've been used to in Ruby?
[22:20:33] welovfree: has joined #RubyOnRails
[22:20:36] Radar: chridal: Absolutely
[22:21:11] chridal: The other thing is hiring people that know it.
[22:21:23] chridal: In Norway even getting Ruby/Rails devs is hard.
[22:21:31] fox_mulder_cp: Radar: 2gb . lol. 1,7gb, 1,2 used
[22:21:37] chridal: It's all Java or C#. Sometimes Node.js these days of course.
[22:21:38] FailBit: found this in your bot
[22:21:42] FailBit: 57 everused just post the fucking bug already
[22:21:58] pipework: diegoviola: Having 2 gigs of memory means you should probably use firefox because of its sandboxing/process model.
[22:22:20] diegoviola: pipework: yeah firefox consumes less
[22:22:27] diegoviola: pipework: chromium seems to multiples its processes
[22:22:32] fox_mulder_cp: i use win10, 4gb ram, and migrate from chrome/opera/ff to ms edge
[22:22:41] pipework: Many years ago I had a small machine, and I did a lot with it, but I did a lot more with offloading work to other machines, locally and remote, and just forwarding x servers and the such to my laptop.
[22:22:48] fox_mulder_cp: becouse it works speedy
[22:22:57] diegoviola: I'm using 5 years old hardware and recent software, I'm on archlinux
[22:23:24] diegoviola: it's fast though, i3 ftw
[22:23:24] yfeldblum: has joined #RubyOnRails
[22:23:29] fox_mulder_cp: diegoviola: use all hardware pc as ssh/rdp console to azure servers :)
[22:23:33] pipework: diegoviola: Both use multiple processes.
[22:23:46] pipework: Chrome just uses them per-domain and also per-tab/window.
[22:24:07] pipework: Firefox works, iirc, more like a general set of workers that have sandboxes within them.
[22:24:19] diegoviola: I like the sandboxing in chromium, it means I can't use any bullshit extension
[22:24:34] Radar: chridal: Best way to find devs is to train them imo :P
[22:24:36] fox_mulder_cp: wow, wow, browser's wars!!!!
[22:24:56] fox_mulder_cp: chridal: u find new learners?
[22:25:01] FailBit: Radar: what if there are only stupid people available
[22:25:07] Radar: FailBit: move to another country
[22:25:19] fox_mulder_cp: ooh. i live in ukraine
[22:25:27] RegulationD: has joined #RubyOnRails
[22:25:30] FailBit: Radar: I'd have to leave amurica
[22:25:31] choke: has joined #RubyOnRails
[22:25:34] fox_mulder_cp: and sometimes after listen news want migrate from (
[22:26:53] fox_mulder_cp: may be to Poland. but age of 33 and no practical dev achivievements, portfolio and very pre intermediate english block my in Ukraine (
[22:27:13] chridal: fox_mulder_cp: Say what?
[22:27:39] chridal: Radar: Indeed, but sometimes you don't have time to train them.
[22:29:02] fox_mulder_cp: chridal: you ask why i intresting you as trainee?
[22:29:47] TheNet: has joined #RubyOnRails
[22:29:52] chridal: fox_mulder_cp: I wasn't sure what you meant. We're not looking to recruit anyone atm. We're currently deploying a small scale social network to production in 10 days with a team of two :-P
[22:30:39] fox_mulder_cp: chridal: ooh. be force with you L)
[22:31:00] build22: has joined #RubyOnRails
[22:31:36] chridal: We're probably gonna die, but thanks. :-)
[22:31:45] fox_mulder_cp: chridal: last year i from one night have a migration shared hosting server from freebsd 6 (~2005) with php/mysql 5.1 to debian 7...
[22:32:03] chridal: wow. Why? :-D
[22:32:05] fox_mulder_cp: one night. ~500 sites/bases
[22:32:06] quazimodo: has joined #RubyOnRails
[22:32:09] quazimod1: has joined #RubyOnRails
[22:32:10] chridal: That's crazy.
[22:32:32] fox_mulder_cp: chridal: freebsd6 - unsupported and hacked by womeone
[22:32:51] fox_mulder_cp: and have a ONE virtual host with ONE system user for ALL user sites
[22:32:58] chridal: Not the same machine I hope? Couldn't you just spin up a separate VPS with Deb 7 and then set up everything before scp'ing it all over?
[22:33:14] fox_mulder_cp: only ftp acc are miscellanous
[22:33:33] fox_mulder_cp: same machine, same (
[22:33:40] diegoviola: pipework: I thought firefox was single process
[22:33:41] chridal: Must've been painful.
[22:34:05] pipework: diegoviola: No, it's just not process-per like chrome.
[22:34:16] diegoviola: pipework: oh
[22:34:19] pipework: It might be using threads, that part doesn't matter.
[22:34:34] pipework: It's just the distribution and segmentation of data/work that differ greatly in chrome and firefox.
[22:34:36] fox_mulder_cp: reinstall freebsd -> debian netinstall, and by manual install free web hosting panel, restore backup content and creating user accs/db with my support girl :)
[22:34:39] diegoviola: pipework: I've just closed most of my tabs and RAM usage went to 50%
[22:35:23] pipework: diegoviola: I used to run 200 tabs on 2gb of ram and develop rails applications. It got slow, but eventually I changed from chrome and did a bunch of stuff to offload resource consumption to unused machines.
[22:35:32] fox_mulder_cp: chridal: now i want make my own shared hosting panel for this customer, with db/web/ftp/dns/domains control + billing
[22:35:53] diegoviola: pipework: cool
[22:36:04] chridal: Aha! Nice.
[22:36:11] build22: has left #RubyOnRails: ()
[22:36:17] diegoviola: pipework: I usually get annoyed when things get slow and go to my ThinkPad, but I don't really like working with small screen/keyboard
[22:36:45] fox_mulder_cp: chridal: but after Radar words about DHH and cable - i want know - does ruby on rails way - good for me, for this app..
[22:36:51] chridal: diegoviola: X250?
[22:36:55] pipework: diegoviola: Have you considered using the thinkpad as a remote x-server or your development environment that you remotely access within the same network?
[22:37:04] diegoviola: I got it last year
[22:37:07] diegoviola: runs Arch like a dream also
[22:37:11] chridal: fox_mulder_cp: What kind of words were those?
[22:37:19] diegoviola: boots in about a second
[22:37:22] chridal: diegoviola: That's not a small machine though?
[22:37:23] fox_mulder_cp: so, good night. wife block note
[22:37:40] chridal: diegoviola: Funny you should say. I have a T440S with Arch on it
[22:37:51] fox_mulder_cp: chridal: see histore about some hours. about radar, websockets and DHH
[22:37:54] diegoviola: chridal: cool
[22:37:57] FailBit: holy shit, elixir looks amazing
[22:38:01] diegoviola: chridal: the s are lighter right?
[22:38:04] pipework: FailBit: It's rather neat.
[22:38:11] FailBit: I-want-to-write-my-next-app-in-this kind of amazing
[22:38:12] diegoviola: chridal: have nicer screen also?
[22:38:24] pipework: FailBit: Do it with phoenix if it's a web app.
[22:38:26] chridal: diegoviola: Correct, thinner and lighter. On mine it's a 14" IPS display
[22:38:28] diegoviola: chridal: I find the T450 quite light actually
[22:38:30] FailBit: pipework: ob
[22:38:33] pipework: Just to start, even if you rewrite it using something else.
[22:38:40] diegoviola: chridal: but I had a T510 before, that was like 3kg
[22:38:49] diegoviola: chridal: so the t450 is way lighter for me in comparison :P
[22:38:52] Radar: fox_mulder_cp: go to #elixir-lang :P
[22:38:57] Radar: Bah I did it again!
[22:38:58] Radar: FailBit: ^
[22:39:05] diegoviola: chridal: and I also had a 9cell battery in the T510
[22:39:08] chridal: Indeed. There isn't *that* much of a difference between T440S and T450 if I recall correctly
[22:39:15] diegoviola: that added more weight oto
[22:39:25] wethu: has joined #RubyOnRails
[22:39:36] diegoviola: that T510 killed my shoulder
[22:39:43] pyemkey: has joined #RubyOnRails
[22:39:53] chridal: Why did you keep it on your shoulder?
[22:40:08] chridal: Yea, I was just joking.
[22:40:18] chridal: as if you had it phyiscally on your shoulder whilst using it
[22:40:29] diegoviola: chridal: how do you like Arch?
[22:40:47] pipework: I like the approachability of their packaging system for their users.
[22:40:58] pipework: You don't really need to be a packager if you can build. It's neat.
[22:41:00] pawnbox: has joined #RubyOnRails
[22:41:04] chridal: diegoviola: Well I like the Arch way and I am much into it. It's sort of annoying that I can't get most stuff to *just work* though.
[22:41:12] chridal: That's why I mostly just end up using my MBP for dev
[22:41:20] chridal: and then use my ThinkPad for networking stuff
[22:41:53] chridal: I run i3 on it which is awesome. The window manager is actually mostly why I'd like to be on linux instead of OS X.
[22:42:00] shevy: has left #RubyOnRails: ("I'll be back ... maybe")
[22:42:03] chridal: It's just that there is so much stuff that does not work so much of the time.
[22:42:17] diegoviola: hrm ok, what stuff you can't get to just work though?
[22:42:19] diegoviola: just curious
[22:42:21] chridal: I guess I could get it all set up (my main desktop was Arch for 1-2 years), but I just haven't had the time.
[22:42:55] chridal: Nah, mostly making all the fonts perfect and beautiful like on OS X. Or multi-screen setup with 27" 4k display etc.
[22:43:25] hardtail: happy new year everyone
[22:43:33] chridal: Happy new year!
[22:44:06] chridal: diegoviola: I have actually considered just running something like Ubuntu, but then I am remember that Ubuntu annoying me to death was the exact reason I installed Arch.
[22:44:20] diegoviola: chridal: I hear GNOME has great HiDPI support
[22:44:25] diegoviola: https://wiki.archlinux.org/index.php/HiDPI
[22:44:34] chridal: diegoviola: yes, but then you have to use GNOME :-)
[22:44:44] diegoviola: I like i3 myself
[22:44:49] chridal: I'm an extreme minimalist. Even a 1 px border I can not take.
[22:44:50] diegoviola: can't go back
[22:45:01] diegoviola: was a KDE user before
[22:45:14] chridal: The productivity is amazing.
[22:45:15] diegoviola: bspwm is also cool
[22:45:35] welovfree_: has joined #RubyOnRails
[22:45:37] chridal: I have achieved somewhat the same on OS X actually. I'm right now almost always situated in the terminal with tmux.
[22:45:59] diegoviola: about fonts, I just install ttf-dejavu and I'm done with it
[22:46:00] chridal: I mostly used the splits for terminal windows any way. I then have a separate desktop for Chrome and one for Slack, and that's it.
[22:46:23] chridal: diegoviola: I am extremely picky about the fonts. Dejavu is fine, but it's the anti-aliasing etc. etc. that kills me.
[22:46:30] threeminutemonta: has left #RubyOnRails: ("Ex-Chat")
[22:47:05] chridal: And then you never get it to work perfectly like on OS X anyway. There's always a website (like GitHub) that uses some font that you don't have, and it's fugly all over the place again.
[22:47:25] chridal: I will get my Arch set up one day though. I hate not having a Linux kernel.
[22:47:48] diegoviola: I'm still waiting for them to accept my contributions to their README
[22:47:50] chridal: but I should say it's been 4 months since I bought it, and I still haven't gotted round to it xD
[22:47:57] netzfisch: has joined #RubyOnRails
[22:47:57] diegoviola: getting impatient
[22:48:25] diegoviola: https://lkml.org/lkml/2015/12/19/222
[22:49:31] diegoviola: chridal: cool
[22:50:01] chridal: I need to consume a book on Docker, but right now I'd love to read about Elixir instead
[22:53:09] diegoviola: some people say things like docker run better on linux, how come?
[22:53:15] chridal: "With more than a thousands contributors, and backed by colossi such as Google, Docker is by far this year???s hottest topic and gained so much momentum that Amazon released containers??? specific instances on AWS. Quite impressive, indeed, mainly considering it relies on technology that has been there, available to all of us, since years (Solaris jails anyone?). The revolution were not indeed the
[22:53:18] chridal: containers themeselves, but rather encapsulating the whole thing inside a blue smiling whale"
[22:53:21] diegoviola: I mean, is that true
[22:53:23] chridal: lol (from a book review on Amazon)
[22:54:14] chridal: Well, Docker can technically only be run on Linux since it uses LXC (linux containers) as a foundation
[22:54:26] chridal: diegoviola: https://en.wikipedia.org/wiki/LXC
[22:55:06] chridal: If you're going to run LXC on Windows or OS X you're going to need a virtual machine and on OS X docker-machine (a tool from Docker) uses Virtualbox to provide that VM.
[22:57:50] alex88: has joined #RubyOnRails
[23:04:39] peeja: has joined #RubyOnRails
[23:08:14] nertzy: has joined #RubyOnRails
[23:10:59] pawnbox: has joined #RubyOnRails
[23:12:47] FailBit: "There???s no work for a smart man in a town full of stupid."
[23:14:09] lethjakman: has joined #RubyOnRails
[23:15:51] diegoviola: chridal: yeah I see
[23:17:09] diegoviola: I would use VirtualBox only if I have to use Windows, luckily I don't have to
[23:17:49] diegoviola: when I was stuck on that job where I had to use windows, I just ran Arch on fullscreen :P
[23:18:00] XangadiX: has joined #RubyOnRails
[23:18:21] romdi: has joined #RubyOnRails
[23:18:25] diegoviola: KVM on Linux is amazing, IMO
[23:19:40] diegoviola: it's just a kernel module and ships with the kernel already
[23:19:50] rubyonrails723: has joined #RubyOnRails
[23:21:20] pipework: diegoviola: If you're using OSX, you're using virtualbox with docker-machine (probably)
[23:23:19] diegoviola: I'm not really a OSX user :)
[23:23:37] diegoviola: but that sounds similar to how vagrant works
[23:23:39] diegoviola: on windows, etc
[23:24:08] TheNet: has joined #RubyOnRails
[23:26:50] sandstrom: has joined #RubyOnRails
[23:27:07] crackerjack540: has joined #RubyOnRails
[23:27:58] mices: has joined #RubyOnRails
[23:30:04] smathy: has joined #RubyOnRails
[23:31:05] mices: https://gist.github.com/mices/d9294c8f2548c87f192b the record gets created with all the right id's but the fields don't reach the database, in the resulting table record all the fields except the id's are null
[23:32:06] Radar: mices: show us what the logs show for that action
[23:34:12] Scripore: has joined #RubyOnRails
[23:37:04] mices: radar: i cleared development.log and then submitted the form again, but it didn't write anything to development.log
[23:37:18] Radar: mices: weird
[23:37:34] Radar: mices: put a binding.pry as the first line in the create action and then ask it what school_params is
[23:38:04] Cervajz: has joined #RubyOnRails
[23:40:36] ur5us: has joined #RubyOnRails
[23:41:01] pawnbox: has joined #RubyOnRails
[23:41:09] nerfando: has joined #RubyOnRails
[23:42:00] nerfando: has joined #RubyOnRails
[23:42:04] nya: has joined #RubyOnRails
[23:43:22] shibabu: has joined #RubyOnRails
[23:44:14] FailBit: Radar: what's the link to your article on chruby/ruby-install again
[23:44:19] FailBit: I'm going to recommend it to a friend
[23:44:20] helpa: Remove RVM (with 'rvm implode --force') and use chruby + ruby-install. Ubuntu guide: http://bit.ly/1mvdEuH Mac guide: http://bit.ly/1QA85bc
[23:44:29] diegoviola: best !advice ever
[23:45:04] pipework: FWIW, you can actually use your rvm rubies with chruby. I keep rvm around for using patches and head builds nicely.
[23:45:26] pipework: But if you don't care for those or need them, then you don't really need RVM and recompiling your rubies is a great excuse to brew a cup of tea and introspect.
[23:46:09] doodlehaus: has joined #RubyOnRails
[23:47:05] pipework: FailBit: Sorry, you're clearly unaware that anything involving tea is a code for raging orgies and immaculate defecations.
[23:47:08] diegoviola: do you guys specify a ruby version in your Gemfile?
[23:47:10] pipework: Who is prude now?
[23:47:15] Radar: diegoviola: no
[23:47:16] pipework: diegoviola: Only when it matters to.
[23:47:21] pipework: Which is nearly never.
[23:47:42] FailBit: I drink my piss cold pipework
[23:50:46] mices: Radar: after restarting the server and submitting the form again rails printed to the log; at the beginning of this line, profile and schools seems to be reversed Parameters: {"utf8"=>"???", "authenticity_token"=>"ngtMrkunxdN1eNURiKuW75pOBWAAenVKE5sE88/bwLhUwHocsWJUf5UMB5eNpgco1umRkentlxNMrEsOpxES/A==", "school"=>{"profile"=>{"name"=>"a", "studied"=>"a", "majored"=>"a", "country"=>"US", "region"=>"a", "city"=>"a"}}, "commit"=>"Add school"}
[23:50:47] mices: [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 3 ORDER BY `users`.`id` ASC LIMIT 1[0m
[23:51:05] mices: sorry, i didn't know it was so long
[23:51:13] Radar: mices: and you STILL haven't answered my question about why you even have a Profile model
[23:51:20] Radar: It seems pointless to me
[23:52:39] mices: what would schools belong to if there was no profile model
[23:52:46] Radar: Why do schools have a profile
[23:52:53] Radar: Why isn't that information stored against a school?
[23:53:00] mices: users have profiles, profiles have schools
[23:53:09] Radar: Why don't users have schools?
[23:53:18] Radar: Why have this arbitrary middle model?
[23:53:24] Radar: What purpose does it serve?
[23:53:30] diegoviola: how do you know when it's time to do a git push, is "when shit is working" a good measure?
[23:53:39] Radar: diegoviola: after a commit
[23:54:13] FailBit: I push whenever I remember to
[23:54:41] sarink: has joined #RubyOnRails
[23:54:58] pipework: diegoviola: Assuming good repository hygiene, I push all the time and let my team know that I rebase and force push whenever I please in my branches, especially on my own repository.
[23:55:28] pipework: I hide sausage making when I'm ready to merge my work into other refspecs (usually, but not always, branches)
[23:55:38] pipework: Err, refs, not refspecs.
[23:55:43] FailBit: you force push?
[23:55:59] pipework: FailBit: All the time on my own work that's not shared.
[23:56:00] Radar: yeah I force push all the time... to my own brnaches
[23:56:03] Radar: branches*
[23:56:09] FailBit: for what, amends?
[23:56:14] FailBit: why else would you need to force push
[23:56:14] Radar: when you rebase
[23:56:20] pipework: FailBit: For all manner of reasons.
[23:56:20] FailBit: I have never needed to do that
[23:56:26] FailBit: I use git pull --rebase and forget it
[23:56:35] pipework: I break my work into small atomic commits for merge.
[23:56:57] Radar: FailBit: I've sometimes made a commit (A) and then made another commit (B) and then made another commit (C) which is actually related to A. So I rebase C onto A and then push.
[23:57:06] Radar: FailBit: I very rarely use "git add ."
[23:57:23] FailBit: yeah that makes more sense
[23:57:23] Radar: What I do use is "git add -p ."
[23:57:29] Radar: Which allows me to add small changes one at a time.
[23:57:29] pipework: I help paint a clean and clear picture with history, rather than treat git as a glorified undo/redo history.
[23:57:56] diegoviola: I worked for a company and they had scripts as a git wrapper that would just do git add -A . every time, they didn't care about commits quality
[23:58:16] diegoviola: neopullpack, neopushpack was the name of the wrappers
[23:58:18] FailBit: I break commits up into small things for each one
[23:58:29] pipework: I've worked at weird companies before, I just do my own thing and make it look like whatever bullshit they've adopted.
[23:58:34] Radar: diegoviola: neo? Not as in http://neo.com/?
[23:58:39] akshat: has joined #RubyOnRails
[23:58:49] FailBit: https://twitter.com/TheStrangeLog
[23:58:55] FailBit: you do NOT want your git looking like this