Displaying 20 results from an estimated 2000 matches similar to: "WEBrick and OS X 10.4.5 problems?"
2006 Mar 30
5
Has_many :through problems -- please help
I''m having a lot of trouble with has_many, :through and could really
use some assistance.
I''ve got a User and Group class. Users can subscribe to groups, and
groups should know who''s subscribed.
I''ve got a join table (group_subscriptions) with group_id, user_id,
and it''s own id element.
Users has "has_many :groups, :through =>
2006 Mar 15
5
Passing params to a component
I see from http://rubyonrails.org/api/classes/ActionController/Components.html
that is possible to pass paramaters to a component.
I don''t understand the exact syntax.
I''m trying:
@master_id = @params[''master_id'']
in the components controller but it is not working.
==== Details:
In my calling view I have:
<%= h(@opportunity.id) %>
<div
2006 Mar 22
2
habtm vs. has_many/belongs_to
In AWDWR David says (pg 232),
"When a Join Wants to Be a Model:
While a many-to-many relation with attributes can often seem like the
obvious choice, it?s often a mirage for a missing domain model. When
it is, it can be advantageous to convert this relationship into a
real model
and decorate it with a richer set of behavior. This lets you
accompany the
data with methods.
As an example,
2006 Mar 15
3
App design help for a newbie (trying again)
Hi there,
I''m working on a new student portal system using Rails for a large
university. As part of this application, I plan on students being able
to customize their own calendar, collection of commonly used links,
aggregation of newsfeeds (from the university, student groups, etc), and
to see a listing of major announcements they should be aware of.
It seems to me, to make the most
2006 Mar 23
4
Error with Rails 1.1RC1 and Properties page
I just tried setting up a simple Rails app, after updating to the
1.1RC1 version of Rails. Generating a simple scaffold worked fine, and
WEBrick started fine with script/server.
I then went to the http://localhost:3000 page and clicked on the
"About your application''s environment" link, and an error was
displayed:
NoMethodError in Rails/info#properties
private method
2006 Apr 02
2
Recognition failed for "/rails_info/properties"
Hello. I can''t figure out why I''m getting the following problem, or
how to fix it.
I have Rails 1.1.0 installed on both OS X and Solaris, and in both new
and old projects, and using either WEBrick or lighttpd, I get:
Recognition failed for "/rails_info/properties"
when lining to it off the welcome to rails page. I get the following
errors through the console:
2006 Apr 21
2
Forms Containing Collections problem
Can anyone tell me why I''m getting the error "The error occured while
evaluating nil.id_before_type_cast" for the following view code
<% for entry in participant_portfolio.portfolio_entries -%>
<%= select "entry[]" , :id, @buyer_profiles,
:selected => entry.buyer_profile_id %>
<% end -%>
This seems to only happen when I use
2006 Mar 30
2
Confused about 1.1 installation
Hey all,
I just upgrade to Rails 1.1 and it seems to have gone fine (from 1.0).
However, when I create a new rails application and start it with Webrick, I
get this error when viewing my "Applications'' Environment"
Recognition failed for "/rails_info/properties"
So I went looking for the Rails installation. I found rails-0.14.3 and
rails-1.0.0 at
2006 Mar 28
3
Routing Error after upgrade
I successfully upgraded to Rails 1.1., but now when I point my browser
to localhost:3000, I get a the following:
Routing Error
Recognition failed for ?/rails_info/properties?
What?s the best fix for this?
--
Posted via http://www.ruby-forum.com/.
2011 May 10
7
Webrick script/server file does not exist
Hello all,
I worked fairly enough with PHP and MySQL, but am very new to Ruby.
I have Windows machine with Apache and MySQL installed previously.
Both Apache and MySql were stopped while installing Ruby.
I tried several ways to install Ruby 1.8.7 and one-step installer.
I can use Ruby with netbeans 6.0.1 with its own Ruby or with the one I
installed now.
The problem starts when I try to create
2006 Mar 28
2
Newbie question - ActionController::RoutingError
When i run my server and just chk in browser i get
---------------------------------------------------
ActionController::RoutingError (Recognition failed for
"/rails_info/properties"):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/routing.rb:488:in
`recognition_failed''
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2006 Mar 04
1
Hiding and expanding form fields?
Hi, I''m wanting to create a form where some of the for fields are
hidden until the user clicks the advanced link. BTW, I''m looking for
the functionality similar to the Rails Welcome page (i.e.
http://localhost:3000). The relevant link hear is as follows:
http://localhost:3000/rails_info/properties
In short, it seems to be a expand and collapse functionality using
AJAX.
2005 Dec 29
3
Blank pages, ''missing default helper path rails_info_helper''
Environment:
* OS X 10.4.3
* Ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
* Rails (1.0.0, 0.13.1)
* WEBrick 1.3.1
* Following the wiki directions, I did the OSX fixrbconfig thing,
installed Rails, MySQL, etc..
Please bear with me, I''m new to Rails.
I successfully followed the ''depot'' application from the Agile Web
Development with Rails book, building it piece by
2010 Mar 24
6
dispatch.cgi, dispatch.fcgi, dispatch.rb not present in Public folder
I''m doing a series of ruby on rails tutorials and it got to a part
where i need to edit the following files that should be automatically
inside the public folder: dispatch.cgi,dispatch.fcgi,dispatch.rb but I
have none of these inside my public folder. Is there a reason for
this? And how can i change it so they are back
The only files in my public folder at present are
404.html 500.html
2006 Jun 22
2
rails on Oracle 10g - missing controller ?
I am trying to generate my first scaffold but I am getting a 500 error
from http://127.0.0.1:3000/foo . Below is the information about my
system, as well as the commands I am typing. I have also included the DDL
( Oracle 10g ). I am mid way through chapter 6 of "Agile Web Development
w/ Rails". Why aren''t there any files under app/controllers/ ?
C:\tmp\rubyWork>ruby
2005 Dec 25
2
scriptaculous-js-1.5.0
I''m not a JavaScript guy, so please help me out.
It''s my understanding that Rails 1.0 includes scriptaculous-js-1.5.0
But it seems to contain portions of, but not the complete library.
Rails 1.0 includes 4 .js files, scriptaculous-js-1.5.0 includes 8.
What am I missing?
> tmornini$ rails --version
> Rails 1.0.0
>
> tmornini$ rails test | grep
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET
192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET
/favicon.ico HTTP/1.1" 200 60
- -> /favicon.ico
What does /favicon.ico (which doesnt seem to exist in my source) do for
Rails?
_______________________________________________
Rails mailing list
2006 Mar 17
2
Favicon.ico doesn''t show in IE 6
Hello All,
I put favicon.ico under "public" folder. Also, I put a copy into
"public/images". And I put these 2 lines in my layout file:
<link rel="icon" href="images/favicon.ico" type="image/ico" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/ico"
/>
It works fine in
2006 Mar 04
6
Favicon?
I''m sure I''m missing something rudimentary here...
I seem to be having difficulty getting my favicon to appear. I have my
favicon.ico in the public folder. I''ve configured my route.rb to route
the intro page to my "home" controller. I''m using application.rb in my
views to template the headers and footers.
Here is the tag in my <head> in the