search for: klancaster1957

Displaying 20 results from an estimated 26 matches for "klancaster1957".

2006 Apr 08
2
Does anybody know what what is causing this console message?
This started, I think, after I upgraded to 1.1. trunk 508 $ruby script/console Loading development environment. /usr/local/lib/ruby/1.8/test/unit/assertions.rb:265: warning: already initialized constant UncaughtThrow >> Everything seems to work in the console, however. Keith -- Posted via http://www.ruby-forum.com/.
2006 Jan 07
2
Functional tests with routes
Hi all, I''m trying to do a route test using assert_generates and running into a bit of trouble. The controller that I am testing is in a module - class Admin::AdminPortalController def index end end I want the user to jump to the AdminPortal/index action when they use http://myApp/admin, so I''ve put the following in routes.rb map.admin_portal
2006 Aug 03
14
What OS do you use for development?
Just out of curiousity, what OS do most of you use for development? Do you prefer to use WinXP to do your development, and then deploy to a linux server, or do you actually use some distribution of linux (Ubuntu, Debian, Gentoo, etc) for development? Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Apr 06
4
Engines 1.1.1
Since a minor change in Rails (renaming the file that the version is stored in, namely) causes a bit of a hiccup for the Engines plugin, here''s a new release, full of bug fixes and other nice things. ALL users of Engines are advised to update their copy of the plugin to get these fixes. The Engines plugin is fully backwards compatible with Rails 1.0. Anyway - to update, please download
2006 Apr 24
1
A question of style - save vs. save!
A pseudo poll on AR error handling... With AR, you have the choice between the following: (1) if thing.save go_for_it else handle_the_error end (2) begin thing.save! rescue RecordInvalid => error handle_the_error end (3) override rescue_action_in_public (ala the recipes book) or do something homegrown, and then just thing.save! --- The questions are: -Which idiom do you use and
2006 Jan 20
2
Logging from a functional (or unit) test
I''ve tried any number of ways to output information to the test log from my tests, but nothing seems to work. Is there a setting someplace that I am missing? I''m just trying to do something on the order of logger.info "blah blah" from my test. TIA, Keith -- Posted via http://www.ruby-forum.com/.
2006 Mar 29
6
Prototype Window Class 0.6
Hi I have just released a new version of my Prototype Window Class included modal windows and a lot of stuff that some people send me, thanks to all of you guys for your support. Seb
2006 Jan 11
14
User Engine/General Engine issues
I''m trying to get the login/user engine combo up and working and am having difficulties. I got the login engine up and running fine, no problems. Now, on to the user engine. After fixing the needed stuff in the bootstrap task so it loads I''m able to login as the default admin ok. BUT none of the views/controllers that are in login/user_controller are being overridden by the
2006 May 21
12
TDD for Rails book?
It seems like half the people on this list are writing a book on Ruby or Rails. For all the hints I''ve seen strewn across the list I have yet to see one that will focus on test-driven development for either Ruby or for Rails. If anyone is looking for a topic, please consider this. I''ve been trying to wrap my brain around the TDD process, but its way of thinking is
2006 Mar 30
25
Mongrel Web Server 0.3.12 -- Finally Out
Hello Folks, This is the long awaited (like 2 weeks) 0.3.12 release of Mongrel. This release has received heavier testing than previous releases and supports a whole raft of improvements to existing functionality plus some new stuff. For those not clued in, Mongrel is a web server written in (mostly) Ruby. Check the funny dogs and read the docs about it at http://mongrel.rubyforge.org/. The
2006 Aug 08
0
[OT] Houston RoR Group meeting for tonight cancelled
The Houston RoR group meeting is off for tonight (Aug. 8) due to some issues with the venue for the meeting that came up at the last minute. We are rescheduling for next Tuesday, the 15th. Sorry for the inconvenience and late notice. Keith Lancaster http://groups.yahoo.com/group/Houston-RoR/ -- Posted via http://www.ruby-forum.com/.
2006 Jul 08
0
July Houston Ruby/RoR group meeting
The Houston group will be meeting Tuesday, 11 July from 6:00PM to 8:00PM at the Webxites offices on the west side of Houston. This month there will be a presentation on migrations. See http://upcoming.org/event/90203 for additional information, and http://groups.yahoo.com/group/Houston-RoR/ to join the group. Keith Lancaster -- Posted via http://www.ruby-forum.com/.
2006 Apr 04
1
Houston Ruby/RoR Meetup 8 April
The Houston Ruby/RoR group is getting together for discussion, food, and more food on Saturday 8 April at Pantera, a Houston restaurant with good food and free internet access :-). If you are in town and feel like joining us, we''ll be getting started around 4:00PM. This time round I will be doing a brief overview / demo of Watir, the ruby web testing tool (http://wtr.rubyforge.org/).
2006 Apr 07
0
Path resolution change in 1.1.x?
I have a web service api that references a struct in a file in the models directory. In 1.0, this worked, but in 1.1.0/1 I get undefined constant messages for the struct unless I put the full path to the struct in the require in the api file. Has something changed in the load paths for 1.1.x? TIA, Keith -- Posted via http://www.ruby-forum.com/.
2006 Mar 17
0
Generating WSDL when using delegated or layered distpatching
All, I can''t seem to come up with the appropriate incantation to Rails return WSDL for my web service. I am attempting to use layered dispatching. For direct dispatching, I can simply access http://localhoss:3000/controllername/service.wsdl and all works as advertised. When I configure for layered dispatch, the same invocation returns "unknown action". I''m
2006 Mar 19
0
User engine apparently breaks wsdl in some cases
(X-posting to the engine group as well) Wsdl calls fail under certain circumstances when the user engine is in use. After much experimentation, this is what I found. * I have an application that uses the login and user engines for permissions and security. The configuration works correctly. * I created a web service for the application. If I use direct dispatch (the default), I can both
2006 Mar 23
0
Houston RoR/ Ruby Group
All, The Houston RoR/Ruby Group is getting off the ground at last. We are trying to meet once a month, with the next meeting the first or second week of April. If you are in the Houston area and interested in participating, sign up at http://groups.yahoo.com/group/Houston-RoR/. Keith Lancaster -- Posted via http://www.ruby-forum.com/.
2006 Feb 02
1
First Houston RoR Meetup
A few of us have decided to meet in Houston to try to kick off a Houston Ruby/RubyOnRails group. If you are in town and would like to drop in, we are meeting at The Daily Grind on Washington Ave. at 10:00AM Saturday 4 Feb. ( http://houston.citysearch.com/profile/41420997/) Keith Lancaster -- Posted via http://www.ruby-forum.com/.
2006 Feb 19
0
Handling nil attributes in views
The problem at hand is how to handle missing (but not required) refs to other objects when working in a view (that was not clear - gimme a minute:-). There has been some discussion of this on the wiki, but I was wondering what others thought about handling this. I have class A that belongs_to class B, and I want to display an attribute of B in the view, so I do something like the following:
2006 Feb 20
0
Override automatic accessor for reference field in model
When a column in a database table is actual data, rather than an fkey to another table, I can override the automatic accessor by just doing the following: def field_name # do something here read_attribute(field_name) end This does not seem to work for me if the field is an fkey, say user_id, linking to another table. I''ve made this work by aliasing the accessor like this: alias