Displaying 20 results from an estimated 23 matches for "johnwilger".
2006 Mar 07
0
Fwd: [Ruby on Rails] #4112: PostgreSQL views not supported when dumping schema.rb file
...so, perhaps we can put our
heads together to come up with a workable solution.
---------- Forwarded message ----------
From: Ruby on Rails <davidhh@wrath.rubyonrails.com>
Date: Mar 7, 2006 7:57 AM
Subject: [Ruby on Rails] #4112: PostgreSQL views not supported when
dumping schema.rb file
To: johnwilger@gmail.com
#4112: PostgreSQL views not supported when dumping schema.rb file
----------------------------------+-----------------------------------------
Reporter: johnwilger@gmail.com | Owner: David
Type: defect | Status: new
Priority: normal...
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)
...me in
the right direction (or confirm that it''s a bug and that I''m not just
going nuts), it would be much appreciated.
Also, the web service itself seems to work just fine when I test it by
hand using the web service scaffolding on the controller.
--
Regards,
John Wilger
http://johnwilger.com
-----------
Alice came to a fork in the road. "Which road do I take?" she asked.
"Where do you want to go?" responded the Cheshire cat.
"I don''t know," Alice answered.
"Then," said the cat, "it doesn''t matter."
- Lewis Carrol,...
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
2006 Aug 17
1
expectations on stubs (stubba) or mock methods on existing classes?
...end
I would expect that to either a) raise an exception because it''s
invalid or b) fail the test since the implementation of Product.import
does not currently call Product.create. Instead, the test passes.
Any ideas how I can make this work as expected?
--
Regards,
John Wilger
http://johnwilger.com
-----------
Alice came to a fork in the road. "Which road do I take?" she asked.
"Where do you want to go?" responded the Cheshire cat.
"I don''t know," Alice answered.
"Then," said the cat, "it doesn''t matter."
- Lewis Carrol,...
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
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 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''
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
2005 Mar 04
3
Boolean values
...t;
> Thanks,
> Patrick
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Patrick J. Franz
>
> patrick-LkoapWg8zFbQT0dZR+AlfA@public.gmane.org
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 3 Mar 2005 23:52:55 -0500
> From: John Wilger <johnwilger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Subject: Re: [Rails] Rails and SCM Best Practices
> To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> Message-ID: <a05e51b60503032052156f7544-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
> Content-Type: text/plain; charset=US-A...
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
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
2006 Jan 25
12
DRY in Models
I am building an app right now that needs to grant access to three
levels of members right now - each will have their own table in the DB.
When creating the add_user action I am converting the password into a
hashed password through the model.
The way I am doing this right now, I will inevitably end up with
repeated code in three different models. Is there a way I can define
this code in