search for: jefdean

Displaying 15 results from an estimated 15 matches for "jefdean".

Did you mean: jeden
2007 Apr 11
13
View Specs Fail with "protected method render"
I''ve got rspec and zentest installed as well as the rspec rails plugin, and my model/controller specs all pass and work well. I can''t seem to get views to work though - 100% of the specs fail with: NoMethodError in ''/users/show.rhtml should render attributes in <p>'' protected method `render'' called for
2006 Jul 30
2
options_from_collection_for_select & multiple columns
I have a table with first_name and last_name, and wan''t to populate a drop-down with the id and the person''s name consisting of the first and last names concatenated together. Can''t figure out how to tell options_from_collection_for_select to do that. Any ideas? I basically need to do something like: <%= options_from_collection_for_select @media_creators,
2006 Jul 31
2
add title to links
Hi, below is an example of one of my links, in order to create a pop up css window when I hover over it, I need to be able to add a title element, <%= link_to ''Edit Details'', :action => ''edit'', :controller =>''account'',:id => @user.id %> so it will appear like <a href="http://localhost/edit/1" title="text
2006 Oct 28
5
RSpec, REST and different formats
Is anyone using RSpec with RESTful rails apps? In my rails controllers I check request.respond_to? and render different views accordingly. I noticed that the get method in the rails plugin doesn''t accept headers: controller_mixin.rb line 92 def get(action, parameters = nil) @request.env[''REQUEST_METHOD''] = ''GET'' process action,
2006 Jun 22
2
Setting an index on a collection_select
...es, ''id'', ''name'', ''index'' => 1) %> Here''s the documentation for the text_field that describes the index property http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#M00038 9 Thanks, Jeff Dean www.jefdean.com <http://www.jefdean.com/> jeff@jefdean.com 917 414 7801 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060622/cbaed2b9/attachment.html
2006 Jul 31
3
Missing controller default code
Hello, I generated a controller, using the command: ruby script/generate controller my_kontroller my_model The generated controller file, however, contains an empty class definition. The default controller code is missing. Any idea what went wrong? Thanks, gk -- Posted via http://www.ruby-forum.com/.
2007 May 03
2
Note of praise
I don''t mean to litter the mailing list with junk, but I just wanted to say thanks to everyone who''s been working on rspec for this release. I particularly like your attention to natural language and thorough documentation/examples. I''m not at the point yet where I can contribute much to the code side of things, but if there were a donate button I would use it. Jeff
2007 May 05
2
Translating tests
Is test2spec still around? If so, are there any special instructions for running it against edge? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070504/bb164e29/attachment.html
2007 Apr 25
9
Running specs for a plugin - undefined method ''define'' for object
I''m trying to write specs for a plugin I''m developing named audit_fu, and I''m running into a problem which I can''t get past it. I''ve got the same specs setup in the main rails app, and everything works fine there, it''s just running the plugin specs that I''m having a problem with. My setup is: - edge rails - edge rspec (in
2006 Jul 31
5
PostgreSQL
Hi @ all Does anyone has some experience with PostgreSQL and RoR? Does it gives any disadvantages or problems with PostgreSQL? I have a webapplication, that manage (read/write) many records (no. 200''000 records) and I search a ideal database. Actually, I have two options: - MySQL / - PostgreSQL And now, I would like to ascertain a good solution... Thx, ribit -- Posted via
2006 Jun 23
3
form_remote_tag is not passing form params
I''ve searched and searched and searched again, and I cannot find any help with this problem. There''s an identical problem on this forum, but it was never resolved. I''ll try to re-open the subject with a bit more information. Problem: The form_remote_tag() method in my "list" view is not passing the params[] hash of the values stored within my form.
2007 Apr 20
1
simply_helpful and edge
Does anyone have view specs running on edge with simply_helpful? I tried http://blog.methodmissing.com/2006/11/23/using-simply_helpful-with-rspec-controller-tests/but it seems that was written for pre-9 versions. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070420/0bc8d366/attachment.html
2007 Apr 20
1
getting controller specs to work on edge
I''m using edge spec, edge rspec_on_rails, edge rails. I just switched to edge and ran the translator tool and I''m trying to get everything to pass again. One of my issues is getting render back up and working for my controller specs, here''s an example: describe "Requesting /users using GET" do controller_name :users setup do @user = mock_model(User)
2007 May 03
7
before method
Would it be desirable to have before and after take a spec name as well as :each and :all? Scott
2007 Apr 20
0
svn url for trunk
FYI - I want to install rspec_on_rails from trunk - on http://rspec.rubyforge.org/documentation/rails/install.html it points to: - svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails/vendor/plugins/rspec_on_rails But that doesn''t seem to exist anymore. I used: - svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails And it seemed to work. -------------- next part