maestrojed has quit [Quit: Computer has gone to sleep.]
zeroNones has joined #ruby
zeroNones has quit [Client Quit]
ffranz has quit [Quit: Leaving]
<gr33n7007h>
mozzarella, shevy Thank you so much \o/
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
<shevy>
wow
<shevy>
he even know which code to use
<shevy>
he has a big brain
<shevy>
for a mozzarella
<shevy>
yum yum yum
<shevy>
so tasty
<shevy>
all food nicks should be banned from IRC
<centrx>
mozzarella used to be a noob, now he is #1
soasme has joined #ruby
bmurt has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
<davidcelis>
mozzarella has evolved into mozzarella di bufala!
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
<shevy>
ewww
Deele has quit [Ping timeout: 276 seconds]
Neku64 has joined #ruby
<shevy>
bufalo mozzarella has this distinct smell
<davidcelis>
lmao if you don't consume solely buffalo mozzarella
<davidcelis>
and nothing else
melik has quit [Quit: Computer has gone to sleep.]
melik has joined #ruby
melik has quit [Client Quit]
janmuffino has quit [Ping timeout: 246 seconds]
whatasunnyday has quit [Quit: whatasunnyday]
goodenough has joined #ruby
nobitanobi has quit []
kireevco has quit [Quit: Leaving.]
ghanima has joined #ruby
whatasunnyday has joined #ruby
InhalingPixels has joined #ruby
thagomizer has quit [Quit: Leaving.]
andrewjanssen has joined #ruby
<siwica>
where do I find a change log for recent ruby versions?
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
gtrak has joined #ruby
maestrojed has joined #ruby
IrishGringo has joined #ruby
axsuul has quit [Ping timeout: 268 seconds]
thumpba has quit [Remote host closed the connection]
<hakunin>
i've sort of not realized before that grouping multiple types of the same thing under a module is wrong use of modules. grouping parts of the same thing under a module is right. opinions? is this a good realization?
<davidcelis>
example?
<hakunin>
Person::David, Person::Max - wrong; Person::Heart, Person::Lungs - right
<hakunin>
(contrived example, but to get a point across)
chipotle has quit [Quit: cya]
chipotle has joined #ruby
<hakunin>
i have many of these cases in my app, like PricingScheme::QuantityDiscounts, PricingScheme::PercentDiscounts
axsuul has joined #ruby
InhalingPixels has quit [Ping timeout: 264 seconds]
<hakunin>
these both just happen to be interchangeable, doesn't mean they should be grouped under a namespace
<zenspider>
siwica: in the code repo
maestrojed has quit [Quit: Computer has gone to sleep.]
<siwica>
zenspider: do you have a link for that?
<hakunin>
if a gem is introduced with a pricing scheme, it won't be putting it under my namespace…
<hakunin>
zenspider: it started causing some pain in certain contexts
sparrovv has joined #ruby
gccostabr has joined #ruby
t0rc has quit [Quit: WeeChat 1.0]
mechanicalduck has joined #ruby
<mechanicalduck>
hi
<mechanicalduck>
In ruby erb template:
<mechanicalduck>
<% if @myvar -%>
<hakunin>
generally, the idea behind multiple things of the same kind is that they are purely duck-typed, all they need is interface adherence, and placing them under a module is an extra boundary that restricts organization unnecessarily
<mechanicalduck>
this checks whether it is undef
<mechanicalduck>
But how can I also let it check whether it is false?
<mechanicalduck>
So I want that the condition only passes when 1) the variable is not undef and 2) the variable is not false .
maestrojed has joined #ruby
<mechanicalduck>
Can I do this somehow?
oo_ has joined #ruby
<mechanicalduck>
anyone? :D
<mechanicalduck>
this innocuous erb question?
sparrovv has quit [Ping timeout: 240 seconds]
<hakunin>
mechanicalduck: this condition will only pass if @myvar is truthy
<hakunin>
by definition
<mg^>
yeah I was trying to figure out if this was a trick question
<centrx>
jackjackdrpr, what you wrote above will work too, but it is better to use && and || instead of and an or for an if-statement because of subtle differences (order of operations)
jusmyth has quit [Read error: Connection reset by peer]
spider-mario has joined #ruby
jusmyth1 has joined #ruby
sectionme has joined #ruby
KingOfKarlsruhe has joined #ruby
charliesome has joined #ruby
<dawkirst>
hi, I have a class that takes a file path to a JSON file and parses the contents. in my specs, how can I test that my class successfully raises an error when trying to parse malformed JSON without having to actually have a file with bad JSON inside?
<elaptics>
kj_: well that depends on what shell you're using
AlSquire has joined #ruby
Gonzih has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
zaiste has joined #ruby
<elaptics>
dawkirst: why not just have a file with bad json inside?
<dawkirst>
elaptics: guess that could work. would such a file then typically live somewhere inside /spec?
Takle has quit [Remote host closed the connection]
<elaptics>
balance: what do you mean, how?
rklfn has quit [Client Quit]
zettam has quit [Read error: Connection reset by peer]
<Mon_Ouie>
balance: It's used for the arguments of a block ('|' is sometimes called 'pipe')
<Mon_Ouie>
or parameters, I should say
diegoviola has quit [Remote host closed the connection]
jhaals has joined #ruby
<Mon_Ouie>
File.open(…) do |f| … end means you create a block with one parameter ('f') which you can use inside the block (the '…' in my example)
BTRE has joined #ruby
<Mon_Ouie>
File.open calls the block you passed it with the file that it opens
Kerber0s has quit [Ping timeout: 264 seconds]
<balance>
Mon_Ouie, thats clear, but why |?
a has joined #ruby
a___ has joined #ruby
<Mon_Ouie>
Why do we use + for addition? We just picked a symbol.
a is now known as Guest81838
techsethi has quit [Quit: techsethi]
<sevenseacat>
i'm going to start using % for addition.
zettam has joined #ruby
* sevenseacat
nods.
a___ has quit [Client Quit]
<sevenseacat>
10 % 2 = 12. oh yeah.
Mars__ has joined #ruby
diegoviola has joined #ruby
<elaptics>
Mon_Ouie: that question is too philosophical for this time of the morning :)
mengu has quit [Remote host closed the connection]
<balance>
Mon_Ouie, there mustb e a reason why they didn't just use f but |f| it's not why this symbol but why a symbol. why not just f. maybe there are several combinations which do several things. there are several kind of additions e.g. with references etc. or +=, so yeah, it's important and a good question.
<Mon_Ouie>
Because 'do f end' is a block that returns the value of f
patrick99e99 has joined #ruby
workmad3 has joined #ruby
charliesome has quit [Quit: zzz]
<elaptics>
balance: the other form of writing a block is also like: File.open {|f| .... }
<balance>
Mon_Ouie, thanks. block was the name I was looking for.
blueOxigen has quit [Ping timeout: 268 seconds]
jusmyth1 has quit [Read error: Connection reset by peer]
Guest81838 has quit [Quit: leaving]
jusmyth has joined #ruby
<elaptics>
balance: in that case you need a separator to know what bit is the difference. Plus there's also the case when there are multiple parameters to a block
eivindml has joined #ruby
<balance>
elaptics thanks, i'll go and read the docs :)
eivindml has quit [Max SendQ exceeded]
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
patrick99e99 has quit [Ping timeout: 272 seconds]
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
rbenv has joined #ruby
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
rbenv has quit [Client Quit]
Mars__ has quit [Remote host closed the connection]
eivindml has joined #ruby
Mars__ has joined #ruby
flagg0204_ has quit [Ping timeout: 246 seconds]
hellangel7 has joined #ruby
ftogiq has joined #ruby
phoo1234567 has joined #ruby
bluOxigen has joined #ruby
rbenv has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
zarul has joined #ruby
zarul has joined #ruby
Mars__ has quit [Ping timeout: 272 seconds]
jezeniel has quit [Quit: WeeChat 0.4.3]
phoo1234567 has quit [Client Quit]
rbenv has quit [Read error: Connection reset by peer]
diegoviola has quit [Read error: Connection reset by peer]
diegovio1 has joined #ruby
diegovio1 is now known as diegoviola
CpuID has quit [Read error: Connection reset by peer]
lukeholder has quit [Ping timeout: 268 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
sevenseacat has quit [Remote host closed the connection]
<sagittarian>
Mon_Ouie, it's a christian conspiracy
Gonzih has left #ruby ["undefined"]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
nhjk has quit [Read error: Connection reset by peer]
dumdedum has joined #ruby
yacks has joined #ruby
flagg0204 has joined #ruby
Xeago has quit [Remote host closed the connection]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
RTG` has quit [Disconnected by services]
RTG`` has joined #ruby
kaspertidemann has joined #ruby
oo_ has joined #ruby
<zenspider_>
balance: because of smalltalk.
RTG` has joined #ruby
charliesome has joined #ruby
<balance>
zenspider_, ?
nettoweb has joined #ruby
<zenspider_>
smalltalk blocks used goalposts for block vars
jaake1 has quit [Ping timeout: 245 seconds]
zenspider_ is now known as zenspider
<balance>
zenspider_, ah u mean the language
<zenspider>
yes
threesixes has quit [Remote host closed the connection]
Mars__ has quit [Remote host closed the connection]
Mars__ has joined #ruby
decoponio has joined #ruby
coderhs has joined #ruby
snorkra has quit [Ping timeout: 255 seconds]
<zenspider>
it's an odd question tho, I have to say
skaflem has joined #ruby
<zenspider>
"because" is just as good an answer
jhass is now known as jhass|off
ndrei has joined #ruby
sk87 has joined #ruby
Mars__ has quit [Ping timeout: 268 seconds]
orolo has quit [Quit: This computer has gone to sleep]
fabrice31 has quit [Read error: No route to host]
fabrice31_ has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
Takle has joined #ruby
postmodern has quit [Quit: Leaving]
duncannz has quit [Ping timeout: 240 seconds]
Px12 has joined #ruby
snorkra has joined #ruby
agjacome has joined #ruby
cina has quit [Quit: Reconnecting]
cina has joined #ruby
Takle has quit [Remote host closed the connection]
cina has quit [Client Quit]
cina has joined #ruby
cina is now known as cina_
bMalum has quit [Quit: bMalum]
cina_ is now known as cina__
orolo has joined #ruby
Macaveli has quit [Ping timeout: 264 seconds]
doritostains has joined #ruby
cina__ is now known as cina
Takle has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
i6ghost has quit [Remote host closed the connection]
marr has joined #ruby
i6ghost has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
snorkra has quit [Ping timeout: 255 seconds]
GriffinHeart has quit [Remote host closed the connection]
nfk has joined #ruby
echooo1 has quit [Ping timeout: 268 seconds]
cina is now known as alskdju
Imofftopic has joined #ruby
doritostains has quit [Ping timeout: 276 seconds]
<alskdju>
let's say I have a loop that is iterated 1 million times, and I'm using something like "result << row" to create the final "result". Would it make any difference (in terms of memory usage) if I define "row" outside the iteration or if I define it on each iteration?
<DefV>
Benchmark it?
GinoMan has joined #ruby
snorkra has joined #ruby
benlieb has quit [Quit: benlieb]
jds has quit [Quit: Connection closed for inactivity]
Imofftopic has quit [Quit: Leaving]
<alskdju>
DefV: I will try to reproduce the issue locally... the ram usage on a live server is growing fast on a large file upload
<shevy>
alskdju an assignment is some call to code, and doing so in every line of the loop will be slower than doing it once outside before hitting the loop
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 272 seconds]
sigurding has quit [Quit: sigurding]
anaeem1 has quit [Ping timeout: 255 seconds]
EasyCo has quit [Quit: Connection closed for inactivity]
narcan has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
<alskdju>
thanks guys
kyb3r_ has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
mary5030 has joined #ruby
claymore has joined #ruby
bove_ is now known as bove
repsol_ has quit [Ping timeout: 246 seconds]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
jottr has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
qba73 has joined #ruby
lukeholder has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
lukeholder has quit [Max SendQ exceeded]
kaspertidemann has quit []
lukeholder has joined #ruby
himsin has quit [Quit: himsin]
BlkDynmt has quit [Quit: BlkDynmt]
Takle has joined #ruby
Advocation has quit [Quit: Advocation]
<alskdju>
is there a more efficient way of appending a value to an array? (other than "<<" )
himsin has joined #ruby
dgheath21 has joined #ruby
tkuchiki_ has joined #ruby
<ccooke>
alskdju: what do you mean by "efficient"?
orolo has joined #ruby
fsapo has joined #ruby
lolmaus has joined #ruby
<ccooke>
(and how is << deficient?)
<Mon_Ouie>
There isn't, but there's a more efficient way to add 1 million elements to an array than calling << 1 million times
tkuchiki_ has quit [Remote host closed the connection]
<Mon_Ouie>
(e.g. use Array.new(1_000_000) { |i| … } to create the array with the right size immediately)
mahtennek has joined #ruby
<ccooke>
hmm. Now I'm curious as to the efficiency of, say, array += [ one, million, items ]
<mahtennek>
how do i run 2 variables of 2 results in 1 data structure?
<alskdju>
hmm, I wonder if creating the array with the right size and then setting the values at each index would be faster or more memory efficient than appending to []
<Mon_Ouie>
That creates a new array, it doesn't change existing one. It can immediately allocate an array of the right size though.
tkuchiki has quit [Ping timeout: 240 seconds]
coderhs has quit [Ping timeout: 272 seconds]
<ccooke>
mahtennek: what you mean isn't completely clear, I'm afraid. Could you explain further?
<Mon_Ouie>
It probably would. When you use <<, the way it works is the array has a size and a capacity. When the size reaches the capacity, it reallocates the array buffer to make it bigger (e.g. multiplies it by 1.5)
lkba has quit [Ping timeout: 240 seconds]
<mahtennek>
sure. i am actually calling a method that returns an enumerated result. vms = $virtual_machine_service.list_virtual_machines, and cloud_svc = $cloud_service_management_service.list_cloud_services
schickung has quit [Quit: schickung]
<mahtennek>
i would want to combine these 2 together so i can combine the results into one
w1xz has quit [Quit: .. lightyears a head but just a message away ..]
Advocation has joined #ruby
sepp2k has joined #ruby
jacobat has joined #ruby
electrical has joined #ruby
sleepee has joined #ruby
mengu has quit [Remote host closed the connection]
cougarten has joined #ruby
jhaals_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tlarevo_ has quit [Remote host closed the connection]
electrical has left #ruby [#ruby]
<cougarten>
hej, I'm no ruby guru and want to get the sass game running to compile my css.
<cougarten>
I installed sass and executing "sass" from the terminal in ubuntu gets me " this error: "/usr/bin/env: ruby_executable_hooks: No such file or directory"
piwhy has joined #ruby
<ddv>
cougarten: how did you install ruby?
anaeem1 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
<cougarten>
ddv, oh thats a while back... I don't remember...
<cougarten>
maybe via RubyMine
<ddv>
cougarten: via apt?
Fire-Dragon-DoL has quit [Quit: Leaving.]
<cougarten>
either apt or RubyMine did it
<ddv>
I don't RubyMine installs ruby for you...
<ddv>
+think
Fire-Dragon-DoL has joined #ruby
<cougarten>
oh ok
<cougarten>
than probably apt
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
cougarten: try gem pristine sass
<ddv>
I think you should see a physician because you got signs of early alzheimerz disease
<cougarten>
give me a second, if i find a passable text editor with build in sass support I'll just use that one and we don't need to bother more :)
<cougarten>
haha, yes, i should, most defenetely
<cougarten>
jhass, did somethang (restored all the sass versions) but did not change the error
a___ has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
jhaals_ has joined #ruby
<jhass>
and with gem pristine --only-executables sass ?
danoo has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
klmlfl has joined #ruby
the_f0ster has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
<cougarten>
jhass, this changed something, might work now. what did it do? (think you!)
yeticry has joined #ruby
anaeem1 has joined #ruby
mr-foobar has quit [Ping timeout: 264 seconds]
klmlfl has quit [Remote host closed the connection]
Jackneill has joined #ruby
<cougarten>
jhass, i googled my * off for half a day trying to find a solution :)
timgauthier is now known as timgauthier_isaw
<cougarten>
it works, thank you so much. I as close to going back to windows where my set-up works
klmlfl has joined #ruby
sevenseacat has joined #ruby
<cougarten>
~was
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass>
it basically repeated the installation step for adding the sass executable
<cougarten>
ok, why ever it was missing... thanks again :) how comes you help people here?
sdegutis has joined #ruby
<sdegutis>
How do you use Slim by itself?
<sdegutis>
The docs don't have a simple example of this somewhere.
piwhy has quit [Ping timeout: 264 seconds]
<jhass>
cougarten: how comes you don't?
piwhy has joined #ruby
<cougarten>
jhass i try to keep my karma equal, but I'm no expert at anything :)
anaeem1 has quit [Ping timeout: 255 seconds]
Ankhers has joined #ruby
<jhass>
see, hanging out here and trying to solve other peoples problems helps you getting an expert on some stuff ;)
<cougarten>
but i help people a lot also, with all the computerstuff and some wordpress here and there :)
anaeem1 has joined #ruby
<sdegutis>
Oh, found Slim::Template.new(f).render(self)
klmlfl has quit [Ping timeout: 252 seconds]
DrCode has quit [Remote host closed the connection]
larissa has joined #ruby
lucianosousa has joined #ruby
<cougarten>
i see :) We'll I'm not a programmer at heart. If I'll some day have no job I'll become one :)
<shevy>
what markup or templating systems do we have in ruby?
<shevy>
- kramdown for markup
maasha has quit [Ping timeout: 246 seconds]
gtrak has joined #ruby
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
<tobiasvl>
erb, haml
<tobiasvl>
redcloth (textile)
emocakes has quit [Ping timeout: 260 seconds]
Lewix has joined #ruby
emocakes_ has joined #ruby
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
Behi has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
sparrovv has quit [Ping timeout: 245 seconds]
emocakes__ has quit [Ping timeout: 245 seconds]
sparrovv has joined #ruby
<Hanmac>
shevy i rewrote a bit again with two new commandline options https://gist.github.com/Hanmac/cb9e13ff220e4f31e13a ... now knew are "--gemgroup" for specify if you only want some groups and not all of them in the graph, and "--only-gemfile" with it you can do that only the gems of the gemfile/groups and its dependencies are shown, not all installed ones
bMalum has quit [Quit: bMalum]
RaCx has joined #ruby
troyready has joined #ruby
Advocation has joined #ruby
<shevy>
we need less GemTree and more wxwidget tree!
<shevy>
I hate OptionParser so much
<shevy>
opts.on("--[no-]only-gemfile", "Shows only gems which are part of the Gemfile") do |og|
<shevy>
how do you obtain that description Hanmac?
jusmyth has joined #ruby
Soda has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Hanmac>
shevy "./gemtree.rb --help" ?
livingstn has joined #ruby
<ddv>
Hanmac: my eyes :(
geggam has joined #ruby
<Hanmac>
ddv what did i do again?
<ddv>
Hanmac: gemtree.rb needs some refactorings
zalmoxes_ is now known as zalmoxes
Soda has quit [Remote host closed the connection]
milkohol has joined #ruby
<Hanmac>
ddv it is already refactored enough or could you specify your problem with it?
zeroNones has joined #ruby
mikepack has joined #ruby
<ddv>
Hanmac: encapsulate behaviour to several classes, a lot of methods are way too big
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
{xenomorph} is now known as xenomorph
<Hanmac>
aha is that your opinion or did a little program did tell you that?
tkuchiki has joined #ruby
akemrir has quit [Quit: WeeChat 1.0]
jhaals__ has joined #ruby
Jackneill has quit [Ping timeout: 245 seconds]
<workmad3>
ddv: I'd agree that a couple of methods are on the long side... but it's a 400 line script, you can hold pretty much everything it's doing in your head at once with a little effort, so it's not exactly gonna impede understandability yet ;)
<ddv>
Hanmac: you sound a little bit condescending.....
ffranz has joined #ruby
<ddv>
Hanmac: also some methods have multiple responsebilities
<shevy>
the problem is that OptionParser leads to design of awful spaghetti code
momomomomo has joined #ruby
<Hanmac>
it is only because i documented it ... before it was a <300 line script ;P
<shevy>
opt_parser.parse!(ARGV)
linojon has joined #ruby
<workmad3>
hell, drop the option parsing, it's still under 300 lines with docs :)
<shevy>
I hate stray ARGV somewhere
jhaals_ has quit [Ping timeout: 260 seconds]
<workmad3>
so meh... I'd say additional refactoring at this point would be gold-plating it rather than providing anything useful :)
elstif has joined #ruby
LudicrousMango has joined #ruby
<ddv>
write_file, update_check zomg
cirn0 has joined #ruby
sdegutis has quit [Quit: Leaving...]
<ddv>
:)
candelabra has joined #ruby
charliesome has quit [Quit: zzz]
troyready has quit [Ping timeout: 245 seconds]
tobago has quit [Remote host closed the connection]
<candelabra>
I'm just looking over some documentation (specifically Syslog), and I see this "facility describes the type of program opening the syslog, and is the logical OR of any of the following"... what do they mean by "is the logical OR of"
<candelabra>
?
<Hanmac>
hm ok the write_file can be splitted into 3 parts, but let me quess, the filter_gems is also to long for you ne?
bMalum has joined #ruby
<ddv>
I hate to be this phrick that recommends you to read up on solid principles but you really should Hanmac
shackleford has joined #ruby
ptierno has joined #ruby
<workmad3>
ddv: there's also such a thing as over-engineering a simple script :P
<ddv>
Hanmac: you have a lot of unnecessary comments
cirn0 has quit [Ping timeout: 264 seconds]
jusmyth has quit [Quit: Leaving.]
Inhaling_ has quit []
centrx has joined #ruby
InhalingPixels has joined #ruby
<bhaak>
am I the only one bothered with comments missing a space like #comment? looks like a rdoc thing
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
<workmad3>
bhaak: tbh, most non-doc comments bother me :)
<drusepth>
bhaak: I always "fix" the missing space
<ddv>
workmad3: it could be so beautifull
cocotton has joined #ruby
<mozzarella>
#comment makes it look like it's commented code
cpruitt has quit [Read error: Connection reset by peer]
<bhaak>
having a 50 lines of code method without any comments doesn't sound that good ;-)
mikepack has quit [Remote host closed the connection]
cpruitt has joined #ruby
<ddv>
your code is your documentation
<ddv>
imo
treehug88 has joined #ruby
<bhaak>
it depends. I generally prefer not having to write comments but then the code needs to be very clear.
<ddv>
also a 50 lines method is way too big
<ddv>
write clear code then bhaak
<bhaak>
but sometimes my code is clear to me but not the coworker.
<shevy>
because he did not think the same way as you did
<ddv>
bhaak: good code is easy to understand
JohnFord has joined #ruby
<ddv>
bhaak: jus be glad you aren;'t using perl where you can do the same thing in millions of different ways
anaeem1 has quit [Remote host closed the connection]
paulfm_ has joined #ruby
<ddv>
also if your coworker doesn't understand it must be his problem mentality is very bad :P
<Hanmac>
refactor a bit, did cut the write_file method into pieces, link is the same
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<bhaak>
he did write C# code before, so it IS his fault!
<ddv>
bhaak: 5 years later you need to fix his code, your screwed :)
<Hanmac>
ddv i am happy that you dont see my C++ bindings ... in there i cut the methods from >17lines into one ... for each attribute (and some classes does have more than >20 of them)
douglasssssss has quit [Read error: Connection reset by peer]
<ddv>
Hanmac: ok :)
lkba has joined #ruby
<Hanmac>
hey! compared to my other stuff i do, this is documented ;P
<bhaak>
ddv: s/years/weeks/ and BTDT
Lewix has quit [Remote host closed the connection]
<Hanmac>
shevy for the problem before: both have the same InstructionSequence, means both are the same internally ...
<shevy>
Hanmac I mean inside the custom foo= method
banister has quit [Max SendQ exceeded]
<shevy>
if you do return 42 it won't be honoured
Biohazard has joined #ruby
sparrovv has quit [Remote host closed the connection]
<Hanmac>
shevy if you call your custom foo= method with send, it does
<shevy>
ok so InstructionSequence does not give us access to how the ruby parser itself sees the tokens given
banister has joined #ruby
<diegoviola>
so this company who was trying to hire me just sent me this email:
<diegoviola>
"Hey Diego, We had a few internal issues and I will therefore have to delay your start by 2 weeks. Let me know if you have any problems postponing it and thanks for your understanding! Best regards,"
<diegoviola>
geez
banister has quit [Max SendQ exceeded]
<shevy>
Hanmac really?
<shevy>
lemme test that...
<diegoviola>
it's like the third time they say this to me
<shevy>
diegoviola are you still fighting for your money ;)
<diegoviola>
not sure I want to work with them anymore
<diegoviola>
shevy: no :-)
atmosx has quit [Quit: Lost in trance]
banister has joined #ruby
<balance>
Can I say that an instance variable in ruby basically imitates a class property e.g. in c#?
<shevy>
cool that they know it will take 2 weeks
<shevy>
they probably have a timer
lemur has quit [Ping timeout: 272 seconds]
<shevy>
"in 14 days we will send another fancy email to diegoviola"
rockdon|away is now known as rockdon_
<shevy>
that reminds me of Obama "fighting ISIS terrorists will take 3 years"
<shevy>
people all have some timer for the future
<Hanmac>
balance: hm i think it might be ... but you need to know that class objects itself can have instance variables too
<diegoviola>
shevy: can I give them your email address so they bother you instead?
<shevy>
diegoviola sure but I don't read email so .... :)))
<diegoviola>
or is there a way to pipe that crap to /dev/null?
<shevy>
naaah
<shevy>
just delete it and be done and move on!
<diegoviola>
sure, thanks
<ddv>
diegoviola: I would look for other opportunities, doesn't sound very professional to me
<diegoviola>
right
<balance>
Hanmac class objects itself? You mean an object of the type Class?
Morkel has quit [Quit: Morkel]
<Hanmac>
balance: yes for sample Array is an instance of the class Class ... so Array can have instance variables too
jhaals__ has quit [Remote host closed the connection]
sindork has quit [Ping timeout: 245 seconds]
Kovensky has quit [Ping timeout: 240 seconds]
Jackneill has joined #ruby
chrisja has joined #ruby
<balance>
Hanmac ah yeah ok, good thanks
jay has joined #ruby
agjacome has joined #ruby
OffTheRails has quit [Ping timeout: 260 seconds]
sindork has joined #ruby
mikepack has quit [Remote host closed the connection]
amundj has quit [Ping timeout: 246 seconds]
thumpba_ has joined #ruby
snath has joined #ruby
banister has quit [Client Quit]
thumpba_ has quit [Client Quit]
jay is now known as rubyonrailed
schickung has quit [Quit: schickung]
rockosays has joined #ruby
relix has quit [Read error: Connection reset by peer]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aleatorik is now known as wolves_cs
relix has joined #ruby
Kovensky has joined #ruby
james_woods has left #ruby [#ruby]
jobewan has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Lewix has joined #ruby
ringarin has joined #ruby
ursooperduper has joined #ruby
candelabra has quit [Quit: Leaving]
sambao21 has joined #ruby
ftogiq has quit [Remote host closed the connection]
manzo has quit [Ping timeout: 245 seconds]
CaptainJet has joined #ruby
jhaals_ has joined #ruby
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
GeorgesLeYeti has joined #ruby
<GeorgesLeYeti>
Hi
<ddv>
hi
bal has quit [Quit: bal]
<GeorgesLeYeti>
How could i get the full path of a file without the extension ?
bal has joined #ruby
bal has quit [Client Quit]
GreatSUN has joined #ruby
Avahey_ has joined #ruby
apeiros has quit [Remote host closed the connection]
<GreatSUN>
hey all
sevenseacat has quit [Quit: Leaving.]
Takle has quit [Remote host closed the connection]
<GeorgesLeYeti>
Like File.join ( File.direname(mypath), File.basename( mypath, File.extname(mypath))
MaciejCzyzewski has joined #ruby
<GeorgesLeYeti>
is there any way to make it simpler
axl__ has joined #ruby
<GreatSUN>
can someone tell me if and how I can determine if a variable is defined or not if the name of the variable is the value of another?
Takle has joined #ruby
larissa has quit [Quit: Leaving]
<centrx>
GeorgesLeYeti, mypath.sub(/\..*$/, '')
Wolland has quit [Ping timeout: 245 seconds]
_Kerber0s_ has quit [Remote host closed the connection]
OffTheRails has joined #ruby
<GeorgesLeYeti>
centrx: ty
axl_ has quit [Ping timeout: 240 seconds]
axl__ is now known as axl_
blackmesa has quit [Ping timeout: 255 seconds]
Kerber0s has joined #ruby
<centrx>
GreatSUN, var.nil? ?
<Hanmac>
centrx: hm might be problematic for files that start with a dot like ".profile"
ndrei has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
<GreatSUN>
centrx: myVarToTestFor = 'myvarname'
cougarten has quit [Ping timeout: 250 seconds]
<gomikemike>
hello
<GreatSUN>
myVarToTestFor.nil? == false while defined?(myvarname) would be nil
<centrx>
GeorgesLeYeti, ^
<siwica>
What is the best practice to require files within your project? Is there some way I can get rid of any requirements other than for external gems?
<gomikemike>
i hage to flip an IP address to automate the creation of a PTR record
<gomikemike>
s/hage/hvae
alskdju has quit [Quit: leaving]
mikepack has joined #ruby
<gomikemike>
argh, not better
<GreatSUN>
siwica: what do you mean? you can load files by file list in array for example
<siwica>
havenwood: So does one typically require individual files or entire directories with "require_all"?
mijicd has joined #ruby
patrick99e99 has joined #ruby
ringarin has quit [Quit: Leaving]
<alex88>
any idea for a replacement of the killall command in ruby?
<siwica>
havenwood: that looks useful
<centrx>
alex88, It's not the greatest idea to use killall automatically, but you can put it in system("killall x")
<alex88>
centrx: replacement since it's not available in the system :D
<j416>
o/ what's the /o suffix for regexp? I googled it but I can't quite grasp what it is for
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chth0n has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
<havenwood>
siwica: typically require individual files explicitly, if you don't want to there's Bundler.require to load everything in your Gemfile or selectively.
banister has joined #ruby
<alex88>
since I'm using the phantomjs.rb gem within a Timeout::timeout block and after a while I get a "EAGAIN Unable to fork" so my idea is that it doesn't get closed and it's still running
banister has quit [Client Quit]
troulouliou_dev has quit [Remote host closed the connection]
<havenwood>
alex88: yup
jhaals_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<alex88>
havenwood: you think that could be the problem too?
ursooperduper has quit [Remote host closed the connection]
<a___>
j416: lol. tell me when you work it out. It's kind of ambiguous
<alex88>
I thought that since the sidekiq thread gets closed also its children would
<havenwood>
j416: o perform #{...} substitutions only once
<havenwood>
only interpolate #{} blocks once
cocotton has quit [Quit: Leaving...]
sdwrage has quit [Ping timeout: 240 seconds]
cocotton has joined #ruby
Takle has joined #ruby
apeiros has quit [Remote host closed the connection]
rafacv has joined #ruby
fabrice31 has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
<j416>
havenwood: I still don't get it
renderful has quit [Remote host closed the connection]
banister has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has quit [Max SendQ exceeded]
<alex88>
havenwood: oh ok, so I think phantomjs.rb does none of the things in point 5
<alex88>
I think I'll implement the timeout in the phantomjs script
renderful has joined #ruby
RaCx has joined #ruby
<havenwood>
alex88: nice
banister has joined #ruby
<alex88>
thanks for the tips havenwood
<havenwood>
np
banister has quit [Max SendQ exceeded]
freerobby1 has joined #ruby
banister has joined #ruby
qba73 has quit [Remote host closed the connection]
doodlehaus has joined #ruby
Xeago has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 268 seconds]
sigurding has quit [Read error: Connection reset by peer]
<havenwood>
alex88: imagine you're iterating and each iteration you use a regexp, do you want the #{stuff} interpolation in the regexp to occur each time (like normal) or only once (\o).
<havenwood>
alex88: ooh, MT
<havenwood>
j416: ^
tvw has quit []
andikr has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
<j416>
where's that ruby playground pastebin?
<havenwood>
GreatSUN: You have more options with instance variables.
<GreatSUN>
havenwood: I guess it matters on if you have recursive values (#{} interpolation)
qba73 has quit [Remote host closed the connection]
itspots_ has joined #ruby
jaake1 has joined #ruby
<canton7>
yup
<canton7>
self.games calls the 'games' method, which returns the value of @games
<canton7>
using @games just accesses @games
<apeiros>
balance: they evaluate to the same value here. but they are not the same.
<balance>
canton7, thanks, and is there a difference between using def self.foo and def foo in a class?
<balance>
apeiros yeah, sure
<canton7>
yes
tectonic has quit [Client Quit]
<Hanmac>
like in one of my cases i had @data with is and Array, but self.data does return an base64/gzip string of that data
<apeiros>
balance: your has_game? method can be rewritten as just: `games.include?(search_game)`
<centrx>
also your shoe's untied
elliptical_ has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
max06 has quit [Ping timeout: 260 seconds]
grzywacz has joined #ruby
<balance>
apeiros it's bad written on purpose, it's an excersice, no productive code. :) thanks
grzywacz has quit [Changing host]
grzywacz has joined #ruby
cleopatra has quit [Ping timeout: 245 seconds]
JoshGlzBrk has joined #ruby
mrnugget has quit [Ping timeout: 264 seconds]
<balance>
Is it bad practice to not use attr_accessor but do all the getting and setting by myself?
itspots has quit [Ping timeout: 276 seconds]
ursooperduper has joined #ruby
failshel_ has quit [Remote host closed the connection]
<apeiros>
there exist different opinions on that.
ndrei has joined #ruby
emmesswhy has joined #ruby
<apeiros>
IMO use @vars over accessors.
failshell has joined #ruby
<apeiros>
only when your writer/reader is not a pure accessor and performs additional work, use methods
<centrx>
balance, if you mean define your own getters and setters with "def", that would be pointless
jdj_dk_ has joined #ruby
<apeiros>
toretore can elaborate the 180° different view :-p
<balance>
apeiros ok, centrx why?
qba73 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gauke has joined #ruby
carlyle has joined #ruby
Xeago has joined #ruby
Azulinho has quit [Ping timeout: 260 seconds]
<centrx>
balance, which issue did you mean?
qba73 has quit [Remote host closed the connection]
<centrx>
balance, attr_accessor defines the basic getter and setter for you
avita1 has quit [Quit: Leaving.]
<balance>
centrx I know
phrozen77 has joined #ruby
phrozen77 has quit [Changing host]
Takle has quit [Remote host closed the connection]
<centrx>
balance, @instance_variables are for access with in a class, as they clearly show up as variables, but the alternative always using the getter/setter method, allows for adding in dynamic logic more easily
DEA7TH has joined #ruby
Xeago has quit [Remote host closed the connection]
<centrx>
balance, I would do @games = games in the initialize code you showed, and say @games = JSON.decode(games) if you wanted to add some logic for it, not self.games = games and putting that logic in the method
<centrx>
yeah, okay, it's decided then, use instance variables
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 268 seconds]
jarto has joined #ruby
<apeiros>
that said, I've a hard time to remember when I last replaced ivars through methods because I redesigned that part of a class
jdj_dk_ has quit [Remote host closed the connection]
chth0n has quit [Ping timeout: 252 seconds]
<apeiros>
so either it was too trivial or I haven't done it often, if at all
InhalingPixels has quit [Ping timeout: 245 seconds]
einarj has quit [Remote host closed the connection]
<apeiros>
replace ivars with methods? dang, english…
qba73 has joined #ruby
<balance>
centrx as I said, this is not my code. I don't really see what you are trying to point out with your JSON.
InhalingPixels has joined #ruby
cleopatra has joined #ruby
<centrx>
def initialize; @var = process(var); end VS def initialize; self.var = var; end; def var=(var); @var = process(var); end
goodenough has quit []
anaeem1 has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
chipotle has joined #ruby
Jackneill has quit [Ping timeout: 245 seconds]
<balance>
centrx, no I don't see why I should process my input within the init, I absolutely can't follow on what you are trying to tell me. :)
chipotle has quit [Max SendQ exceeded]
<apeiros>
I'm not even sure what balance really asked
Akagi201_ has quit [Ping timeout: 245 seconds]
tvw has joined #ruby
<centrx>
I'm not even sure what day it is
<apeiros>
blurnsday
mg^^ is now known as mg^
<balance>
apeiros the question is answered but centry seems to try telling me something I don't get.
<balance>
*centry
<balance>
sry centrx I meant
chipotle has joined #ruby
heftig-android has quit [Read error: Connection reset by peer]
<apeiros>
centrx: oh, actually today is Boomtime,the 33rd day of Bureaucracy in the YOLD 3180
<centrx>
balance, using a setter method in #initialize is rarely ever done
chipotle has quit [Max SendQ exceeded]
heftig-android has joined #ruby
* centrx
drops a smoke grenade
<balance>
centrx yeah. I'd have done: @games = games.
centrx has quit [Quit: Mead error: Connection reset by beer]
chipotle has joined #ruby
* apeiros
really should add a discordian front-end to chronos :)
bricker`work has joined #ruby
<hfp->
Hey all, how to access a Geocoder object in Ruby (without rails)? I have this: https://gist.github.com/Coaxial/c82230a58201f78e560d but can't access it's lat/lon. I tried `c["@data"]; c[0].data, c[:data]` and every combination of these. What am I missing?
<balance>
centrx anyway, I'ts code from an excercice and sometimes bad written on purpose. I'll see, thanks.
ghostmoth has joined #ruby
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
zorak8 has joined #ruby
nettoweb has joined #ruby
jarto has joined #ruby
nettoweb has quit [Max SendQ exceeded]
RaCx has joined #ruby
olivier_bK has quit [Ping timeout: 246 seconds]
jgrevich has joined #ruby
nettoweb has joined #ruby
robert_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
kenneth has joined #ruby
kenneth has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
tectonic has joined #ruby
kireevco has joined #ruby
tectonic has quit [Max SendQ exceeded]
jacobat_ has quit [Ping timeout: 245 seconds]
gauke has quit [Quit: gauke]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
kenneth has joined #ruby
nettoweb has joined #ruby
<robert_>
so here's an interesting dilemma- I have a project that needs me to inject tasks to run into the namespace of the Clockwork gem.. any ideas how I'd go about doing that?
momomomomo has quit [Quit: momomomomo]
beef-wellington has quit [Ping timeout: 245 seconds]
lsone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
himsin has quit [Quit: himsin]
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby
heftig-android has quit [Ping timeout: 245 seconds]
ephemerian has left #ruby [#ruby]
patrick99e99 has joined #ruby
lbwski has joined #ruby
coldkey21 has joined #ruby
chth0n has joined #ruby
DylanJ has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
onewheelskyward has left #ruby ["Textual IRC Client: www.textualapp.com"]
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<bousquet>
If not bundler, then at least the first line.
mattmcclure has joined #ruby
paulfm has joined #ruby
renderful has quit [Remote host closed the connection]
dblessing has quit [Quit: dblessing]
qba73 has quit []
TheNet has joined #ruby
momomomomo has joined #ruby
bricker`work has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
tlarevo has joined #ruby
piwhy has quit [Ping timeout: 264 seconds]
<nanashiRei>
what's a good start into RoR?
mikeg has joined #ruby
tjsousa has joined #ruby
Patteh has quit [Remote host closed the connection]
sambao21 has joined #ruby
<wasamasa>
#RubyOnRails
carlyle has quit [Remote host closed the connection]
Patteh has joined #ruby
<atmosx>
hm, I need to create a hash an array which has hashes ... within but I think I'm kinda lost.
Envek has joined #ruby
cocotton has quit [Remote host closed the connection]
<nanashiRei>
[{:something: true}, ...]
Advocation has joined #ruby
IrishGringo has quit [Ping timeout: 246 seconds]
cocotton has joined #ruby
dgheath21 has quit [Quit: dgheath21]
wallerdev has quit [Quit: wallerdev]
mikecmpbll has quit [Ping timeout: 272 seconds]
lsone has joined #ruby
skaflem has quit [Quit: Leaving]
mikeg has quit [Ping timeout: 240 seconds]
mocfive has quit [Remote host closed the connection]
tylersmith has joined #ruby
<Envek>
Hello everyone. My program fails somewhere in C code, called by some gem. How to get know, where it failed? There is no traceback. (Currently it fails on some rake tasks).
aspires has quit []
mocfive has joined #ruby
Cache_Money has joined #ruby
Cache_Money has quit [Client Quit]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<balance>
what methods are getting called when I output/return self?
aspires has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wasamasa>
which is just a more complicated way of writing a hash if you aren't using its prowess
<atmosx>
so like Mystore => [{date: date1, price: price1}, {date: date2, price: price2}]
AlSquirrel has quit [Quit: This computer has gone to sleep]
<wasamasa>
no, you want to list them
gtrak has quit [Remote host closed the connection]
<wasamasa>
considering you're enumerating your stores
<atmosx>
wasamasa: I want to know how many dates/prices each source has :-/
<atmosx>
I'm not getting the right logic on how to approach this
<Envek>
Hanmac: I don't know how to start it with GDB. Program fails somewhere inside rails' db rake tasks on Ubuntu 14.04 with OpenSSL configured tricky.
<atmosx>
wasamasa: I'm just trying to make a proper list to feed chartkick http://ankane.github.io/chartkick/ and I think that's the way to go
<Hanmac>
oh debugging rails/rake/db could be even more tricky
<atmosx>
wasamasa: yeah that is
<atmosx>
thats it
<wasamasa>
atmosx: there's three ways I've encountered to use hashes
jrhe_ has joined #ruby
bricker`work has quit [Read error: Connection reset by peer]
bricker`work has joined #ruby
<atmosx>
actually wait, let me feed this data to the graph to see if it works for me :-P
<wasamasa>
atmosx: 1. using a list of hashes where each hash has known keys, 2. using an unique key for looking up values, 3. abuse, be it for sets, caches, whatever
phutchin1 has joined #ruby
<wasamasa>
atmosx: this example uses 1 and 2
<atmosx>
wasamasa: yes
paulfm has quit []
ndrei has quit [Ping timeout: 240 seconds]
maestrojed has joined #ruby
CaptainJet has quit []
<wasamasa>
atmosx: also, keep in mind ruby is rather flexible considering the choice of keys
<wasamasa>
atmosx: so, lists work, too
mpistone has joined #ruby
deric_skibotn has joined #ruby
<wasamasa>
atmosx: and you can do some sort of magic by supplying a default value or block when creating the hash
paulfm has joined #ruby
<atmosx>
wasamasa: First I'll feed a hand-made hash to see if it works then I'll figure it out how to create it from my data.
<atmosx>
hm
<wasamasa>
good luck
<wasamasa>
it's better to start out simple and add things on top of it :P
chrishough has joined #ruby
Xiti has joined #ruby
phutchin1 has quit [Client Quit]
phutchin1 has joined #ruby
agjacome_ has joined #ruby
elstif has quit [Quit: Leaving.]
enriclluelles has quit [Remote host closed the connection]
chth0n has quit [Ping timeout: 264 seconds]
sparrovv has joined #ruby
rdark has quit [Quit: leaving]
axsuul has joined #ruby
paulfm has quit [Ping timeout: 245 seconds]
rdark has joined #ruby
bricker`LA has quit [Ping timeout: 245 seconds]
Ulrike_Rayne has quit [Ping timeout: 246 seconds]
agjacome has quit [Ping timeout: 245 seconds]
<gregf_>
yeah i know :/. unfortunately, i feel i can reduce 100 lines in php to 20 in perl/ruby
renderful has joined #ruby
<gregf_>
oops :/ sorry
<atmosx>
wasamasa: yeap, I'll give it a shot then use the ML, maybe there are some chartkick experts there because even that hash doesn't do what I want to :-/
blackmesa has joined #ruby
narcan has joined #ruby
Morkel has joined #ruby
paulfm has joined #ruby
emocakes_ is now known as emocakes
ndrei has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has quit [Quit: Leaving...]
Macaveli has joined #ruby
wallerdev has joined #ruby
paulfm_ has joined #ruby
brandonshowers has joined #ruby
fabrice31 has joined #ruby
IrishGringo has joined #ruby
Advocation has quit [Quit: Advocation]
msmith__ has quit [Remote host closed the connection]
Advocation has joined #ruby
carraroj has joined #ruby
nanoyak has joined #ruby
aspires has quit [Read error: Connection reset by peer]
lkba has joined #ruby
sparrovv has quit [Remote host closed the connection]
aspires has joined #ruby
paulfm has quit [Ping timeout: 245 seconds]
mrsolo has joined #ruby
sparrovv has joined #ruby
Spami has joined #ruby
melik has joined #ruby
aspires has quit [Client Quit]
aspires has joined #ruby
goleldar has joined #ruby
TorpedoSkyline has joined #ruby
flowerhack has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
momomomomo has quit [Quit: momomomomo]
sparrovv has quit [Ping timeout: 276 seconds]
nairys has joined #ruby
testcore has joined #ruby
kotk_ has joined #ruby
jottr has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
gregf has quit [Quit: WeeChat 1.0]
workmad3 has quit [Ping timeout: 272 seconds]
CaptainJet has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
RaCx has quit [Quit: Computer has gone to sleep.]
kotk has quit [Ping timeout: 240 seconds]
jhaals_ has joined #ruby
fsapo_ has quit [Remote host closed the connection]
GeorgesLeYeti has quit [Quit: Quitte]
Ankhers has quit [Ping timeout: 264 seconds]
phoo1234567 has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
echevemaster has joined #ruby
jhaals_ has quit [Client Quit]
phoo1234567 has joined #ruby
mocfive has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
sinkensabe has joined #ruby
mikepack has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 255 seconds]
lucianosousa has quit [Quit: lucianosousa]
Kerber0s has quit [Ping timeout: 240 seconds]
IrishGringo has quit [Ping timeout: 268 seconds]
gaurdro has left #ruby [#ruby]
Kricir has quit [Remote host closed the connection]
phutchin1 has quit [Remote host closed the connection]
<balance>
http://pastie.org/9539564 Could the second example conflict with a method from a different module with the same name?
Squarepy has joined #ruby
fsapo has joined #ruby
fsapo has quit [Remote host closed the connection]
nb_bez__ has joined #ruby
jhaals_ has joined #ruby
fsapo has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
mikecmpbll has joined #ruby
carraroj has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
jacobat has quit [Ping timeout: 276 seconds]
juco has joined #ruby
a___ has quit [Ping timeout: 246 seconds]
Sht0 has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
sinkensabe has quit [Remote host closed the connection]
poulet_a has joined #ruby
m8 has joined #ruby
MatthewsFace has joined #ruby
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
<Envek>
balance: Later definition will replace earlier definition
rezzack has joined #ruby
<balance>
Envek of course this wouldn't be written like that in one file. Just 2 examples.
ursooperduper has joined #ruby
jgrevich has quit [Read error: Connection reset by peer]
revoohc has joined #ruby
mercwithamouth has quit [Ping timeout: 272 seconds]
Advocation has quit [Quit: Advocation]
jgrevich has joined #ruby
<Envek>
when that two module definitions in separate files will be required in one program, method from definition required later will replace method in definition required earlier
weeb1e has joined #ruby
testcore has left #ruby [#ruby]
<atmosx>
goal.feats.group_by_week(:created_at).count for this expression to work properly goals.feats <-- this is hash right?
wallerdev has quit [Ping timeout: 245 seconds]
<balance>
Envek I know,I don't use the mtogether... My question was, if I defined the module like I do in the 2nd example, is it possible that it conflicts because I didnt use self?
<Hanmac>
Ruby does not do interfaces ... its mostly just ducktyping
<arup_r>
Not such a good site we have.. in Ruby
GriffinHeart has quit [Remote host closed the connection]
<arup_r>
It is tough to me..now to learn Java C# ... to learn design pattern concept.. so thought I can get some help from you guys
<atmosx>
Hanmac: I'm not sure what does he mean by interfaces, I'm thinking about network interfaces, web intefaces, gui interfaces :-P
<arup_r>
Maybe all are not like me.. who started his programming career using Ruby
<arup_r>
I have limited world right now
<Hanmac>
atmosx: in PHP and other languages you have an interface, what is like a pure abstract class in C++ where all methods are virtual ...
<arup_r>
atmosx: _interface_ is a keyword as far as I know
<arup_r>
but I don't know its consequences...
benlieb has joined #ruby
<Hanmac>
ruby does not need that because we do the other way around like with Enumerable where all methods are defined in a module and only some methods are missing like #each
<Hanmac>
atmosx: he asked for code samples how to do something ... that repo does have samples
crdpink has quit [Ping timeout: 255 seconds]
dumdedum has quit [Quit: foo]
<Hanmac>
hm ok but thats only a general idea .. imo that repo does need to be updated .. for sample it does make a sum of values without using inject ...
crdprink2 has quit [Client Quit]
<arup_r>
Humm... he had not covered all patterns..
MaciejCzyzewski has joined #ruby
crdprink2 has joined #ruby
crdprink2 has quit [Client Quit]
<arup_r>
Big example code without explanation.. wikipedia is good but lacks variety of example
crdpink has joined #ruby
<Hanmac>
in most of the cases i write working and efficient code and then i do not care about design patterns ...
yacks has joined #ruby
Px12 has quit [Read error: Connection reset by peer]
SilkFox has joined #ruby
mikepack has quit [Remote host closed the connection]
Soda has joined #ruby
MaciejCzyzewski has quit [Ping timeout: 272 seconds]
kirun has joined #ruby
beef-wellington has quit [Ping timeout: 246 seconds]
<atmosx>
hm in this expression: = line_chart MyHelpers.make_graph(@product.source).map {|k, v|{name: k, data: v.group_by_day(:created_at).price }} ... I get always this error: no implicit conversion of Symbol into Integer (TypeError), des this mean that the last part where I have a symbol is wrong?
ctp has joined #ruby
DylanJ has joined #ruby
jack_rabbit has joined #ruby
timonv_ has joined #ruby
<jhass>
arup_r: an interface is something you mostly need in statically typed languages, it's the description of what methods you can call on an object that implements (=inherits) that inerface
<jhass>
arup_r: in ruby you just strip that part
andrewjanssen has quit [Quit: Leaving...]
Biohazard has quit [Read error: Connection reset by peer]
Biohazard has joined #ruby
<jhass>
arup_r: let's not start at implementation for learning composite. Can you think of and describe a problem that could be solved using composite?
<arup_r>
What is the equivalent Ruby.. If I get one such translation.. there are others where I can use the idea.. Would you give me a Ruby version ? I am not asking for spoon feed.. I am asking one referential example.. based on which I can build others..
carlyle has quit [Remote host closed the connection]
carlyle has joined #ruby
<jhass>
no, that's pointless. Patterns give a general idea on how to solve something, but variations on them depending on the problem are welcome and expected
IrishGringo has quit [Ping timeout: 246 seconds]
mikepack has joined #ruby
helpa has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
<arup_r>
I can give you one more examples.. I have in mind.. But before that I need one example to see in Ruby... jhass: Another example is Filesystem.. where directory and files have something that can be solved using Composite pattern..
helpa has joined #ruby
carlyle has quit [Ping timeout: 264 seconds]
<jhass>
something? get concrete. What would be the common operations?
Hanmac has quit [Read error: Connection reset by peer]
Gu3rr3ra has joined #ruby
Hanmac has joined #ruby
Gu3rr3ra has quit [Client Quit]
<jhass>
I asked you to come up with your own problem ;)
postmodern has joined #ruby
<arup_r>
Ok... I learning from my personal interest,, and if I am aware of, if I know it, in future it will pay off..
mocfive has quit [Remote host closed the connection]
mikeg has quit [Ping timeout: 246 seconds]
mocfive has joined #ruby
<arup_r>
example.. if some one not aware of #inject... he would probably right his own #sum using for loop etc..
maniacal_ has quit [Read error: Connection reset by peer]
cleopatra has quit [Read error: Connection reset by peer]
mikeg has joined #ruby
<arup_r>
jhass: But if someone aware of whenever he would see... need to add series of number.. quicky write the code using #inject... by looking at the API
mocfive has quit [Read error: Connection reset by peer]
virtualize has quit [Remote host closed the connection]
virtualize has joined #ruby
rafacv_ has joined #ruby
mocfive has joined #ruby
carlyle has joined #ruby
Biohazard has quit [Read error: Connection reset by peer]
MCDev has joined #ruby
Biohazard has joined #ruby
rafacv has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
<wasamasa>
atmosx: I have this when I attempt accessing arrays as if they were hashes
pu22l3r has joined #ruby
<jhass>
So you can
narph has quit [Quit: Connection closed for inactivity]
<jhass>
mah, too early enter
GinoMan has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
arup_r: so you can't think of a problem where you apply the same operation to some objects and some objects that contain the former objects?
<arup_r>
HUmm.. I don't have any in my real work
blackmesa has quit [Ping timeout: 252 seconds]
<arup_r>
But I am interested to learn it..
nobitanobi has joined #ruby
GriffinHeart has joined #ruby
<arup_r>
I am good in backtracking.. means code to theory :-)
rafacv has joined #ruby
rafacv_ has quit [Ping timeout: 268 seconds]
BlkDynmt_ has joined #ruby
sandelius has joined #ruby
amundj has joined #ruby
Takle has joined #ruby
virtualize has quit [Read error: Connection reset by peer]
BlkDynmt has quit [Ping timeout: 245 seconds]
<wasamasa>
atmosx: since ruby expects array access to be with an integer and you hand it a symbol instead
Hobogrammer has joined #ruby
<atmosx>
wasamasa: that's the example code from the code for the graph I wanna create
mikepack has quit [Remote host closed the connection]
<atmosx>
I'm workin on a diff approach I constructed an expression which almost does what I want so I think I'm getting closer
GriffinHeart has quit [Ping timeout: 260 seconds]
<benlieb>
I've encountered an error installing a gem that I've never seen. Maybe it's a problem on my side. I'm trying to install 'geo-distance', but it has a conflict with it's own internal dependencies it seems. How do resolve this: https://rubygems.org/gems/geo-distance
<treehug88>
In a sinatra post handler, how do I get the parameters passed but without splat and captures?
<benlieb>
gem install 'geo-distance'
<benlieb>
ERROR: While executing gem ... (Gem::DependencyError)
<benlieb>
hm, it seems to work when I put it in the gem file, but not using gem directly. never mind.
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Synthead has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cougarten has joined #ruby
GinoMan has joined #ruby
elaptics is now known as elaptics`away
seamon has quit [Quit: Zzzzzzz]
tjsousa has quit [Ping timeout: 245 seconds]
mikesplain has quit []
thumpba has quit [Remote host closed the connection]
<treehug88>
IE, in my post handler, I just want to see the actual name/value pairs the caller passed without 'captures' and 'splat' and any thing else added by sinatra (like an id key if I use post /things/id)
Ankhers has joined #ruby
JohnFord has quit [Read error: No route to host]
JohnFord has joined #ruby
Azulinho has joined #ruby
Azulinho has quit [Remote host closed the connection]
ursooperduper has joined #ruby
IrishGringo has quit [Ping timeout: 255 seconds]
Azulinho has joined #ruby
fabrice31 has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
azul1 has joined #ruby
azul1 has quit [Client Quit]
iceden has joined #ruby
azul1 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
St_Marx has quit [Quit: Ex-Chat]
fabrice31 has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
robustus has joined #ruby
<nobitanobi>
How do you call this <=>?
havenwood has joined #ruby
renderful has quit [Remote host closed the connection]
<jhass>
spaceship operator I think
ghostmoth has quit [Quit: ghostmoth]
<nobitanobi>
jhass: thank you
RTG` has joined #ruby
<jhass>
nobitanobi: why?
<nobitanobi>
jhass: learning how to use it, or when to use it.
chrishough has joined #ruby
jhaals_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass>
if you want to search for it use a special character aware search engine like symbolhound.com
sambao21 has joined #ruby
<nobitanobi>
jhass: didn't know about that one. Thanks!
benzrf|offline is now known as benzrf
jaake1 has quit [Ping timeout: 272 seconds]
azul2 has joined #ruby
<apeiros>
nobitanobi: spaceship IMO most common. threeway-comparison-operator technical (iirc)
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nobitanobi>
I see it is really useful if you define it in your class and include de Comparable module. That's cool
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<treehug88>
I don't think so
<treehug88>
I think I want request.params instead of just bare params
SilkFox has quit [Ping timeout: 245 seconds]
buhjlaw has joined #ruby
Synthead has quit [Remote host closed the connection]
<buhjlaw>
hi
t0th_- has quit [Ping timeout: 255 seconds]
carraroj has quit [Quit: Konversation terminated!]
<jhass>
hi
<buhjlaw>
On Friday I have an interview for a startup. It will be a pair programming interview (using Ruby). I know this might be way to broad to ask, but maybe you guys can recommend me any tips?
MrL0ngbowman has joined #ruby
DEA7TH has quit [Remote host closed the connection]
<Hanmac>
has someone a project with a Gemfile and a gemspec (loading the gemspec from the Gemfile) hosted on github or similar? i needed a sample so i can test my gemtree stuff with more Gemfiles
OffTheRails has joined #ruby
phutchins has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carlyle has quit [Remote host closed the connection]
carlyle has joined #ruby
CaptainJet has joined #ruby
threesixes has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
tiguser has joined #ruby
<buhjlaw>
treehug88: yep. I was wondering any specific tips :P
KesUK has joined #ruby
carlyle has quit [Ping timeout: 264 seconds]
Azulinho has quit [Ping timeout: 260 seconds]
mark_locklear has quit [Ping timeout: 246 seconds]
thumpba has joined #ruby
sambao21 has joined #ruby
azul2 has quit [Ping timeout: 246 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
azul1 has quit [Ping timeout: 260 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
Ankhers has quit [Ping timeout: 264 seconds]
centrx has joined #ruby
modernbob has joined #ruby
modernbob has quit [Changing host]
modernbob has joined #ruby
MrL0ngbowman has quit [Read error: Connection reset by peer]
<MattB>
hmm, okay, let me ask how do do what I'm ultimately trying to achieve, ...
<apeiros>
so I guess the answer would be: because your expectation is wrong.
KesUK has joined #ruby
momomomomo has joined #ruby
<apeiros>
you have two choices: a) assign to a variable, b) use Object#tap
<apeiros>
(b technically is a in a different way)
KesUK has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
baroquebobcat_ has quit [Quit: baroquebobcat_]
<MattB>
What I'm ultimately trying to do is: given an array of hashes a = [ {a: 1, b: 2}, {c: 3, d: 4} ] merge a second array of hashes: b = [ {w: 11, x: 12}, {y: 13, z: 14} ], merge these into the first so that each original hash has the corresponding hash from the second array inserted with a key
ghostmoth has joined #ruby
renderful has joined #ruby
<centrx>
MattB, a.zip(b).map { |x,y| x.merge(y) }
p0sixpscl has joined #ruby
Azulinho has joined #ruby
azul2 has joined #ruby
benlieb has quit [Read error: Connection reset by peer]
n_blownapart has joined #ruby
nobitanobi has quit [Remote host closed the connection]
<MattB>
centrx, thanks, will that give this: c = [ {a: 1, b: 2, data: {w: 11, x: 12}}, {c: 3, d: 4, data: {y: 13, z: 14} } ]
benlieb has joined #ruby
<apeiros>
MattB: if it isn't solved by what centrx said, then give the output for your example
<apeiros>
ah
<apeiros>
already done. good :)
<apeiros>
no, it does not. but it's how you can get there.
lkba has quit [Read error: Connection reset by peer]
MCDev has quit [Ping timeout: 250 seconds]
nobitanobi has joined #ruby
lkba has joined #ruby
Ulrike_Rayne has joined #ruby
<atmosx>
centrx: did you happen to work with chartkick?
Avahey_ has quit [Quit: Connection closed for inactivity]
<atmosx>
centrx: to generate graphs?
zwer has quit []
sambao21 has joined #ruby
rockdon_ has joined #ruby
emmesswhy has joined #ruby
<centrx>
atmosx, negatory
<atmosx>
centrx: ah pitty k
mikeg has quit [Ping timeout: 264 seconds]
KC9YDN has quit [Quit: beebop]
havenwood has quit [Remote host closed the connection]
<MattB>
apeiros, centrx, thanks, but that just merges the two sets of hashes, I need the second set to be merged as a value in the first with a key, like [ {a: 1, b: 2, data: {w: 11, x: 12}}, {c: 3, d: 4, data: {y: 13, z: 14} } ]
<apeiros>
MattB: merge can do it for you. just adapt his code.
havenwood has joined #ruby
havenwood has quit [Remote host closed the connection]
<MattB>
I had got this far: x = a.collect {|member| member.merge({}['data'] = b.shift)}
<apeiros>
nah
<apeiros>
keep the zip+map part
<apeiros>
only change the merge part
<MattB>
Which is where I came unstuck with my daft {}[:kry] = 'value' attempt...
<MattB>
It's not exactly the most robust code, but it uses a Gemfile and a gemspec
ctp has joined #ruby
RichardLitt has joined #ruby
lemur has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
sinkensabe has joined #ruby
emocakes has quit []
Azulinho has quit [Ping timeout: 240 seconds]
<MattB>
Happens to be what the line of code I was getting help with is for - I'm cleaning which up and extending it, and am writing an adapter for a different API...
txdv_ has quit [Read error: Connection reset by peer]
_Kerber0s_ has quit [Read error: Connection reset by peer]
anshin has quit [Quit: anshin]
txdv_ has joined #ruby
Biohazard has quit [Read error: Connection reset by peer]
baroquebobcat_ has joined #ruby
azul2 has quit [Ping timeout: 255 seconds]
anshin has joined #ruby
<Hanmac>
ah thats good enough for me to test my gemtree stuff ... i already noticed that i need to rewrite something because for gemspec i need more relative paths
MonsieurApple has quit [Ping timeout: 246 seconds]
n_blownapart has quit [Remote host closed the connection]
<Georg3>
now to figure out why it won't compute anything =P
sambao21 has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
riotjones has joined #ruby
a___ has joined #ruby
pandaant has quit [Remote host closed the connection]
Rollabunna has joined #ruby
albedoa has quit [Ping timeout: 240 seconds]
mary5030_ has joined #ruby
kristofferR has joined #ruby
atmosx has quit [Ping timeout: 264 seconds]
gregf has joined #ruby
cocotton has joined #ruby
klmlfl has quit [Remote host closed the connection]
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rollabunna has quit [Ping timeout: 252 seconds]
mary5030 has quit [Ping timeout: 264 seconds]
thumpba has quit [Remote host closed the connection]
MCDev has quit [Ping timeout: 250 seconds]
Lewix has quit [Quit: Leaving...]
slester has joined #ruby
thumpba has joined #ruby
cocotton has quit [Remote host closed the connection]
<nobitanobi>
Guys, any good readings on how to manage file requirements? I tend to see this approach: require File.expand_path(File.dirname(__FILE__) + '/myfile') - as well as modifying the $LOAD_PATH... But I am confused on what is the suggested pattern to do so.
fabrice31 has joined #ruby
MountainSide has joined #ruby
shackleford has quit [Remote host closed the connection]
ffranz has quit [Quit: Leaving]
MountainSide has quit [Client Quit]
topper has quit [Quit: topper]
klmlfl has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
snath has quit [Ping timeout: 240 seconds]
axl_ has left #ruby [#ruby]
niftylettuce__ has quit [Quit: Connection closed for inactivity]
thumpba has quit [Ping timeout: 272 seconds]
dawkirst has quit [Remote host closed the connection]
ghr has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
SilkFox has quit [Ping timeout: 255 seconds]
mikeg has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
Scripore has quit []
icebourg has quit []
slester has quit [Ping timeout: 245 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikeg has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
Squarepy has quit [Quit: Leaving]
Px12 has quit [Remote host closed the connection]
<toretore>
nobitanobi: your program should do neither
n_blownapart has quit []
<toretore>
it should assume that the load path has been set already
zorak8 has quit [Ping timeout: 264 seconds]
<toretore>
require 'mylib/file'
<nobitanobi>
toretore: interesting
<toretore>
ruby -Ilib program.rb
<nobitanobi>
I see.
<nobitanobi>
toretore: what is that --llib?
<toretore>
adds lib to path
n_blownapart has joined #ruby
ursooperduper has joined #ruby
<nobitanobi>
oh, I have seen rspec does that.
andrewjanssen has joined #ruby
<nobitanobi>
so, by convention, is the caller's responsability to do that?
<skfax>
What would be the idiomatic way of combining these two arrays of hashes in ruby? http://pastebin.com/uu4y8rDF
icarus has quit [Remote host closed the connection]
Mars__ has quit [Remote host closed the connection]
<stevie>
what is the best way to create an admin panel from scratch? are there any good frameworks for secure logins?
<skfax>
nobitanobi: thanks :)
milkohol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thumpba has joined #ruby
zeroNones has joined #ruby
mary5030_ has quit [Remote host closed the connection]
cndiv has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
MattB is now known as scoot
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zeroNones has quit [Read error: Connection reset by peer]
scoot is now known as scootscoot_
scootscoot_ has quit []
freerobby1 has quit [Quit: Leaving.]
zorak8 has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
ptrrr has quit [Quit: ptrrr]
<manzo>
stevie: if you are working with rails, and really want to make it from the scratch I would suggest active_admin. If you want something more automagic rails_admin
cndiv has joined #ruby
wallerdev has joined #ruby
kireevco has joined #ruby
charliesome has quit [Quit: zzz]
MatthewsFace has quit [Quit: This computer has gone to sleep]