search for: twscannel

Displaying 10 results from an estimated 10 matches for "twscannel".

Did you mean: twscannell
2008 Jun 12
0
Looking for rspec learning resources.
...yone tell me if there are any parts of that page that have changed due to newer releases? I have the Peepcode movies and Obie''s "The Ruby Way", both of which seem to have good info. Are there any other current resources out there that y''all recommend Thanks in advance. twscannell at that "Gee Mail" place.
2008 Aug 11
1
Confused about square bracket usage.
I ran script/generate rspec_scaffold page title:string body:text and have been reading on the generated code in my spare time in an attempt to fully understand rspec. It mostly makes a lot of sense except for the square brackets in the snippet below. To my best understanding, [mock_page] would be an array containing mock_page. That almost makes sense, buy why wouldn''t the variable
2008 Nov 27
2
git .gitignore vs exclude file
I am a bit confused about the different purpose of each. I think the .gitignore file belongs in the root of my project and is project specific, but that also seems to be the reason for the .git/ info/exclude file what happens if they conflict? which one wins. What is standard practice? My exclude file looks like this # git-ls-files --others --exclude-from=.git/info/exclude log/*.log tmp/**/*
2008 Nov 03
1
Questions about changes to Restful Authentication.
I have a couple of projects with Restful Authentication The first snippet is from the Git repo today and is supposed to be the newer code. # Store the given user id in the session. def current_user=(new_user) session[:user_id] = new_user ? new_user.id : nil @current_user = new_user || false end # Store the given user id in the session. def current_user=(new_user)
2008 Jun 10
2
Advanced testing tutorials on Web?
Everyone talks testing, but I don''t see much about it. I have been searching the web for about 5 hours and I can''t seem to find a good, advanced tutorial on the latest trends in testing. Everything is either outdated or very simplistic. Does anyone know where I might find good testing What are you using? Test::Unit Tess::Rails Selenium Something new that I don''t know
2008 Dec 05
0
Bug in schema.rb generation during db:migrate
I am thinking that I have found a bug in Rails migrations. My app is using UUIDtools to generate guids for primary keys. To do this I pass :id=>false and then create my own id column as shown below. Next I leverage "execute" to create an index. It seems to work fine. The table in MySql is perfect. However the ID column and primary key on the ID column are not in the schema.rb file I
2008 Jun 09
4
YUI vs GWT vs ExtJS vs ????
I would like y''all''s opinions on ease of implementation into Rails, quality and quantity of widgets etc between Yahoo User Interface and Google Web toolkit and ExtJS. I am just getting ready to invest a huge amount of effort into one of them and I would like to know what the community''s experience has been with these toolsets. OR.. is there a better open source set of
2008 Mar 21
3
Error in new project boot.rb
When I create a new 2.0 project (rails project_name) Aptana shows what appears to me to be a valid error in boot.rb The line: if version = self.class.gem_version is an assignment Should this not read: if version == self.class.gem_version def load_rails_gem if version = self.class.gem_version gem ''rails'', version else gem
2007 Sep 23
1
Newbie confusion.
Hello, I am new to Rails and the Linux world coming from 12 years of advanced VB programming. I am writing to try and clear up some confusion on my part about installing Mongrel. Please don''t take this as a rant, I do appreciate the effort that y''all put into the community, but as a newbie, I was, and still am confused. I want to learn about Mongrel, so it found
2008 May 21
3
How to access Rails::Configuration instance methods
There was a thread yesterday about ENV["_"] which is not available to Windows, I got to playing around with how to find access to the initializer_path or in this case the root_path My question is more about why I don''t have access to what appears to be a public method than finding the root_path. I did this in 2.0.2 with script/console The Rails object has a Configuration