Displaying 20 results from an estimated 1000 matches similar to: "adding color to autotest output"
2006 Jul 06
1
migrations work from script/console, but not command line
Having a weird issue where I can migration to version 1, but then go
no further, and cannot go back to 0 -- but only from the command line.
If I open up script/console I can do migrations just fine - down to 0
or up to 2, via ActiveRecord::Migrator. So I know the migrations must
be valid, and I can verify that tables are created or destroyed in the
database.
Does anyone have any idea why this
2006 Mar 23
2
Ruby and RoR Book Roundup
Hello,
I''m a big bookworm, so I decided to round up all the upcoming Ruby
books in the market in one big blog post. At my count, there are
_sixteen_ books to be released (in print) for the upcoming year, with
some available in pdf form right now. Here''s the list:
http://www.robsanheim.com/2006/03/23/ruby-and-ruby-on-rails-book-roundup/
Hope its helpful for fellow book nerds
2006 Feb 07
6
Switchtower not working due to openssl not found
I''m struggling to get switchtower working, and from other posts about
it I know it has something to do with ruby binding to open ssl. I''m
just not sure what I should recompile/reinstall to get things to work.
running: "rake remote_exec ACTION=setup" gives me --->
...executing "mkdir -p -m 775 /usr/apps/hello-rails/releases
/usr/apps/hello-rails/shared/system
2006 Jan 31
1
question on gem update rails effect on fcgi/mysql bindings
Would upgrading rails and all dependancies break the installation of
the fcgi/mysql bindings? I know I had all this stuff working a month
ago or so, but since then I''ve updated a few times...
- Rob
--
http://www.robsanheim.com/ - blog on java, rails, tdd, agility, and
life in general
http://www.ajaxian.com/ - the net''s premier ajax blog
2006 Nov 04
0
Book Review: Ruby for Rails
Hi all
I''ve posted a review of David Black''s book _Ruby for Rails_ on my blog:
http://www.robsanheim.com/2006/10/04/ruby-for-rails-by-david-a-black-book-review/
The quick summary: "A fantastic guide to Ruby for programmers of all
skill levels - up there with the PickAxe and may even surpasses it".
Thought some might find it useful.
- Rob
--
2006 Jun 14
3
zentest q''s
As today seems to be "test day" on the list, I''d like to hear how people are
using ZenText. I''m using autotest -rails and it''s made an incredible
difference in my productivity.
There is mention of using zentest to autogenerate missing test cases. I
can''t seem to get this working. Any hints?
Thanks,
Steve
--
View this message in context:
2006 Feb 19
8
require ''digest/md5'' not working on Mac or Windows
I''ve tried the following line in ruby script/console
require ''digest/md5''
Both my Mac (Intel iMac) and my Windows box return "false"... Any ideas
what could be wrong? I was trying to do the RoR Recipe on page 54 of
Chad Fowler''s new (beta) book.
-Mark
--
Posted via http://www.ruby-forum.com/.
2006 Jan 17
10
ActiveRecord + memcache = cached_model
Courtesy of The Robot Co-op.
$ yes | sudo gem install cached_model
Or, you can download cached_model and memcache-client (our zippy-fast
memcache library, required) from:
http://rubyforge.org/frs/?group_id=1266
I don''t have the README posted for making cached_model work online
yet, so here it is:
= CachedModel
Rubyforge Project:
http://rubyforge.org/projects/rctools/
== About
2006 May 15
6
Getting Net::IMAP to work with PLAIN auth type...
Hi there,
I''m new to rails and I''ve been successful tinkering around but
am miffed by the process of trying to connect to my mail server to receive
email for ActiveMailer parsing. I''m hosted on TextDrive and have read the
following article on the RubyonRails wiki:
http://wiki.rubyonrails.com/rails/pages/HowToReceiveEmailsWithActionMailer.
I want to
2006 Jan 21
19
RoR - Mac OS 10.4.4 on Intel
I got a new 20 inch iMac dual core today and am busy getting it all
setup. A couple of issues though:
1. Is the Ruby 1.8.2 install by Apple still botched or has that been
fixed? I recall someone had fixed the rbconfig.rb to get it working.
Is this something I still have to do?
2. Does anyone know if Locomotive is using the uniersal binaries, or is
it targetting PPC yet? I couldn''t
2007 Jan 07
3
slow tests on an established project...
Hi all
Hope this isn''t too far off-topic on this list, as I think it would
largely go ignored on the main rails list.
I''m looking for the most pragmatic way to speed up our test suite.
This is on an established project, and lets just say that we used way
too many fixtures when we started =). For example:
Finished in 128.870144 seconds.
===============
392 tests, 2106
2006 Jun 28
9
Rails Borked After 1.1.3 Install?
I installed 1.1.3 on my OS X Tiger machine and now I''m seeing very strange
results.
When hitting a controller action, I am told that perfectly valid methods are
not there:
NoMethodError (undefined method `find'' for VideoTrack:Module)
Huh? Here''s the code in question:
VideoTrack.find(:all, :conditions => "featured_video = 1", :order =>
2006 Feb 12
3
memcache-client/cached_model help
Hi -
Just downloaded and installed the memcache-client and cached_model
gems and am trying to test it out on a development setup. I added
this to my environment/development.rb
CACHE = MemCache.new :c_threshold => 10_000,
:compression => true,
:debug => true,
:namespace => ''eztrip'',
2006 Jun 26
2
RailsConf DVD ?
Hi All,
I saw spurious mentions on a few blogs of a DVD being made available of
RailsConf presentations. However none seemed to have a who/what/when/where
attached to them, thus might just be pure speculation. Anyone know of an
official source/effort being made for a DVD?
Would be well keen for copy if one is to be made available....
Cheers
Rowan
---
http://raili.st/
-------------- next part
2006 Jan 20
2
The New Memcache ?
Hey All !
I ended up browsing to Eric Hodel''s blog the other night, and found his
entry about the new cache_model and memcache-client.
Now, it looks like it''s "officially" out in the open:
http://weblog.rubyonrails.com/articles/2006/01/20/caching-models-with-memcached
In my application, I''ve been staying away from caching my models, and
instead just doing
2006 Feb 03
3
rubystandard library question
I have a problem getting find.rb and fileutils.rb to coexist in the
same script. When I require both I get the following:
/usr/lib/ruby/1.8/find.rb:36:in `dup'': can''t dup NilClass
(TypeError)
from /usr/lib/ruby/1.8/find.rb:36:in `find''
from /usr/lib/ruby/1.8/find.rb:36:in `find''
I googled for this problem and did not come across any place
2006 Jan 14
11
nuby: do models have to inherit directly from ActiveRecord?
Hello,
I have a few models -- book, cd, dvd -- for which I''d like to have an
abstract base superclass to hold some common stuff. That abstract class, I
was thinking, would inherit from ActiveRecord.
Didn''t work, though, and looking around, I found this:
<http://wiki.rubyonrails.com/rails/pages/HowtoMakeAbstractModel>
2006 Jul 11
0
better way to include helpers into application controller/test_helper?
Right now, I have the following in my application controller - and a
simliar version is duplicated in test_helper. There must be a better
way to include common functionality like this that gets used across
layers? Maybe at the very least a way to include it at the class
level and instance level with one line?
# provide access to text helper at class level
def self.text_helper
2006 Jul 31
0
problems testing helpers - link_to and url_for don''t work...
So I''ve used the helper test plugin, and also tried some things from
Rails Recipes, and basically neither seems to work for cases where a
helper does anything related to link_to/url_for, and this includes
calling named_routes. This is obviously an issue, as a common use for
helpers is to refactoring something like this:
<%= link_to "text that changes slightly", :id => id
2006 Apr 13
3
[OT] Is it safe to ''su'' to the right user ?
Hi !
I''m using daemontools[1] to manage a few processes on my Debian box.
Among other things, I use it to manage svnserve, because it uses less
memory than Apache.
My /service/svnserve/run looks like this:
#!/bin/sh
su svn -c "/usr/local/bin/svnserve --foreground --daemon --root /var/svn"
Is it safe for me to run like that ? If an attacker cracks svnserve,
what will they