zaargy

Activity Graph

Page 1 of 1

2017-05-25

[09:06:14] zaargy: has joined #ruby
[09:06:24] zaargy: has left #ruby: ()

2014-08-07

2014-05-06

[08:47:22] zaargy: just use rbenv and rbenv build?

2014-05-01

[10:07:02] zaargy: even if you use an orm you can't avoid sql fwiw
[10:07:32] zaargy: datamapper is maintained - it has just been split up
[10:07:57] zaargy: it is wroth understanding the difference between the activerecord and datamapper too
[10:08:39] zaargy: activerecord is probably best for a beginner in any case
[10:09:13] zaargy: http://martinfowler.com/eaaCatalog/activeRecord.html versus http://martinfowler.com/eaaCatalog/dataMapper.html
[10:10:00] zaargy: oo purist types tend to favour datamapper
[10:10:11] zaargy: people who just want to get just done like activerecord
[10:10:14] zaargy: to generalise :)

2014-04-10

[13:44:45] zaargy: luckyruby: passing arguments is preferable as you say
[13:44:52] zaargy: easier to test, fewer side-effects
[13:45:26] zaargy: but if you need to use a var in more than two methods or something then maybe an instance method is better
[13:45:29] zaargy: instance var even
[13:45:31] zaargy: ACTION shrugs
[13:45:33] zaargy: it depends

2014-04-03

[10:49:38] zaargy: regex yes
[10:50:26] zaargy: "images/http-google.com.png".gsub(/^images\//, "")

2014-03-07

[11:35:13] zaargy: that's not really worth refactoring

2014-03-04

[16:44:41] zaargy: it could be