search for: peterwright

Displaying 7 results from an estimated 7 matches for "peterwright".

2006 Jul 07
2
Testing views with Hpricot
assert_tag smells bad. Hpricot smells nice (apricotty!). Testing your views with Hpricot: http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your-rails- views-with-hpricot/ Big thanks to _why for a great little library! Feedback is appreciated. rSpec integration coming soon (hopefully!). Cheers, Luke Redpath contact@lukeredpath.co.uk -------------- next part -------------- An HTML
2006 Jul 07
2
gem install mysql ***extconf.rb failed***
I''ve installed rails (and it works) and now I want to be able to connect to a mysql database. The database.yml file tells me to install the mysql drivers by typing: gem install mysql This is the error I receive: Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration
2006 Jul 07
1
Add_column not working
I try to add a column using migration in the table tests with the name namn as a string. Doesn''t work. Any idea why? def self.up add_column :tests, :namn, :string end -- Posted via http://www.ruby-forum.com/.
2006 Aug 02
2
Weird relationship thing
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060802/f8cc6d95/PGP.bin
2006 Jul 06
6
Functional tsts
Hi all, I have created projects module in my application using scaffold, and it created me everything, and all the modules are working except the functional test. This is the error 1) Failure: test_create(ProjectsControllerTest) [test/functional/projects_controller_test.rb :55]: Expected response to be a <:redirect>, but was <200> 8 tests, 25 assertions, 1 failures, 0
2006 Aug 04
4
Tabs
I''m new to Ruby/Rails I want to create Tabs similar to these... http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People Can someone outline the best method? Specifically, Is creating a tabs.html in \..apps\views\layouts and using class PhotoController < ApplicationController layout "tabs" ....in my
2006 Jul 07
4
Controllers - model vs. use case centric
I am working on a reasonably large application (which happens to be my first with rails). I was hoping to get some input on organisation of controllers and actions. I am finding having used scaffolding more at the beginning my controllers tend to be very model centric, in that they mostly contain all the actions for management of that particular model, which may crash across multiple use