similar to: load testing with rails

Displaying 20 results from an estimated 90000 matches similar to: "load testing with rails"

2006 Apr 28
2
Active Record save doesn''t save! (more detail - is this a bug?)
I got it to work by changing scheduled_end_date= nil to self.scheduled_end_date= nil. I believe these statements should be equivilent. I don''t know Ruby/Rails well enough to know when, if or why that should matter. Can someone educate me please? I want to believe this framework is ready for production work, but silently dropping data is a very big problem. I expect that I''ve
2006 Mar 10
3
installing rails 1.0 on Windows
I ran the gem installer and it seemed to work, but i believe i''m still using an older version. How can i tell what version I''m really using? Thansk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/435006b0/attachment.html
2006 Apr 01
5
What IDE for Rails on OSX?
Hi, I''m using TextMate for rails development on OSX, but have reached a point where I need to run in a debugger and be able to step through the code as it executes. I have previously used the Eclipse Ruby plug in and another IDE for ruby development on windows, but never figured out how to run a Rails app in the debugger. How are other textmate users debugging and what else is there on
2006 Mar 11
2
how do i retrieve a newly created id
in my code i''m calling save on an object. The id gets created as the object is persisted. How can i retrieve that newly created id? I guess I could query the table again using the other attributes of the object but is there another way? thanks in advance. larry -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 09
2
Anybody using Macromedia''s Flex with Rails?
Yeah I know this is a bit of a weird question since everybody seems to be going ajax - just curious -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060509/8537fdc3/attachment.html
2006 Mar 09
4
sort-weirdness - active record issue?
I''m selecting data into a controller and sorting it. The code (in the controller) looks like this: def index @assignments = [] tasks = Task.find(:all, :conditions => ["person_id = ? and actual_end_date is null", session[:user].id.to_s ]) issues = Issue.find(:all, :conditions => ["person_id = ? and status <>
2006 Mar 23
3
drag and drop sorting recipe
The new pragmatic Rails Cookbook has a drag and drop sorting recipe. Does anyone know if this works with 1.0? I''ve followed the recipe (i think), and I can drag but when I drop everything goes back the way it was. It seems that the sort logic doesn''t get invoked. I put this code in my view: <%= sortable_element ''task-list'' , :url => {
2006 Mar 18
1
rails-y way to handle quasi-numeric type
I have a class called Duration that represents a unit of time. It has lots of time-related methods and an attribute that represents the duration in seconds. I want to store it in my db. I had a column type of NUMERIC, so if i save it, rails trys to coerce it to a float automagically and fails. I need to display it and store it as a number but treat it in the middle layer as a Duration so I can
2006 Apr 28
7
Active Record save doesn''t save! (or throw an exception)
PLEASE help me - this is making me insane. Can anyone suggest any reasons for this behavior? It occured previously, then went away and is now back. In Task.rb (where task is an active record subclass) def clear_schedule puts "clearing schedule for task" scheduled_end_date= nil #reset the scheduled end date save halt.
2006 Mar 05
2
Is Rails getting testing semantics wrong and making things confusing?
Yes, I believe it is and I think it is dangerous, and confusing to people new to the concepts of testing. I''ve mentioned a point similar to this on here before, but with the announcement of Rails "integration" test, I''m worried that somebody somewhere is getting their types of tests worryingly mixed up. Lets start with what we had in the beginning...unit tests (for
2006 May 01
2
how to reference a file for download
I have an app that uploads files into the directory RAILS_ROOT/documents/ I tried to access the file for downloading using <a href="#{RAILS_ROOT}/documents/file_name">my file</a>. Rails prepends the controller name to the link so I get <a href=" http://localhost:3000/tasks/show_document/config/.../documents/file_name" What''s the right way to do this?
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
I am having a bit of trouble with the error. I hava a product and category table and wanting to display the categories in a drop down list. Below is the error I get. Any suggestion on how I can fix this. undefined method `name'' for #<Category:0x3652448> 9: <select name="product[category_id]"> 10: <% @categories.each do |category| %> 11:
2006 Mar 09
3
Building a model from a database view
Hi, I''m trying to use rails to build a model from a database view. I get this output C:\dev\v6\project>ruby script/generate scaffold Assignment ... error Before updating scaffolding from new DB schema, try creating a tab le for your model (Assignment) Is this not possible in Rails? It would be *really* helpful for my application. -------------- next part -------------- An
2006 Mar 04
4
authorization framework?
There are a number of good authentication frameworks for rails - has anyone developed a generic authorization framework? I''m thinking of something that included the concept of roles, mapped roles to both actions and users and could be used to wrap actions before their invocation. Extra good would be some way to check data permissions (as in, "yes you can perform the ''Edit
2006 May 24
0
Bump: filtering results in acts_as_tree
---------- Forwarded message ---------- From: Larry White <ljw1001@gmail.com> Date: May 23, 2006 10:35 AM Subject: filtering results in acts_as_tree To: rails@lists.rubyonrails.org I''m using a logical delete for a table and want to use acts_as_tree with it. Is there any way to filter the rows returned as the tree is traversed to include only those records where the deleted column
2006 Aug 06
2
file upload with form_remote_tag
Is there a way to use form_remote_tag and to upload a file? The default behavior ignores the upload when the Javascript serializes the form to create the parameter list. Basically, i''m just looking for an ajax file upload capability. Any help would be appreciated. thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 04
2
Using the rails configuration outside rails
I have a ruby class that will be used sometimes from within rails, and sometimes from without (not in the context of a running rails application). It will reference models within the rails app, and It may be run manually, or may be scheduled via Cron (though I may look at RailsCron as well). I''ve seen help on the Wiki for using models outside of Rails (like this
2006 Apr 27
2
autocomplete question
I''ve just started using the unbelievably easy and cool auto-complete feature. Does anyone know if you can make it search only from the start of the string (or from the beginning of each word)? By default it seems to do a complete search of the strings - typing MI returns both "Mike Jones" and "Mary Smith". I have to believe this will be much slower as the number of
2006 Feb 22
1
Running mysql scripts from rails.
How do I run SQL scripts from rails? I have a testing menu item called "import data". How can I get it to call a SQL script file that will import the data into a MySQL table for me? -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 16
2
How do I use ODBC with rails.
I have an app that needs to retreive data through an ODBC connection on a windows platform. Has anyone done this? Would someone be able to walk me through it? or point me to the relavant docs. My searches haven''t turned up any usefull information so far. -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson