Displaying 20 results from an estimated 400 matches similar to: "newb question..."
2009 Apr 16
3
Depot App Who Bought Enhancements
I''ve completed the chapter on Internationalization successfully, but
found out just recently that the "Who Bought" function produces an
error page that looks very ugly when someone enters a product ID that
does not exist. My preference would be to design the app to have a
list of hyperlinks presented when you visit the URL, http://localhost:3000/info/
that describes the list of
2006 Jul 27
1
no method??
Whenever i type what the book says which is...
xml.order_list(:for_product => @product.title) do
for o in @orders
xml.order do
xml.name(o.name)
xml.email(o.email)
end
end
end
it gives me this error that says...
NoMethodError in Info#who_bought
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.title
Extracted source (around line
2006 Aug 07
1
newbie Capistrano question
Hi,
My name is Paul Kristoff and I am rather new to rails. I am trying to
use Capistrano for the first time and am rather confused. My confusion
boils down to the :repository variable in the deploy.rb file. Is this
supposed to point to where your code is currently being stored? Here is
what leads to that question, I am working with an ISP that supports
rails. I originally had the
2006 Jul 26
2
There is Something wrong with the div...
<div id="cart">
<% if @cart.items.empty? %>
style="display: none"
<% end %>
<%= hidden_div_if(@cart.items.empty?, :id => "cart") %>
i dont know how to fix it, iv looked all over the book ruby on rails and
cant ever find whats wrong with it...
--
Posted via http://www.ruby-forum.com/.
2008 Jun 17
1
problem when changing default sqlite to mysql
hi all,
i installed rails 2.1.0 just now before i was working with rails
1.2.6. when i try to check the application enviroment link in the index
page of the application it gave me
" MissingSourceFile in Rails/infoController#properties
no such file to load -- sqlite3RAILS_ROOT:
D:/RadRails/Workspace/Varsha "
here i am using win XP, no sqlite installed.
i have
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 Sep 15
7
is there a multiline ruby "comment" approach? like java's /* code */ ???
Hi,
Just wondering if there is a way to easy comment out a block of ruby code
without putting the "#" characters on each line?
Is there an equivalent to java''s /* */, for example:
/* askdf
asd
fasdf
as
dfasd
fa
*/
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2001 Jun 28
2
plan/date for new features
Greetings,
With all the press concerning the 'almost 1.0' release of vorbis; I see a
lot of messages floating around as 'now 1.0, and -soon- it will include
joint-stereo, Wavelets, low-bitrate, peeling, etc. etc.'
Before I start 'advocating' vorbis and tell everybody what it all can do;
is there actually a date or some other planning when all those
2004 Oct 31
1
another question about fisher.test
Dear all,
I have another question about fisher.test:
Is there any way to save the resulting p-value in a
matrix or file after a loop as below?
for (i in 1:42) {
# testing difference in income(pinc) between people in
# (with in1=1) and out (with in1=0) of the program for
# group i
fisher.test(m$pinc[m$group==i], m$in1[m$group==i],
workspace=40000000, hybrid=F)}
When I run this loop, there is no
2004 Oct 31
1
another question about fisher.test
Dear all,
I have another question about fisher.test:
Is there any way to save the resulting p-value in a
matrix or file after a loop as below?
for (i in 1:42) {
# testing difference in income(pinc) between people in
# (with in1=1) and out (with in1=0) of the program for
# group i
fisher.test(m$pinc[m$group==i], m$in1[m$group==i],
workspace=40000000, hybrid=F)}
When I run this loop, there is no
2008 Nov 16
1
error when run rails project
Hi everyone,
I''m new in rails. After I ran "gem update --system", I had a lot of
problems when running rails projects. I tried to fix from error to error
and now when I run rails project, it occurs error like this:
About your application’s environment
PGError in Rails/infoController#properties
could not connect to server: No such file or directory
Is the server running
2001 Jun 27
3
Winamp decoder plugin user-agent ident
Hi:
Have been testing the latest winamp plugins on my icecast2 stream
(http://bumpy.braille.uwo.ca:9000/test.ogg <plug plug>) and I noticed that
in the field where the player/browser is listed in the log entries I see
Mozilla for the winamp plugin. Isn't this ummmm. wrong?
Geoff.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage:
2008 Jun 04
0
routers are handled incorrectly on production
Has anyone found their routes are handled differently on production?
#works fine
http://local:3000/admin/orders/new
#returns 404.html
http://domain.com/admin/orders/new
production.log:
Processing AdminController#orders (for 67.112.120.159 at 2008-06-04
09:06:11) [GET]
Session ID: 2345fb73da6d2f975bbbfc1dc4dd5ce5
Parameters: {"action"=>"orders",
2006 Mar 21
2
r3981 causes SystemStackError
http://dev.rubyonrails.org/changeset/3981
?!?
The changes are a rename of RailsInfoController to
Rails::InfoController. That seems to be completely unrelated to this
error:
$ ruby script\server
=> Booting WEBrick...
./script/../config/../vendor/rails/activesupport/lib/active_support/inflector.rb:121:in
`underscore': stack level too deep (SystemStackError)
from
2009 Sep 30
1
Can't connect with MySQL database
I just installed MySQL and its drivers on a Mac OS X Leopard. When I
issued my rails command to build a new app, then issued the script/
server command and connected to my localhost:3000 in the browser, I
saw the following problem with MySQL.
I changed/updated the PATH in nano, and it can see MySQL fine. So I
really don''t understand the problem.
Can you tell me what I need to do?
Thank
2004 Oct 31
2
(no subject)
Dear all,
I have several questions regarding fisher.test() in
R, and I'd highly appreciate any help with it.
I have a group of observations, each having people's
income, and an indicator of whether selected in or out
a program. I want to test the difference between
income of people who are in and out.
Because the distribution is far from normal, I decide
to use the fisher's exact
2004 Oct 31
2
(no subject)
Dear all,
I have several questions regarding fisher.test() in
R, and I'd highly appreciate any help with it.
I have a group of observations, each having people's
income, and an indicator of whether selected in or out
a program. I want to test the difference between
income of people who are in and out.
Because the distribution is far from normal, I decide
to use the fisher's exact
2007 Dec 14
3
Issue with upgrading to 2.0 on Leopard? Or something else?
Sorry if this has been covered, but I finally decided to upgrade to
Rails 2.0 (running Leopard and previously at rails 1.2.6) so I could
start using some of the great new features. I ran the usual "sudo gem
install rails --include-dependencies" to upgrade and now my
development environment is all out of whack. I suspected MySQL, but
I''ve already made sure I was using the
2001 Apr 12
5
Windows XP and MP3
if ya' haven't seen it already, check out:
http://www.canoe.ca/MoneyWSJ/wsj2-dow.html
ad, sad, sad. on many fronts. I don't begin to understand how this might
work; I suppose the MP3 degradation only applies to MS encoding software...
*shrug*
this may, however, provide a good leveraging point for Vorbis.
have fun
dongoodman
2008 Aug 22
1
R memory limitations under Windows vs UNIX
Hi all,
Our section at work is looking at buying a high-powered computer (32 Gb RAM, 64-bit) to be able run models on large datasets and have more processing power for the software we commonly use. We mostly use R to fit GLMs and GAMs. Our department uses Windows as the standard OS (we are upgrading to Vista in the next few months) and so most people would be in favour of having the same OS on