sagax

Activity Graph

Page 1 of 3 | Next »

2018-11-12

[20:02:29] sagax: has joined #ruby

2018-11-06

[08:24:42] sagax: Ping timeout: 268 seconds

2018-11-05

[21:14:35] sagax: has joined #ruby

2018-11-02

[21:24:03] sagax: Ping timeout: 252 seconds

2018-11-01

[20:14:46] sagax: has joined #RubyOnRails
[20:16:46] sagax: where i have wrong?
[20:16:48] sagax: http://susepaste.org/23621864
[20:24:48] sagax: ok, will try downgrade `pg` gem version
[20:33:01] sagax: gem 'pg', '0.21.0' work
[22:42:45] sagax: how to see where module placed?

2018-10-31

[00:52:01] sagax: has joined #ruby
[00:52:26] sagax: in Gemfile i have gem 'pg'
[00:52:55] sagax: but when install i got -- `Your PostgreSQL is too old. Either install an older version of this gem or upgrade your database to at least PostgreSQL-9.2`
[00:53:21] sagax: but when i check version pg_ctl --version this show `pg_ctl (PostgreSQL) 9.6.10`
[00:53:43] sagax: hm, strange
[00:53:54] sagax: psql -V write `psql (PostgreSQL) 8.4.20`
[00:54:30] sagax: thanks, will be see more about postgresql
[01:17:02] sagax: i fixed psql and now all `bundle` ok
[01:17:07] sagax: thanks to all
[01:40:06] sagax: havenwood: ? o_o
[01:40:37] sagax: english not native for me

2018-10-04

[12:43:45] sagax: Read error: No route to host

2018-09-16

[15:38:36] sagax: Ping timeout: 252 seconds
[15:56:47] sagax: has joined #ruby
[22:35:22] sagax: Quit: Konversation terminated!

2018-09-14

[13:55:37] sagax: Ping timeout: 272 seconds
[16:33:09] sagax: has joined #ruby

2018-09-13

[16:09:04] sagax: Remote host closed the connection
[17:49:52] sagax: has joined #ruby

2018-09-11

[19:52:23] sagax: has joined #ruby

2018-09-01

[16:32:23] sagax: Read error: Connection reset by peer

2018-08-29

[00:49:35] sagax: has joined #ruby
[01:59:54] sagax: Remote host closed the connection
[05:40:43] sagax: has joined #ruby

2018-08-23

[00:09:25] sagax: rubocop it's actually tool for code checking?
[00:11:03] sagax: example style check, variable name check, etc
[00:11:35] sagax: whitespace check
[00:12:28] sagax: i need do code great again ;D
[00:12:51] sagax: >> what have you found so far?
[00:13:21] sagax: oh, sorry, bot
[00:13:57] sagax: what we have instead rubocop?
[00:14:10] sagax: autotools
[00:14:30] sagax: i not about some like as rspec for tdd/bdd
[00:18:54] sagax: yes, testing

2018-08-20

[22:10:46] sagax: Ping timeout: 256 seconds

2018-08-18

[15:21:34] sagax: has joined #ruby
[15:21:57] sagax: it's http://www.ruby2d.com based on SDL?

2018-08-15

[05:37:05] sagax: Ping timeout: 240 seconds

2018-08-12

[16:18:33] sagax: has joined #ruby
[16:19:21] sagax: http://susepaste.org/5567651
[16:19:29] sagax: how to write this shortly?
[16:19:39] sagax: or better
[16:23:16] sagax: apeiros: thanks
[16:23:22] sagax: it's great
[17:15:56] sagax: thanks all!
[18:56:37] sagax: Rake can find rakefile.rb ?
[18:59:02] sagax: rake file can be "Rake.rb", "rakefile.rb" or other
[19:00:04] sagax: and i need Rake.load_rakefile without write name
[19:00:18] sagax: just automation
[19:01:09] sagax: i don't need it
[19:01:18] sagax: i don't need rake
[19:01:22] sagax: and don't need -f
[19:12:03] sagax: when i do this -- app = Rake::Application.new; app.load_rakefile; app.tasks
[19:12:09] sagax: tasks = []
[19:12:26] sagax: but it's not true, rakefile have tasks
[19:23:09] sagax: if i do Rake.load_rakefile(namerakefile) i have tasks in Rake::Task.tasks
[19:23:31] sagax: but i need load_rakefile without specifiec rake file name
[19:24:27] sagax: mroutis: without "load_rakefile" you way don't work
[19:24:57] sagax: no, i want not write name
[19:25:12] sagax: Rake must be find rakefile in self
[19:25:29] sagax: in app.load_rakefile - not require rakefilename
[19:25:55] sagax: it's can find rakefile
[19:26:02] sagax: but not loading tasks
[19:26:51] sagax: https://ruby.github.io/rake/Rake/Application.html
[19:28:01] sagax: this don't work
[19:29:34] sagax: i don't need download this
[19:31:34] sagax: it's strange behavior
[19:31:46] sagax: because app.tasks must be have "tasks"
[22:59:03] sagax: why blocks and procs - it's bad?
[23:01:09] sagax: hm, it's bad, yes
[23:01:45] sagax: ruby like as C ;D
[23:03:00] sagax: Frodo with ring

2018-08-02

[10:14:20] sagax: Quit: Konversation terminated!

2018-07-30

[17:29:28] sagax: has joined #ruby

2018-07-28

[08:57:35] sagax: Quit: Konversation terminated!

2018-07-27

[05:00:25] sagax: has joined #ruby
[05:03:26] sagax: in "rake" we have operator "namespace"
[05:04:13] sagax: but what in? just syntax sugar, pseudo code?
[05:14:59] sagax: https://gist.github.com/noonat/1649543 237 line and below
[05:15:04] sagax: we have "namespace"
[05:15:23] sagax: it's syntax sugar, pseudo code, rake dsl?
[06:28:12] sagax: when {"a": "b"} i got {:a=>"b"}
[06:28:29] sagax: when {"a" => "b"} i got {"a"=>"b"}
[11:12:00] sagax: Remote host closed the connection
[12:28:13] sagax: has joined #ruby
[15:03:44] sagax: i am looking for examples about rdoc syntax to definition method/class/etc
[16:10:19] sagax: it's normal way to convert "string" key name to "symbol" ?
[16:10:22] sagax: m={}; {"a": "b", "c": "d", "e": "f"}.each {|k, v| m.update({k.to_sym => v}) }; m
[16:25:13] sagax: :k => "some" it's to
[19:17:57] sagax: how to get hierarchy of Exceptions ?
[19:19:11] sagax: i know about "StandardError", "SignalException", "ScriptError"
[19:19:21] sagax: but how to get all heirarchy?
[19:22:14] sagax: very great
[21:02:20] sagax: how to class by class name? example i have class Book, how to do Book.new with string class name "book" ?
[21:02:28] sagax: how to call*
[21:02:41] sagax: how to call class*
[21:12:49] sagax: i want get class by classname, example Book.new -- like as --> "book".new
[21:13:32] sagax: i write method who get classname in argument
[21:13:55] sagax: and this method must be get class by classname
[21:40:55] sagax: >> Wee = Array; Wee.new
[21:41:29] sagax: hm, in ruby all work
[21:41:36] sagax: yes, i use pry

2018-07-26

[22:08:45] sagax: Ping timeout: 264 seconds

2018-07-22

[08:24:26] sagax: has joined #RubyOnRails
[08:24:26] sagax: has joined #ruby
[16:34:39] sagax: how to work with "rake" in ruby code?
[16:34:45] sagax: without terminal
[16:35:19] sagax: i read source https://github.com/ruby/rake/blob/master/lib/rake/application.rb but don't understand, how to make "rake" in code
[16:37:20] sagax: i want get all tasks name
[16:37:34] sagax: and after run this tasks
[16:42:30] sagax: cool, thanks
[16:42:40] sagax: why i can't found this, uff
[16:43:04] sagax: &: at this time it's hard for me
[16:43:17] sagax: i don't use this syntax "&:"
[16:52:05] sagax: how to send output from `some command` to stdout? without printf
[17:06:34] sagax: STDOUT.write
[17:06:44] sagax: thanks, i read IO docs and found
[17:11:29] sagax: my english very bad
[17:12:02] sagax: you can joke without stop
[17:13:29] sagax: no problem
[18:47:48] sagax: strange, but with v5 ActiveRecord i don't have "ActiveRecord::Base.connection.create_database" and "ActiveRecord::Migrator.migrate"
[18:49:15] sagax: just activerecord
[18:49:24] sagax: i already identified
[18:49:32] sagax: but i don't use rails, just activerecord
[18:50:53] sagax: strange, but with v5 ActiveRecord i don't have "ActiveRecord::Base.connection.create_database" and "ActiveRecord::Migrator.migrate"
[18:56:00] sagax: https://www.rubydoc.info/gems/activerecord/5.2.0/ActiveRecord/ConnectionAdapters/AbstractMysqlAdapter#create_database-instance_method
[20:55:21] sagax: how to run script with required all from Gemfile ?
[20:56:23] sagax: i don't know, maybe

2018-07-21

[00:26:09] sagax: Remote host closed the connection

2018-07-20

[22:58:47] sagax: has joined #ruby
[22:58:48] sagax: has joined #RubyOnRails

2018-07-17

[04:36:25] sagax: Quit: Konversation terminated!
[04:36:46] sagax: has joined #ruby
[04:36:56] sagax: Client Quit

2018-07-13

[11:16:27] sagax: Ping timeout: 240 seconds
[12:53:24] sagax: has joined #ruby
[12:56:14] sagax: has joined #RubyOnRails
[16:02:57] sagax: Ping timeout: 240 seconds
[16:16:56] sagax: has joined #RubyOnRails
[16:16:56] sagax: has joined #ruby

2018-07-12

[05:02:00] sagax: has joined #RubyOnRails
[05:02:00] sagax: has joined #ruby

2018-07-11

[12:51:30] sagax: Quit: Konversation terminated!

2018-07-04

[07:43:18] sagax: has joined #RubyOnRails
[07:43:35] sagax: how to get default path to log ?
[07:43:43] sagax: where i can find this?
[07:44:25] sagax: yes, dir and file
[07:45:02] sagax: but how to i get path to log file in rails?
[12:12:07] sagax: after i import some module i got some methods. How to i can got - where provide some method?
[12:12:16] sagax: who provide*
[12:12:49] sagax: not class, i question about method
[12:17:57] sagax: i found, method(:some_method).source_location
[12:18:14] sagax: it's about file, but not about object
[16:03:45] sagax: Ping timeout: 248 seconds
[19:11:12] sagax: has joined #RubyOnRails

2018-07-03

[21:17:25] sagax: Quit: Konversation terminated!

2018-06-30

[10:35:08] sagax: has joined #RubyOnRails
[10:35:08] sagax: has joined #ruby

2018-06-21

[08:29:35] sagax: Quit: Konversation terminated!

2018-06-17

[01:40:31] sagax: Remote host closed the connection
[01:50:56] sagax: has joined #RubyOnRails
[01:50:56] sagax: has joined #ruby

2018-06-16

[22:12:06] sagax: has joined #RubyOnRails
[22:12:06] sagax: has joined #ruby

2018-06-06

[01:06:27] sagax: Ping timeout: 240 seconds
[03:56:04] sagax: has joined #ruby
[15:05:17] sagax: has joined #RubyOnRails
[17:26:05] sagax: Remote host closed the connection

2018-06-02

[13:38:54] sagax: Read error: No route to host
[13:53:36] sagax: has joined #RubyOnRails
[13:53:36] sagax: has joined #ruby

2018-06-01

[05:49:11] sagax: has joined #ruby
[05:50:43] sagax: has joined #RubyOnRails

2018-05-31

[17:13:53] sagax: has joined #RubyOnRails
[17:13:53] sagax: has joined #ruby
[21:43:57] sagax: Ping timeout: 240 seconds

2018-05-30

[20:08:27] sagax: Quit: Konversation terminated!

2018-05-29

[02:41:50] sagax: *.net *.split
[02:42:10] sagax: has joined #RubyOnRails
[02:42:10] sagax: has joined #ruby
[02:47:01] sagax: *.net *.split
[02:47:44] sagax: has joined #RubyOnRails
[02:47:54] sagax: has joined #ruby
[06:10:21] sagax: Ping timeout: 240 seconds
[06:23:42] sagax: has joined #ruby
[08:20:31] sagax: Ping timeout: 256 seconds
[08:25:28] sagax: has joined #ruby
[16:42:22] sagax: has joined #RubyOnRails

2018-05-28

[00:06:54] sagax: Quit: Konversation terminated!
[19:30:32] sagax: has joined #RubyOnRails
[19:30:32] sagax: has joined #ruby

2018-05-25

[06:02:17] sagax: Quit: Konversation terminated!
[19:44:55] sagax: has joined #RubyOnRails
[19:44:55] sagax: has joined #ruby

2018-05-23

[16:31:27] sagax: Ping timeout: 245 seconds
[20:18:46] sagax: has joined #RubyOnRails
[20:18:46] sagax: has joined #ruby

2018-05-22

[05:25:41] sagax: Read error: Connection reset by peer
[06:07:44] sagax: has joined #ruby
[06:08:38] sagax: has joined #RubyOnRails

2018-05-21

[20:21:28] sagax: has joined #RubyOnRails
[20:21:28] sagax: has joined #ruby

2018-05-18

[05:34:17] sagax: Quit: Konversation terminated!

2018-05-17

[20:03:21] sagax: has joined #RubyOnRails

2018-05-16

[14:14:57] sagax: Ping timeout: 248 seconds
[14:23:53] sagax: has joined #ruby