Displaying 20 results from an estimated 1000 matches similar to: "search engine friendly URL params?"
2005 Dec 17
2
Testing RoR
I jumped into RoR @ about 3 AM. I think I''ve got it running, but need a
simple sanity check. I''ve been through as many references as possible,
but thought that I''d ask the list here for references. This list sort of
almost being "live".
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Dec 16
3
Productize on 1.0
Hi,
Has anybody tried using the Productize plugin on a recent Rails install?
The pages on RubyForge http://rubyforge.org/projects/productize/ seem to
indicate the development has sort of stalled, or perhaps it''s stable as
can be.
Just thought I''d ask for before I give it a go..
Cheers,
Jeroen
2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
OK, I''m finally starting to play around with the AWS part of Rails,
and I''m running into problems with the functional tests. If I use the
generator to create the web service as
./script/generate web_sevice MyTest do_it
and then run the unit tests without further editing the code, I get
the following error:
test_do_it(MyTestControllerApiTest):
ArgumentError: illegal
2006 Jan 05
2
model with type attribute
Dear all,
I have a table with a column named "type" and I ''d like to access the type
field of the correspondant model object but I get a deprecation warning when
I use the following code :
modelObject.type
"type deprecated use class instead"
How can I access such a named field in rails ?
Johan
Johan Duflost
Analyst Programmer
Belgian Biodiversity Platform (
2005 Dec 22
1
Ask Slashdot: Is Ruby on Rails Maintainable?
Ask Slashdot: Is Ruby on Rails Maintainable?
Posted by Cliff on Wednesday December 21, @12:51PM
from the would-you-want-to-edit-the-code-later dept.
kale77in asks: "I''ve become a big fan of Ruby over the past few months, but I''m not at all sure about Ruby On Rails. Automatic code generation sets of alarm bells in my mind; so that, to RoR''s promise of
2005 Dec 28
1
advice needed: damagecontrol or CIA?
Hi,
I''m looking to set up a continuous integration server for a rails
application. This application is under source control with darcs.
I''ve read about damagecontrol and CIA, and wonder what experience you
can share so I can make my mind.
CIA seems to work with a post-commit so I should be able to use it
with darcs. And as it is in the rails svn repository, I have good hope
2005 Dec 31
1
Custom Classes?
Ok, a bit of a possibly dumb question here.
When working on Rails apps and I want to add a few custom class rb files
to the project, where exactly should I put them? What folder is the
best to place them in that things in the model and controller folder can
see and use them?
Thanks,
- Mark
--
Posted via http://www.ruby-forum.com/.
2005 May 01
2
Active Record and Postgres table inheritance?
Active Record doesn''t appear to have support for table inheritance implemented
in PostgreSQL as described in
http://www.postgresql.org/docs/8.0/interactive/ddl-inherit.html.
Is anyone working on such a thing or is their some compelling reason to avoid
this feature?
I am new to Ruby and Rails, but it doesn''t seem like it would be to difficult
to adapt the current Active
2005 Dec 19
3
Is there a list of html_options for the FormOptionsHelper?
I''m looking for a way to select a default value from a select box, like
this:
select("user", "role_id", Role.find_all.collect {|r| [ r.name, r.id ] },
{ :default_value => ''5'' }
(of course, there is no ":default_value")
If the form is being used on a ''create'' page, it should display a
default in the select box. If
2005 Feb 09
1
[DEFECT] ''validates_inclusion_of'' not working as expected (couldn''t post to Trac as it gave me an error)
Hello,
I tried to post this as a bug on the trac site, but whenever I hit
submit, I got the error message:
---
Precondition Failed
The precondition on the request for the URL /newticket evaluated to false.
---
Anyway...
Let''s say I have the following model classes:
---
class Project < ActiveRecord::Base
has_many :tasks
end
class Task < ActiveRecord::Base
belongs_to
2004 Nov 19
18
SingleTableInheritance Considered Harmful
Here''s the text of a quick note I''ve added to the Inheritance wiki page.
I''m actually proposing that it would be a good idea to drop automatic
single table inheritance and force people to declare it explicitly.
There are two reasons for this:
1. Implicitly doing it unnecessarially limits your use of
inheritance where you really need it: in your object-oriented
2006 Aug 17
1
expectations on stubs (stubba) or mock methods on existing classes?
Hello,
First, thanks for releasing Mocha. As someone who''s been practicing
TDD much longer than I''ve been using Rails, one of my biggest
complaints has always been the fact that the "Unit" tests are more
like intefration tests because of how tightly coupled the domain model
is when using ActiveRecord. Stubba looks like it could really help
aleviate this problem.
The
2005 Dec 22
5
.Net Developer wants to volunteer at RoR project
Hi,
having read "my job went to india" I decided to quit programming within
the Microsoft environment and start something different...
So, is there any RubyOnRails project that in exchange for "reviving" me
needs a loyal (code) contributor?
Thanks in advance
Michael
--
Posted via http://www.ruby-forum.com/.
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi,
I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests
for the action_web_services fail as follows, any ideas what I did wrong?
Thanks
TypeError: can''t modify frozen object
/usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when
working in a shared hosting environment, the Capistrano model can be
outside the capabilities allowed by the Web host.
I simply need to push selected directories (on a changed-file basis) out
to a server. I have about 80% of the code written to do this (I''m
considering YAC for the name, with a nod to
2005 May 01
5
Example using Builder::XmlMarkup and .rxml files?
Greetings,
I''m a newby to both "R"s in RoR. I would like to use Builder::XmlMarkup
to generate my pages. If there is a working downloadable example
somewhere, that would probably be enough. Otherwise, here''s what
I want to do:
With the following controller:
class AccountsController < ApplicationController
layout ''accounts''
model :account
2007 Jul 16
4
Set the return value to "same as block"
It would be good to be able to set the return value to be the same as
the return value of the block. I am trying to test opening a file in a
block and reading from it. It would be nice to use code like this:
object.stubs(:open).with("/path/to/file", "r").yields(
stub(:read => "The file contents")
).returns(from_block)
Which would make open() take the return
2005 Dec 26
16
How to create application with single table with primary key
I''m trying without any succes to create application in which I have
one keyed table. The table structure is:
CREATE TABLE employees (
pin INTEGER PRIMARY KEY,
first_name VARCHAR(30) NOT NULL,
last_name VARCHAR(30) NOT NULL
);
Whenever I enter new record, I need the the filed pin is also filled
by user. Whenever a user edit the table, there should be option to
edit or not edit the
2005 Jul 07
2
0.13 ajax sortable lists and acts_as_list
I''m trying to figure out a good way to get acts_as_list and the new
sortable lists to play nicely together, but they don''t seem like
they''re designed to mesh well. The ajax sortable lists post a
complete ordered list of ids back to the server after every change,
but acts_as_list is designed to deal with diff-like changes, rather
than reordering the whole list from
2005 Mar 04
5
Rails and SCM Best Practices
Hi all--
I''m starting a new Rails project and I''m preparing to import it into my
local Subversion repository. In the past, I''ve just imported the entire
set of files generated by ''rails'', but I''m starting to wonder if that is
the best way to approach things.
For instance, it makes sense to add the log/ directory, but probably not
the