search for: amselem

Displaying 4 results from an estimated 4 matches for "amselem".

Did you mean: amsalem
2010 Jun 20
7
rspec-rails 2.0.0.beta.12 showing undefined method error for route_to
...irst of all, I''ve been trying to find an answer for this problem all over the internet without luck. The thing is that I am using RVM with ruby 1.9.2-head and I created a new empty gemset. Then I installed bundler gem with: gem bundler install That installed the library into the /Users/damselem/.rvm/gems/ ruby-1.9.2-head at rails3/gems directory. Then I went to my rails 3 app directory and I ran "bundle install" which showed this: http://gist.github.com/446011 and when I ran gem list I got: http://gist.github.com/446005 Everything seems perfect, but when running some route s...
2008 Sep 25
0
Join different querys in the same object
Hi, I''m new in Ruby on Rails and I don''t know how can I achive something like this: @switchs = Switch.find(:all) for switch in @switchs if current_user.shifts.count(:all,:conditions=>["date = ? and shift = ?",switch.destiny_date, switch.destiny_turn]) !=0 @valid = switch @valid.merge(cambio) end end return @valid Let me
2010 Dec 15
6
Mysql query optimization for order condition
Hello everyone! I''ve a question that I hope someone in here would be able to answer. Today I was writing a simple test for a method that takes the last "n" (where n is an integer) users that signed up on my web app. I know it''s a simple method, but then I started to think about the optimal way to query the DB, and I tried different options. The first thing I did
2010 Jun 21
9
[BUG] Segmentation fault
First of all, I use RVM and I installed ruby-1.9.2-head, which I used to create a new rails3 gemset. Then I changed to that gemset with rvm use 1.9.2-head@rails3 and I ran bundle install over the following Gemfile: source ''http://rubygems.org'' gem ''rails'', ''3.0.0.beta4'' gem ''sqlite3-ruby'', :require =>