Displaying 6 results from an estimated 6 matches for "reverse_each".
2006 Mar 24
4
Changing accessor list order
Ok, I''m pretty new to Rails and I''m building a bug tracker as my first
real project. I have a situation where a bug can have multiple comments.
Pretty simple. When I show the comments on the screen, I want to make
sure that they''re displayed in reverse order by date created. I have
used the following to change the order of @bug.comments:
class Bug <
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
...lic/../config/..
Application Trace | Framework Trace | Full Trace
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir''
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir''
/usr/local/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p''
/usr/local/lib/ruby/1.8/fileutils.rb:215:in `reverse_each''
/usr/local/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p''
/usr/local/lib/ruby/1.8/fileutils.rb:201:in `each''
/usr/local/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p''
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:95:in
`ensure_directory''
#{R...
2010 Jun 13
5
script/server vs mongrel_rails start issue
..._gems_in''
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
source_index.rb:152:in `each''
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
source_index.rb:152:in `load_gems_in''
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
source_index.rb:149:in `reverse_each''
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
source_index.rb:149:in `load_gems_in''
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
source_index.rb:345:in `refresh!''
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
source_index.rb:78:in `from_...
2007 Jun 18
2
"No such file or directory - script" Error on Model.rebuild
.../fileutils.rb:243:in `mkdir''
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir''
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p''
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:215:in `reverse_each''
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p''
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:201:in `each''
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p''
from (druby:/...
2013 May 31
22
accidentally created a rails app in the home folder
Im a new user - I just installed rails, following directions here:
http://rubyonrails.org/download
however, when it came time to make a rails new path/etc/etc I get this
message:
Can''t initialize a new Rails application within the directory of
another, please change to a non-Rails directory first.
The only complication during the download was that I had to upgrade from
version 1.8.6 to
2010 Jul 24
23
How to disable ORM in Rails 3
Is there any way to prevent Rails 3 from using an ORM? In Rails 2, it
used to have a description in environments.rb explaining how to do that.
In Rails 3, is there any way to tell it to not use any database? I was
trying to make some benchmarks from situations that don''t require a
database...
Thanks in advance,
Rodrigo.
--
You received this message because you are subscribed to