Displaying 20 results from an estimated 10000 matches similar to: "flickr demo"
2006 Jan 24
1
Newbie: Cookbook Application problem with MYSQL
Hi everybody,
I''ve been reading lot of material about Ruby on Rails, and it looks like
really rocks.
I''ve downloaded the one-click version for Windows and started to build
the example cookbook app, found in:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
Everything looks good, but when I''m trying to create a new Recipe
2005 Dec 18
0
Couldn''t find Login with ID
Hi,
I am a lerarner and i Am getting this problem when I try to delete.
I am not able to understand what is this ID and why its like this.
Any one explain me what does it mean and how to solve this . This is as also
with show/edit.
Thanks in advance
Couldn''t find Login with ID=30640940
RAILS_ROOT: ./script/../config/..
2006 Jan 15
0
OS X Rails - Nuby
OK, I''m diving into new things - a .net programmer and windows user
trying to develop in Rails on my Mac. Initial setup was easy, and I had
things working and was thrilled with myself. Then I shut down. Next
time I booted up, mysql was acting all kinds of funny. I finally got
that working again (I *think* it mostly had to do with me not having the
right path, I unfortunately
2006 Jan 15
2
Please help - Rails hanging on mysql connection
Trying to get Rails and mysql running on OS X, and I''m a Nuby.
Everything ran smoothly when I first installed, but after rebooting
things were out of whack. I finally got back into mysql after
re-installing, and at first when I tried to connect with Rails/Ruby I
got a message that my client was not up to date. So after reading some
info online, I set my mysql passwords with
2006 Jan 11
6
Help -- NoMethodError in
Hi,
I am just learing Rails and I am going through the Agile Web Development
with Rails book. I am receiving:
NoMethodError in Store#add_to_cart
undefined method `add_product'' for #<StoreController:0x3764d80>
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/controllers/store_controller.rb:12:in `add_to_cart''
2006 Jan 09
1
Cooky Cookies
Hi All,
I have a problem with the stemming(?) in rails. I have a table cookie and a
Cookie model which I have generated a scaffold for. The problem is that
rails starts looking for a file that it calls "cooky.rb", this must be some
kind of misunderstanding between me and rails, but how do I correct it?
Other scaffolds work just fine.
/Hugo
NameError in Cookie#index
uninitialized
2006 Mar 21
2
Rails newbie can''t initialize a new Paginator object
Hi all,
I''m using ruby 1.8.2-15 and a recent rails 1.0 download.
I''m trying to implement the Classic/Custom pagination in a list action.
Here''s my code:
def list
getSearchTerms
# NOTE: @params[:search_results] is an Array of product_data objects
# returned by a search action.
@results = @params[:search_results]
if @results.nil? then
# The default
2006 Jan 10
1
Cooky cookies causes trouble
Hi All,
Yesterday wrote about my troubles with naming a table and model cookies and
cookie respectively. I know that everybody hates the newbie screaming bug as
soon as he encounters behaviour he doesn''t understand. But I''ve reproduced
the error in the simplest application possible, and dare therefore say that
this quite possible could be a bug in Rails.
Database:
CREATE TABLE
2005 Dec 19
5
using a local MS SQL Server
I would appreciate any tips/clues/advice very much.
I have started using ruby on rails and when the MS SQL Server database is on
a different box than my dev box (where the RoR app is located) I can connect
fine. However when I try to connect to a MS SQL Server database on the same
box as my RoR app I get an error. I have tried to use the IP address of the
dev box as the value of
2006 Feb 11
3
Creating new object using params posted from form
Hi,
I have a problem creating an new instance of an object using params posted
from a form.
The object being created is not a sub class of ActiveRecord and is very
simple. It''s model file is just:
class Search
attr_accessor :major_build_id, :minor_build_id, :environment_id,
:system_id
end
The controller creates an empty instance variable the first time the page is
called, else
2006 Jan 27
5
Newbie:Adding a new Table-Strange Error
Hi Everybody,
I am a newbie in this list so please forgive me if this is a lengthy
message.
Currently I am working on a project at my work place that includes
viewing some oracle tables(I do not have control over to rewrite the
tables) and searching the tables based on a given criteria with Rails.
Up untill now everything was working great. The database consists of a
lot of tables but I was
2006 Jan 30
9
error when adding a new table to the existing application
Deniz wrote:
> Hi Everybody,
> I am a newbie in this list so please forgive me if this is a lengthy
> message.
> Currently I am working on a project at my work place that includes
> viewing some oracle tables(I do not have control over to rewrite the
> tables) and searching the tables based on a given criteria with Rails.
> Up untill now everything was working great. The
2006 Jan 22
2
a newbie doomed in the first introduction to rails.
Hello,
Thank you for the fast responses, I really appreciate. I really enjoy being
a part of such a great community.
I still could not solve my problem. To make sure that I can not connect
beacuse of access rights, I have started mysql server --skip-grant-tables
option. (I have read the part of the manual about access rights, which I was
to read in this list, but 4 AM in the morning, I had hard
2006 Apr 10
0
TaskThis undefined method `remembrall_expires'' for #<User:0x
This happens before each login attempt.
Please note that if I click on the refresh button of my browser I then
login succesfully.
Any hint?
--
fabio vitale
NoMethodError in AccountController#login
undefined method `remembrall_expires'' for #<User:0x351f238>
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Jun 23
0
Date class giving errors
Any time I try to use any methods of the Date class, I get errors of
''invalid date''. For example, I have this happening:
With the code Date.today, I get this error from Rails:
- - - - - - - - - -
ArgumentError in Student#show
Showing app/views/student/show.rhtml where line #10 raised:
invalid date
Extracted source (around line #10):
7: <p> <%=
2006 Mar 08
6
GD error...
Hi!
I''m new in ruby/rails programming and i have a small problem.
I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and
I''m trying to make a small app working. I''m using auth_generator for
making a login page/users admin pages... and I have a problem when
trying to CHANGE the avatar for the user.
I have the following error:
MissingSourceFile
2006 Mar 12
2
Ruby syntax question, I think ...
I am successfully navigating between controllers. However, I am unable
to construct a new child (question) record.
What does "undefined method `stringify_keys!'' really mean"?
I think I am missing a subtlety of Ruby syntax here, since the
question_controller is actually trying to call the Question constructor.
Can someone point out what I am missing please?
Thanks in
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2006 May 30
0
Problems when applying search to filter rows.
Hello,
I am trying to create in the main Layout of the application fields of
selection of fields of the model, and other to insert its value. Next I put
a search button, with the idea to leak by the search in the view of the
model where it executes this button. I have generated the views with
ajaxscaffold.
I do not know if what I try to do it does of this form or another one.
My code is the
2006 Jan 19
3
Troubleshooting Depot App
Hello! I am working my way through the Agile Web Development guide on
RoR (the depot application).
I am a bit lost as to where to debug the following error. The error is
pasted below:
================================================================================================
NameError in Store#add_to_cart
undefined local variable or method `product'' for LineItem:Class