andrefreitas

Activity Graph

Page 1 of 1

2015-07-15

[10:32:39] andrefreitas: has joined #ruby
[10:32:49] andrefreitas: Hi, how I test a gem project in IRB?
[10:32:55] andrefreitas: I forgot the syntax :/
[10:33:54] andrefreitas: I am developing a gem
[10:34:06] andrefreitas: and I want to be able to test the classes I have implemented in irb
[10:35:55] andrefreitas: thank you, it worked
[15:05:51] andrefreitas: Quit: Lost terminal

2015-07-14

[08:10:17] andrefreitas: has joined #ruby
[08:10:45] andrefreitas: hi, I am developing a gem. Besides unit testing, how can I include it on the irb to test it for real?
[08:13:26] andrefreitas: apeiros: thank you :)
[09:05:21] andrefreitas: I am using requests gem https://rubygems.org/gems/requests. What is the best way to mock up this library? Webmock is not working properly
[09:08:42] andrefreitas: zenspider: basically I send an array list of params but webmock only recognizes the first (is a bug)
[09:09:00] andrefreitas: Minitest::Mock seems good
[09:09:51] andrefreitas: zenspider: what? xD
[09:10:12] andrefreitas: zenspider: I am talking about params that are array
[09:10:35] andrefreitas: e.g. /projects?list=cat&list=puppy
[09:33:00] andrefreitas: Ping timeout: 264 seconds
[09:39:36] andrefreitas: has joined #ruby
[12:06:07] andrefreitas: Ping timeout: 248 seconds
[12:25:05] andrefreitas: has joined #ruby
[12:30:00] andrefreitas: Ping timeout: 264 seconds
[12:52:26] andrefreitas: has joined #ruby
[13:16:50] andrefreitas: Quit: Lost terminal

2015-07-08

[13:58:13] andrefreitas: has joined #RubyOnRails
[13:58:20] andrefreitas: Hi, how do i generate a model inside a module?
[13:58:35] andrefreitas: I tried rails g model <module>/<model> <field>
[14:21:50] andrefreitas: what is the best way to list the models of a project with their attributes?
[14:52:56] andrefreitas: If a Customer have a lot of orders (association) why can't i do order.customer?
[14:53:10] andrefreitas: do i need allways to do order.customer_id = c.id?
[15:47:56] andrefreitas: Quit: Lost terminal

2015-06-01

[16:03:32] andrefreitas: has joined #RubyOnRails
[16:03:49] andrefreitas: Hi. How can I invoke a Rake Task from a test_helper.rb?
[16:04:04] andrefreitas: From what I googled, only .rake files can invoke other Rakes files.
[16:09:55] andrefreitas: Ping timeout: 256 seconds
[16:35:32] andrefreitas: has joined #RubyOnRails
[17:08:49] andrefreitas: Ping timeout: 264 seconds
[17:34:08] andrefreitas: has joined #RubyOnRails