Displaying 20 results from an estimated 800 matches similar to: "Productize on 1.0"
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 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 Feb 27
4
Gettext and rails
Hi
Im using the newest GetText gem, and Im having problems with classes
outside rails, they don''t get translated. For example: I have a class
representing access in my app, and it is not a ActiveRecord, just a
normal class. When require ''gettext'' and include it in the class, I can
use the _('''') methods fine. They get picked upp by rake updatepo.
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 Dec 31
1
search engine friendly URL params?
I have a site which is a listing of realestate offerings, written
currently in PHP.
With complicated .htaccess rules, going to the url
site.com/listings/226/aid/29/ref/contact leads to the page
listings/prop_view.php?id=226&aid=29&ref=contact... the beauty of this
is that the link is SEO friendly and thus gains high rankings in the
engines because they will reach it.
question is,
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 Feb 07
4
Ferret on Rails -- Webrick won''t start?
Hello,
I tried using
http://ferret.davebalmain.com/trac/wiki/FerretOnRails
but Webrick won''t start after implementing the plugin?
I tried both versions but to no avail?
All I get is Booting up ... and then it dies?
No info in log/development.log?
Does anyone has a working copy of acts_as_ferret or has any ideas on what''s wrong? I am placing the plugins
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 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 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
2004 Dec 13
4
Dispatcher? how to use long urls with slashes to call a controller
Hello rails,
I have a controller called file with a method get that returns me a
file from the db.
want to do the following:
When calling http://localhost:8080/file/get/11/hansi.txt i want that
rails does the same as if i would call
http://localhost:8080/file/get/11
This i not the case. I get a 404.
This is useful as this makes the filename in the browser downloading
the