freezevee

Activity Graph

Page 1 of 15 | Next »

2016-02-10

[20:01:51] freezevee: has joined #RubyOnRails
[20:02:19] freezevee: can I get the :id of a url from jquery by DOM or something ?
[20:02:32] freezevee: I don't have it exposed in the page in my .erb
[20:02:42] freezevee: is there any way to get it elsewhere on the page ?
[20:03:38] freezevee: smathy: as a hidden field in the DOM ?
[20:12:07] freezevee: smathy: live var my_id = "<%= my.id %>" ?
[21:12:26] freezevee: Ping timeout: 240 seconds

2016-02-09

[08:05:15] freezevee: has joined #RubyOnRails
[08:05:37] freezevee: Can I scaffold some specific actions in a controller after I have already scaffolded in the past ?
[08:06:43] freezevee: For example I have scaffolded the show action only and I want to add new create. If I try rails g scaffold user new create, I get a duplicate denied message for migration. If I use --force it replaces the whole file. Any ideas ?
[08:20:14] freezevee: Remote host closed the connection

2016-02-08

[18:26:49] freezevee: has joined #RubyOnRails
[18:27:48] freezevee: I tried to upgrade to Rails 5 beta 2 and when bundle install -> Could not find gem 'rails (>= 5.0.0.beta2, ~> 5.0)' in any of the gem sources listed in your Gemfile or available on this machine.
[18:27:51] freezevee: any ideas ?
[18:28:14] freezevee: install it from github master branch ?

2016-02-07

[20:10:31] freezevee: has joined #ruby
[20:10:32] freezevee: can anyone help please http://stackoverflow.com/questions/35221886/export-foreman-workers-from-rails-app-to-upstart ?
[20:10:34] freezevee: has joined #RubyOnRails
[20:10:38] freezevee: can anyone help please http://stackoverflow.com/questions/35221886/export-foreman-workers-from-rails-app-to-upstart ?
[20:16:40] freezevee: I apologise
[21:19:05] freezevee: rhizome: how could you troubleshoot it ?
[21:30:02] freezevee: rhizome: is upstart being replaced by systemd ?
[21:30:07] freezevee: am I losing my time ?
[21:30:19] freezevee: I mean I should try only systemctl

2016-02-01

[18:37:10] freezevee: has joined #ruby
[18:39:03] freezevee: guys I have been programming for some years, then started with Ruby/Rails and going on for the last 2-3 yrs and I've become a Rails developer for last 3 months, so I am looking for programs to get more knowledge. What could you suggest as a course, degree or anything similar? Maybe mentoring ? I am looking into Ruby/Linux/devOps
[19:38:51] freezevee: guys I have been programming for some years, then started with Ruby/Rails and going on for the last 2-3 yrs and I've become a Rails developer for last 3 months, so I am looking for programs to get more knowledge. What could you suggest as a course, degree or anything similar? Maybe mentoring ? I am looking into Ruby/Linux/devOps
[19:38:56] freezevee: has joined #RubyOnRails
[19:38:59] freezevee: guys I have been programming for some years, then started with Ruby/Rails and going on for the last 2-3 yrs and I've become a Rails developer for last 3 months, so I am looking for programs to get more knowledge. What could you suggest as a course, degree or anything similar? Maybe mentoring ? I am looking into Ruby/Linux/devOps

2016-01-19

[05:28:27] freezevee: has joined #RubyOnRails
[05:28:33] freezevee: hi all, can anyone please help ? http://stackoverflow.com/questions/34858602/pagination-table-footer-not-showing-at-all-with-angular-and-ngtable
[05:45:13] freezevee: @sevenseacat 50-50, it's rails/angular but I am fool enough to not have included the rails code
[05:46:13] freezevee: @sevenseacat I will add it, I apologize
[06:31:52] freezevee: Remote host closed the connection

2015-11-21

[06:18:52] freezevee: has joined #RubyOnRails
[06:18:58] freezevee: Client Quit

2015-11-20

[05:12:45] freezevee: has joined #RubyOnRails
[05:13:00] freezevee: Client Quit
[08:19:17] freezevee: has joined #RubyOnRails
[08:27:47] freezevee: Quit: freezevee
[12:25:16] freezevee: has joined #RubyOnRails
[12:25:37] freezevee: Client Quit
[16:40:45] freezevee: has joined #RubyOnRails
[19:28:55] freezevee: Quit: freezevee

2015-11-19

[05:14:16] freezevee: has joined #RubyOnRails
[06:00:15] freezevee: Quit: freezevee
[09:17:05] freezevee: has joined #RubyOnRails
[09:17:22] freezevee: Client Quit
[09:31:55] freezevee: has joined #RubyOnRails
[09:40:54] freezevee: Quit: freezevee
[11:32:34] freezevee: has joined #RubyOnRails
[11:33:00] freezevee: Remote host closed the connection
[15:58:25] freezevee: has joined #RubyOnRails
[16:11:55] freezevee: Ping timeout: 240 seconds
[22:42:35] freezevee: has joined #RubyOnRails
[23:10:59] freezevee: Ping timeout: 264 seconds

2015-11-18

[07:55:30] freezevee: has joined #RubyOnRails
[08:15:29] freezevee: Quit: freezevee
[08:16:39] freezevee: has joined #RubyOnRails
[08:16:45] freezevee: Client Quit
[08:39:32] freezevee: has joined #RubyOnRails
[08:55:35] freezevee: Quit: freezevee
[09:01:15] freezevee: has joined #RubyOnRails
[09:01:35] freezevee: Client Quit
[11:57:38] freezevee: has joined #RubyOnRails
[11:59:40] freezevee: Client Quit
[12:01:26] freezevee: has joined #RubyOnRails
[12:02:10] freezevee: Client Quit
[15:50:06] freezevee: has joined #RubyOnRails
[15:57:18] freezevee: Ping timeout: 265 seconds
[16:33:41] freezevee: has joined #RubyOnRails
[19:37:11] freezevee: Ping timeout: 260 seconds
[22:13:54] freezevee: has joined #RubyOnRails
[22:14:07] freezevee: Client Quit
[22:53:49] freezevee: has joined #RubyOnRails
[23:10:23] freezevee: Ping timeout: 264 seconds

2015-11-16

[05:28:35] freezevee: has joined #RubyOnRails
[06:28:10] freezevee: Ping timeout: 272 seconds
[07:39:22] freezevee: has joined #RubyOnRails
[09:12:20] freezevee: Ping timeout: 250 seconds
[09:33:58] freezevee: has joined #RubyOnRails
[12:59:47] freezevee: Ping timeout: 260 seconds
[13:25:36] freezevee: has joined #RubyOnRails
[13:27:34] freezevee: Client Quit

2015-11-15

[07:06:10] freezevee: has joined #RubyOnRails
[10:33:35] freezevee: Ping timeout: 240 seconds
[20:04:18] freezevee: has joined #RubyOnRails
[22:57:52] freezevee: Ping timeout: 272 seconds

2015-11-14

[09:50:33] freezevee: has joined #RubyOnRails
[15:58:26] freezevee: Ping timeout: 250 seconds
[19:27:04] freezevee: has joined #RubyOnRails
[22:37:22] freezevee: Ping timeout: 260 seconds
[22:56:16] freezevee: has joined #RubyOnRails
[23:01:39] freezevee: Ping timeout: 240 seconds

2015-11-13

[07:42:59] freezevee: has joined #RubyOnRails
[07:57:10] freezevee: Quit: freezevee
[08:33:21] freezevee: has joined #RubyOnRails
[08:33:42] freezevee: Client Quit
[10:51:01] freezevee: has joined #RubyOnRails
[13:53:11] freezevee: Quit: freezevee

2015-11-12

[16:38:51] freezevee: has joined #RubyOnRails
[16:38:58] freezevee: Client Quit
[19:03:12] freezevee: has joined #RubyOnRails
[19:03:40] freezevee: Client Quit
[22:00:36] freezevee: has joined #RubyOnRails
[22:31:48] freezevee: Quit: freezevee

2015-11-10

[07:50:26] freezevee: has joined #RubyOnRails
[07:52:48] freezevee: Client Quit
[12:03:17] freezevee: has joined #RubyOnRails
[14:41:52] freezevee: Quit: freezevee
[15:46:50] freezevee: has joined #RubyOnRails
[18:09:26] freezevee: Ping timeout: 260 seconds
[22:42:57] freezevee: has joined #RubyOnRails
[22:47:58] freezevee: Remote host closed the connection

2015-11-09

[07:27:48] freezevee: has joined #RubyOnRails
[07:29:12] freezevee: Client Quit
[07:45:43] freezevee: has joined #RubyOnRails
[08:26:57] freezevee: Quit: freezevee
[11:56:13] freezevee: has joined #RubyOnRails
[13:25:42] freezevee: Quit: freezevee
[17:07:40] freezevee: has joined #RubyOnRails
[19:03:50] freezevee: Ping timeout: 240 seconds
[19:33:40] freezevee: has joined #RubyOnRails
[20:04:43] freezevee: Quit: freezevee

2015-11-08

[15:25:35] freezevee: has joined #RubyOnRails
[15:47:09] freezevee: Quit: freezevee
[15:51:05] freezevee: has joined #RubyOnRails
[15:51:23] freezevee: Client Quit
[15:54:12] freezevee: has joined #RubyOnRails
[18:13:47] freezevee: Quit: freezevee

2015-11-07

[18:22:28] freezevee: has joined #RubyOnRails
[18:23:24] freezevee: Client Quit
[23:07:00] freezevee: has joined #RubyOnRails
[23:07:01] freezevee: Client Quit

2015-11-06

[05:08:02] freezevee: has joined #RubyOnRails
[05:09:33] freezevee: Client Quit
[07:27:39] freezevee: has joined #RubyOnRails
[08:36:11] freezevee: Ping timeout: 264 seconds
[12:18:41] freezevee: has joined #RubyOnRails
[12:18:44] freezevee: Client Quit
[23:14:12] freezevee: has joined #RubyOnRails
[23:14:19] freezevee: Client Quit
[23:43:04] freezevee: has joined #RubyOnRails
[23:43:32] freezevee: Client Quit

2015-11-05

[16:40:02] freezevee: has joined #RubyOnRails
[17:34:52] freezevee: Remote host closed the connection
[20:34:27] freezevee: has joined #RubyOnRails
[23:24:39] freezevee: Ping timeout: 240 seconds

2015-11-04

[16:38:59] freezevee: has joined #RubyOnRails
[18:23:00] freezevee: Quit: freezevee

2015-11-03

[05:12:59] freezevee: has joined #RubyOnRails
[05:17:40] freezevee: Client Quit
[16:11:52] freezevee: has joined #RubyOnRails
[16:20:50] freezevee: Ping timeout: 240 seconds
[16:25:22] freezevee: has joined #RubyOnRails
[16:32:15] freezevee: Ping timeout: 260 seconds
[18:56:33] freezevee: has joined #RubyOnRails
[22:08:22] freezevee: Read error: Connection reset by peer
[22:17:47] freezevee: has joined #RubyOnRails
[22:52:33] freezevee: Remote host closed the connection

2015-11-02

[05:11:18] freezevee: has joined #RubyOnRails
[05:30:23] freezevee: Ping timeout: 260 seconds
[05:30:41] freezevee: has joined #RubyOnRails
[06:33:30] freezevee: Ping timeout: 240 seconds
[16:28:53] freezevee: has joined #RubyOnRails
[18:26:55] freezevee: Remote host closed the connection
[18:27:10] freezevee: has joined #RubyOnRails
[18:46:51] freezevee: Ping timeout: 252 seconds
[18:57:04] freezevee: has joined #RubyOnRails
[19:05:50] freezevee: Ping timeout: 240 seconds
[19:54:34] freezevee: has joined #RubyOnRails
[19:58:43] freezevee: Ping timeout: 252 seconds
[20:13:16] freezevee: has joined #RubyOnRails
[22:43:58] freezevee: Remote host closed the connection
[22:44:14] freezevee: has joined #RubyOnRails
[23:05:13] freezevee: Ping timeout: 246 seconds
[23:08:23] freezevee: has joined #RubyOnRails
[23:09:01] freezevee: Client Quit

2015-11-01

[16:21:37] freezevee: has joined #RubyOnRails
[16:22:12] freezevee: when I try to run bundle install I get Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
[16:22:26] freezevee: when I run sudo bundle then everything runs fine
[16:22:34] freezevee: what am I missing ?
[16:55:59] freezevee: Quit: freezevee
[17:04:39] freezevee: has joined #RubyOnRails
[19:16:50] freezevee: Ping timeout: 240 seconds
[19:18:13] freezevee: has joined #RubyOnRails
[19:32:02] freezevee: Ping timeout: 265 seconds
[19:54:52] freezevee: has joined #RubyOnRails
[23:36:52] freezevee: Ping timeout: 272 seconds

2015-10-20

[09:28:45] freezevee: has joined #RubyOnRails
[09:28:51] freezevee: has joined #ruby

2015-10-19

[09:08:13] freezevee: has joined #ruby
[09:08:15] freezevee: has joined #RubyOnRails

2015-10-18

[07:40:09] freezevee: has joined #ruby
[07:40:16] freezevee: has joined #RubyOnRails
[14:24:53] freezevee: Ping timeout: 246 seconds

2015-10-16

[11:25:26] freezevee: has joined #ruby
[11:25:29] freezevee: has joined #RubyOnRails
[14:02:33] freezevee: Remote host closed the connection

2015-10-15

[09:05:17] freezevee: has joined #RubyOnRails
[09:05:31] freezevee: has joined #ruby
[12:32:51] freezevee: I have a self.search function in a User model and I am trying to create a test for it. Unfortunately it returns an Activerecord::Relation instead of an object -> got: #<ActiveRecord::Relation [#<User id: 1,
[12:33:06] freezevee: I tried with .first and [0] but they return nil
[12:33:25] freezevee: how could I get the first object from the relation ?
[12:33:54] freezevee: the test does expect(User.search('blabla')).to eq(user)
[12:34:50] freezevee: rvanlieshout: it returns nil
[12:34:51] freezevee: https://gist.github.com/chrisvel/5d73c95a05f5e1007726
[12:34:59] freezevee: but the relation seems right
[12:35:36] freezevee: rushed: it returns nil
[12:35:40] freezevee: how could it happen ?
[12:36:28] freezevee: jhass: https://gist.github.com/chrisvel/9cf08b4ae6a8abfbdcc9
[12:37:04] freezevee: it isn't logical
[12:37:49] freezevee: rushed: meaning ?
[12:37:58] freezevee: the model's def ?
[12:38:27] freezevee: matthewd: nil
[12:39:55] freezevee: rushed: https://github.com/chrisvel/ticketbox/blob/master/spec/models/user_spec.rb
[12:41:07] freezevee: and here is the search function https://github.com/chrisvel/ticketbox/blob/master/app/models/user.rb
[12:44:02] freezevee: jhass: should I use before :all ?
[12:44:54] freezevee: jhass: nope got: #<ActiveRecord::Relation instead of...
[12:50:57] freezevee: jhass: it's fine
[12:51:06] freezevee: jhass: but I don't understand why
[12:51:26] freezevee: jhass: I am sure that using user.username is more robust as you said
[12:53:03] freezevee: jhass: I know that you can create a symbol in order to memoize a call
[12:53:51] freezevee: jhass: and you can use it instead of FactoryGirl every time. But I suppose it is lazy because otherwise it could create the same records again and again
[12:56:30] freezevee: jhass: thanks
[12:57:05] freezevee: jhass: it makes sense, I'll keep reading more about this because I wouldn't have figured it out on myself
[14:00:56] freezevee: Remote host closed the connection
[15:17:16] freezevee: has joined #RubyOnRails
[15:17:35] freezevee: has joined #ruby
[15:17:35] freezevee: has joined #RubyOnRails
[18:11:52] freezevee: Remote host closed the connection

2015-10-14

[09:47:14] freezevee: workmad3: why index? it works fine
[09:47:38] freezevee: workmad3: meaning that I got to change hundreds of variable names...
[09:48:12] freezevee: workmad3: I know, I deserve this pain :P
[09:49:10] freezevee: I still get a 405 error though
[09:54:32] freezevee: waseem_: https://gist.github.com/chrisvel/f4f027e89ac6425f1b53
[10:02:36] freezevee: workmad3: you're absolutely right, assets name is the problem
[10:02:59] freezevee: it must have appeared in the latest Rails versions
[10:03:25] freezevee: and it seems there's no alternative
[10:12:29] freezevee: workmad3: did it
[10:13:06] freezevee: workmad3: I used post 'create_asset' => 'assets#create' and used that url in form_for
[14:00:05] freezevee: Remote host closed the connection