z4phod

Activity Graph

Page 1 of 1

2019-04-13

[16:50:02] z4phod: *.net *.split

2019-02-02

[03:09:57] z4phod: Ping timeout: 250 seconds
[03:15:11] z4phod: has joined #ruby

2019-01-03

[16:04:21] z4phod: has joined #ruby

2018-12-19

[14:02:08] z4phod: Ping timeout: 272 seconds

2018-10-23

2018-09-17

[08:28:15] z4phod: has joined #ruby

2018-08-21

[19:39:12] z4phod: *.net *.split

2018-07-20

[00:07:06] z4phod: *.net *.split
[00:15:50] z4phod: has joined #ruby

2018-05-29

[02:46:51] z4phod: *.net *.split
[02:47:50] z4phod: has joined #ruby

2018-05-23

[15:14:21] z4phod: hello ! :)
[15:14:48] z4phod: someone are using rack-mini-profiler in production ?
[15:34:27] z4phod: doesn't work for me without :allowall :'(

2018-05-16

[09:40:08] z4phod: has joined #ruby

2018-01-19

[12:44:54] z4phod: I have little question
[12:45:29] z4phod: Same app, same Gemfile, bundle update not update same version, why ? how fix it ?
[13:05:29] z4phod: not all time, but last yes
[13:07:03] z4phod: maybe not
[13:07:07] z4phod: i will try now
[13:15:18] z4phod: thx you very much
[13:15:37] z4phod: 1.16.0 and 1.16.1 ... same version did same thing, perfect, thx you !

2018-01-11

[00:54:25] z4phod: Ping timeout: 260 seconds
[00:54:55] z4phod: has joined #ruby

2018-01-04

[10:27:43] z4phod: has joined #ruby
[10:28:21] z4phod: I did something strange, i dont understand how/why that's works with rails 4.2
[10:29:43] z4phod: Controller : def new/@object = Model.new/end ; def create/@object.save/end => works ?! (without @object = Model.create(params[:object]))
[10:30:59] z4phod: I don't understand how this code works, why @object exists in create action ? (i did this code by error, and i seen that work)
[10:36:35] z4phod: yes, but the function doesn't set @object
[10:37:09] z4phod: (an another @sector)
[10:38:58] z4phod: oh i seen somethings, maybe : load_and_authorize_resource param_method: :object_params
[10:39:18] z4phod: (cancancan)
[10:40:28] z4phod: ok is that (https://github.com/ryanb/cancan/wiki/authorizing-controller-actions)

2017-05-14

[21:43:09] z4phod: Ping timeout: 268 seconds

2017-05-03

[22:28:50] z4phod: Ping timeout: 240 seconds

2017-04-13

[15:52:03] z4phod: has joined #ruby
[15:53:05] z4phod: @current_page.get_button(button).when_visible().click and @current_page.get_button(button).when_visible do |b| ; b.click ; end is same ?
[15:53:22] z4phod: (second not works, i dont understand :/)
[16:13:26] z4phod: cerulean, same if i do ...when_visible() do |b| ?
[16:14:22] z4phod: ty very much cerulean
[16:15:38] z4phod: (i throught that function() and function() do ... end was same), so i can only use do with 'good' function like each ?)

2016-05-25

[12:51:52] z4phod: Ping timeout: 244 seconds

2016-05-23

2016-04-27

[20:09:46] z4phod: Remote host closed the connection

2016-04-17

[08:12:08] z4phod: *.net *.split
[08:21:33] z4phod: has joined #ruby

2016-04-13

[11:36:29] z4phod: Ping timeout: 264 seconds
[11:38:07] z4phod: has joined #ruby

2016-04-12

[02:15:51] z4phod: Remote host closed the connection
[02:30:20] z4phod: has joined #ruby

2016-03-27

[16:48:23] z4phod: has joined #ruby
[16:48:44] z4phod: i trying to debug circular dependency ...
[16:49:02] z4phod: RuntimeError: Circular dependency detected while autoloading constant Compta_line from /home/z4ppy/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:478:in `load_missing_constant' from /home/z4ppy/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:180:in `const_missing'
[16:49:23] z4phod: i changed dependencies.rb ... BUT NOTHING HAPPEN :(
[16:49:43] z4phod: i can do some bullshit in the file, alway works ...
[16:49:51] z4phod: ruby lies ? where i am wrong
[16:51:58] z4phod: i need rebuild the gem ?
[16:52:06] z4phod: i thinked wasn't build
[16:52:13] z4phod: like interpreter
[16:54:45] z4phod: but i can't find without more info, so i wanted add some debug info
[16:54:57] z4phod: and i changed /home/z4ppy/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.14/lib/active_support/dependencies.rb but nothing happen
[16:56:22] z4phod: now i add bullshit error, and alway run, seem like my modification doesn't do something
[16:57:02] z4phod: so i changed dependencies.rb, why nothing happen ?
[16:57:27] z4phod: i mean you can't see my circular error, but why i can't change the gem ?
[16:58:20] z4phod: no i only want change gem code and run with my patch, but i don't know why ruby doesn't reload the gem
[16:58:44] z4phod: yes, no troll, i promese
[16:59:28] z4phod: i said you, i changed gem code and nothing happen... i just want patch gem
[16:59:44] z4phod: /home/z4ppy/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.14/lib/active_support/dependencies.rb
[17:00:21] z4phod: lign 481 i added "BOUM", line without sense, but alway run
[17:00:40] z4phod: so i mean i missed something in the patch
[17:00:45] z4phod: maybe rebuild ?
[17:00:53] z4phod: i am noob in ruby
[17:00:58] z4phod: (and in english sorry)
[17:01:31] z4phod: i only check if i can modifie code and i can't
[17:02:11] z4phod: raise "Circular dependency detected while autoloading constant #{qualified_name} #{expanded} !!!!"
[17:02:11] z4phod: if loaded.include?(expanded)
[17:02:35] z4phod: i alway see "Circular dependency .." in error message, without "!!!"
[17:03:04] z4phod: only for debug, no release
[17:03:23] z4phod: ruby don't tell me many thing about the circular dependencies error :(
[17:03:57] z4phod: is a BIG file
[17:04:03] z4phod: with many dependencies
[17:04:24] z4phod: so i wanted look the dependencies tree when ruby load it
[17:04:31] z4phod: but i can't modifie gem
[17:05:21] z4phod: you said "dont modify gem"
[17:06:06] z4phod: i want know why my patch dont work...
[17:06:21] z4phod: for dependencies i want too :)
[17:06:31] z4phod: you're nice, sorry for my poor english
[17:06:50] z4phod: so backtrace contain only trace of gem
[17:08:28] z4phod: i added info in error message
[17:09:15] z4phod: i wanted see the tree
[17:09:24] z4phod: i will paste
[17:10:42] z4phod: https://gist.github.com/anonymous/6663f22342bf6e58e6a0
[17:11:28] z4phod: -rw-r--r-- 1 z4ppy z4ppy 6090 Feb 15 15:50 app/models/compta_line.rb
[17:11:28] z4phod: z4ppy@compta:~/luna/lunacompta-dev$ ls -l app/models/compta_line.rb
[17:11:49] z4phod: yes first
[17:12:03] z4phod: the first error is strange too
[17:12:51] z4phod: so much time on it (before go here), ty VERY MUCH
[17:13:25] z4phod: (the error message was so ...)
[17:14:40] z4phod: i restarted all process using the model, but nothing happen
[17:14:46] z4phod: i mean yes
[17:15:01] z4phod: isn't my project, i'm starting with ruby
[17:17:13] z4phod: gem 'spring-commands-rspec'
[17:17:13] z4phod: gem 'spring'
[17:17:20] z4phod: (in the Gemfile)
[17:17:30] z4phod: in group :development, :test do