App with lots of business logic [Note: parts of this message were removed to make it a legal post.] Hi, starting basically my biggest project to date (a Rails app). I wasn't initially intimidated, but the more we talk about the process of how we get from A to B, the more I realize that it involves tons of conditional, overridable, partially ap... 23 Jun 2010 16:10
Is there a method I can call where: Xeno Campanoli / Eskimo North and Gmail wrote: so I'd like specifically knowledge of the method name available as stated. The __method__ method should do the trick: ruby -v: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux] irb(main):001:0> def foo irb(main):002:1> p __method__ irb(main):003:1> ... 18 Jun 2010 19:03
Is there a method I can call where: If I have: class Blek def bM puts "trace #{self.somemethod}" end end bo = Blek.new bo.bM It will give me: trace bo.bM or trace bM ??? I want to set up stuff that tells me what method I am in, largely for raising exceptions in various circumstances, but I want to control the message... 18 Jun 2010 16:50
Does Ruby allows setting something like SESSION variables. Does Ruby allows setting something like SESSION variables. ... 18 Jun 2010 17:57
1.8.7 SMTP TLS How to? I know that Ruby 1.8.7 is supposed to support SMTP TLS but damn if I can find a lick of documentation on it. I had been using the smtp_tls gem, but wanted to update my code. Can anyone fill me it? Thanks. ... 21 Jun 2010 14:39
String comparison. Why does Ruby consider this true? When I try for example to compare the following strings in Ruby, I get "true". puts 'Xeo' < 'ball' When I make 'Xeo' start with a lowercase letter, i get 'false' puts 'xeo' < 'ball' The second statement is clear, but why when I capitalize 'Xeo' I get true? Thanks. -- Posted via http://www.ruby-forum... 21 Jun 2010 06:56
Build 32 bit version of ruby 1.92 on snow leopard Hello, Anybody can help me , I have googled and spend the last two night searching forum for the magic terminal sentence that will build a 32 bit version of Ruby 1.92 on Snow Leopard. I need it because "Bowline" ( an application that build stand alone executable from ruby/Javascript/CSS) only work with Ruby 1... 20 Jun 2010 20:02
What kind of testing for executables? What kind of testing is it when you test a projects executables: system/functional or integration? ... 19 Jun 2010 09:05
awesome-cli-ruby > I just did search on github and found this : http://awesome-cli-ruby.heroku.com/ by Dave Copeland. Looks pretty good. I am about to give it a spin. Okay, I just ran it a bit. Looks good. You might consider trying the presentation (link above) and seeing if it helps you. From the docs http://da... 18 Jun 2010 08:02
How to print exit status to a log file? Hello, I would like to, for a given script, to print the exit status - such as normal, interrupted, terminated, etc. to a log file. How can I do that? Martin -- Posted via http://www.ruby-forum.com/. ... 21 Jun 2010 09:06 |