similar to: testing helpers

Displaying 20 results from an estimated 1200 matches similar to: "testing helpers"

2006 Feb 20
18
Win XP/ Mysql Problem
I''ve searched everywher for an answer to my problem, and the only thing I''ve found is people with the same problem. I''m hoping someone has an answer here: I''m working through the agile web developement with rails book and when I goto scaffold the products table I get the following message. exists app/controllers/ exists app/helpers/ exists
2006 Apr 04
3
How to use in_place_editor_field ?
Hello, I really don''t understand how to use in_place_editor_field In my controller : class Admin::CategoriesController < Admin::BaseController in_place_edit_for :category, :title def list @categories = Category.find_all end end In the view list.rhtml <% @categories.each do |c| %> <td><%= in_place_editor_field :c, c.title %></td> # snip <%
2010 Oct 14
13
First boot with Puppet
Hi guys, I''m installing Puppet on RHEL5 systems using KickStart but struggle with the first boot. Here''s my situation: 1) kickstart installs the system, including puppet from our local repo 2) after reboot I have to login and set the hostname and IP 3) then run puppet, register it with the server and bring in the config 4) configure puppet for automatic start I have to
2005 Dec 07
3
2.0-testing for linux-2.6.14
Hi there, is there any chance that you update xen-2.0 branch for newer 2.6 linux kernels? I know xen-3.0 is now out, but we''re not going to upgrade our production systems as yet. We''d rather stick with 2.0(-testing) and newer kernels for some more if possible. Thanks! Michal Ludvig -- * Personal homepage: http://www.logix.cz/michal
2004 Jun 30
3
OpenSSL ENIGNE support for OpenSSH
Hi all, attached is a patch that enables using hardware crypto accelerators available through OpenSSL library for SSH operations. Especially in ssh/sshd it can bring a significant speed improvement. OTOH if no crypto engine is available, nothing bad happens and default software crypto routines are used. This patch is used in SUSE Linux OpenSSH package and proved to work (at least it didn't
2007 Mar 06
4
[PIMP] Topfunky''s httperf PeepCode screencast (Zed A. Shaw)
Hi, Thanks Zed - this is very interesting. One item in particular caught my eye: Does anyone on this list have any comments or validation that Rails 1.2.1 is 2-4 times as slow as Rails 1.1.6? Topfunky provided a link that purports what looks like really horrible performance and memory characteristics for Rails 1.2.1, even v. 1.1.6:
2007 Sep 12
2
The use for an XML based metadata format
On Mon, Sep 10, 2007 at 01:19:05PM +0100, Ian Malone wrote: > as artist=(composer) Beethoven), I think cast lists for films present > a similar problem. There is consistency and indexability to be > addressed (Ludvig van Beethoven; Beethoven, Ludvig van; > Beethoven). ID3 has a concept of "sort" tags, which provide a string for sorting purposes which is different from the
2006 Mar 30
3
Export Fixtures Plugin
= Description This plugin is a super lightweight tool used to export data into the test/fixtures directory. So if you want to export all your data from your production server into your development environment, this will simplify the process without having to load up your database manager. [%] rake db:fixtures:export_all RAILS_ENV=development [%] rake db:fixtures:load = INSTALLATION
2006 Mar 21
5
Order records based on number of children
Let''s say I have simple schema with two tables. The models are defined like the folllowing: class Parent < ActiveRecord::Base has_many :children end class Child < ActiveRecord::Base belongs_to :parent end Simple has_many relationship. Is there any way to order the results of a Parent.find_all by the number of children the parent has? I can sort with sorted_parents =
2006 Mar 25
2
Rails Plugins: How to copy artefacts to the public directory during install? When is install.rb executed anyway?
Hi, I want to write a plugin that uses JavaScript and I am wondering how to put the static content, i.e. the JavaScript, in place? I read the documentation I found ( http://wiki.rubyonrails.org/rails/pages/Plugins and links) and looked at the listed plugins. One thing I found was that subversion seems to be a prerequisite for providing or even installing plugins. Is that right? The other thing
2006 Aug 03
8
beginning a statistics application
Hi all, I need to write an application that gets data from a database and plots it on a graph. I am familiar with java and know that I could do it with jfreechart - however I am excited by RoR and would like to write the application with RoR instead. Is it possible to write it in RoR? Chris -- Posted via http://www.ruby-forum.com/.
2006 Jan 18
5
Ruby and charting
Hi- I need to create simple charts on the fly - I had used JFreeChart in the past with inJ2EE apps. Is there any equivalent here for Ruby. My charting needs are simple: just line charts. Also if anyone has done this, pls let me know how I should go about in doing it. Thanks -- Posted via http://www.ruby-forum.com/.
2005 Jan 07
4
glm fit with no intercept
Dear R-help list members, I am currently trying to fit a generalized linear model using a binomial with the canonical link. The usual solution is to use the R function glm() in the package "stats". However, I run into problem when I want to fit a glm without an intercept. It is indicated that the solution is in changing the function glm.fit (also in "stats"), by specifying
2006 Jul 15
6
calendar_helper
Hi, anyone ever tried the calendar plugin? i can''t get it to work: i did: ruby script/plugin install http://topfunky.net/svn/plugins/calendar_helper ruby script/generate calendar_styles and then generated a controller calendar_controller with a method def monthly end in monthly.rhtml i put: <%=calendar(:year => 2005, :month => 6)%> if i try to run i get: undefined
2007 May 04
22
CampingConf?
Campers -- In a few weeks there will be a bunch of people in Portland, OR, for a conference. A long time ago some campers mentioned that might be a good time for us to get together and hold a mini CampingConf for a few hours. Is anyone interested? Does anyone want to organize it? I''m thinking Wednesday night, May 16. We could possibly get a spot at FreeGeek (not likely since they are
2006 Mar 26
3
Using a Gem in your App without installing to the system
Does anyone know how to use a gem without installing it to the rails installation? For example, I can download the Money gem package from http://dist.leetsoft.com/ but if I don''t have the ability to install a gem at my hosting provider, how can I use the gem in my app? Cheers, Dan
2007 Jan 06
1
Camping Podcast
I''m putting together an episode of the Rails podcast that will be dedicated to Camping. I already have the first interview recorded. I''d like to get 3 or 4 more short interviews (short...maybe 4.096 minutes each). If you''d like instant fame, send me an email and tell me what camping project you would like to talk about, what your skype username is, and when is a good
2006 Apr 07
1
How to install plugins in RoR?
Hi, How to install specific plugins in RoR environment? I tried with following . ========================== /script/plugin install http://topfunky.net/svn/plugins/css_graphs ================================= But with this I got error as :-"The system can not find path specifed" How to install plugins? Thanx, Prash -- Posted via http://www.ruby-forum.com/.
2006 Jan 20
6
Pre-populate db with yaml outside of testing?
Hi. What is the best way to pre-populate your database with records while developing, not testing? For example, I want to: 1) > [run this command to populate db] 2) > ruby script/server 3) now I can surf to localhost:3000 and my app will already have relevant data I''m hoping to use yaml to suck it in. Is there a way to use the Fixture class to handle this even though this is
2005 Dec 29
5
Extracting SQL and Rebuilding from SQL?
Hello- With a database filled with several customers'' datasets, I thought it would be a nice feature of my app''s backend interface to be able to extract (and optionally delete) the data from a single customer. It would then also be nice to rebuild that data from the stored info. What''s a good way to do this efficiently? If all the ":dependent => true"