Displaying 20 results from an estimated 30000 matches similar to: "file upload"
2007 Jan 09
3
Browser or Server error?
I can view a website from Windows w / Mozilla or IE, but from an Apple using
Safari I get
this error in the log and can''t view the site,
Java and JavaScript are enable in the Safari Browser...I am using Mongrel w/
Apache
(I''m not sure if I need to configure something on the server)
Processing Base#index (for 26.19.21.70 at 2007-01-09 17:13:37) [GET]
Session ID:
2006 Jul 18
6
backgroundrb - Connection closed
Hello,
maybe someone can help with backgroundrb. I''ve written an application, which
makes use of backgroundrb. Everything works fine on my development machine, but
it crashes on my production server.
Something seems to be wrong with backgroundrb, but I don''t know the cause. All I
get is the error message attached below, which is extracted from the production.log.
I
2006 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
FYI:
I don''t think this is a very well know. It seems that, on some
operating systems, ActionMailer/SMTP crashes when it sends an email
with only a ''.'' (aka a ''dot'' or a ''period''). Specifically, you get
Net::SMTPSyntaxError (502 Error: command not implemented):
Environment Details:
$ uname -a
Linux private1 2.6.15-26-server #1 SMP
2006 Sep 11
7
Safari Browser problems
I can browse a site I developed/deployed to Apache 2.2.3/Mongrel from PC/s
with Firefox/Explorer.
I can''t browse from Mac Safari?
I checked these setting and it still doesn''t work...
http://docs.info.apple.com/article.html?artnum=151263
I don''t know Mac''s, what esle could this be?
Jim
2008 May 07
1
Actionwebservice
I am just learning some about web service. But many guys still use
Java (Jws). But I wanna try ROR. There are less information about it.
I can''t get install plugin in the ROR 2.0.x. So I followed the
standard textbook("Agile_Web_Development_With_Rails-2nd" and "Ruby on
Rails for PHP and Java Developers") I almost finished it. However, I
can''t find my api
2008 Dec 20
3
IMAP_Authenticatable Problem
Good morning all,
I''ve been using the imap_authenticatable plugin for about a year now without
incident. All of a sudden, I tried logging in this morning and this error is
showing up in the logs. Does anyone have any idea what could be causing this
or how to fix it?
Thanks,
Pete
NoMethodError (undefined method `disconnect'' for nil:NilClass):
2007 Jan 15
5
ActionController::UnknownAction (No action responded to xxx)
I have a new method defined in a existing controller.
All the methods I called in these are workable.
But somehow the new method is not recognizable.
------------------new method I
added--------------------------------------------
def push
# if fair
begin
@product = Product.find(params[:id])
rescue
logger.error("Attempt to access invalid product #{params[:id]}")
2008 Mar 11
3
ActionController::NotImplemented (Only requests are allowed.)
We have a bunch of strange entries in our error log, and don''t know
exactly what they mean:
The errors are as follows
ActionController::NotImplemented (Only requests are allowed.):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1437:in `recognize_path''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1424:in
2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m
trying to start a project of my own, follow the same instructions but
the difference is I created the database myself.
After I create the scaffolds and try them out I get this error
NameError in CustomersController#index
uninitialized constant Customer
RAILS_ROOT: ./script/../config/..
Application Trace |
2008 Aug 26
6
Rails deployment issue... no such file or directory - getcwd? huh?
Everything works fine locally but when I deploy I get this:
Errno::ENOENT (No such file or directory - getcwd):
/vendor/rails/activerecord/lib/../../activesupport/lib/
active_support/dependencies.rb:78:in `expand_path''
/vendor/rails/activerecord/lib/../../activesupport/lib/
active_support/dependencies.rb:78:in `require_or_load''
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi ,
I want realize a web service with rails, but it''s the response it''s
very slow. I want only saw all element present in my base.
I did a base Customers (with element like id, name, phone,...). I
added two elements.
I did a model customer, a web_service customer.
In the file /app/apis/customer_api.rb
class CustomerApi < ActionWebService::API::Base
api_method :listid,
2007 Jul 19
7
NoMethodError in partial driving me mad
Hello,
i simplified have a news model, a news category model and a news
controller.
my _news.rhtml partial renders a single news entry.
in my controller there are the actions show and show_category.
if the "show" action is called, a single news item is rendered through
my partial with no errors.
if the "show_category" action is called, i get a NoMethodError while
displaying
2007 Dec 03
1
undefined methods page_count
I''m getting "undefined method `page_count'' for #<Array:0xb7073e1c>"
when I tried to run my rails application after installing
will_paginate. Details are as below:
undefined method `page_count'' for #<Array:0xb7073e1c>
Extracted source (around line #7):
4: <%= a.text%>
5: <% end %>
6:
7: <%= will_paginate @announcements,
2008 Mar 04
2
Why would ActiveRecord connect to Postgres as root?
My databases.yml makes no mention of root and in my dev environment
everything works fine, however following a deployment with Capistrano
about an hour ago, I get the following error:
PGError in HomeController#index
FATAL: role "root" does not exist
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
connection_adapters/postgresql_adapter.rb:713:in `connect''
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi.
I am using BackgrounDRb to process thumbnails and upload to S3 -
things are hunky-dory in development (thumbs are generated, these are
uploaded to S3, the metadata is saved to trhe DB, and I get a nice
status page updated by periodic calls via ask_status), but when I
tried to deploy to our staging server and stop/start BackgrounDRb via
Capistrano, things blew up - well, not exactly,
2007 Jan 29
6
RJS problem
Hi,
I''m implementing a "digg-like" page, that once you digg. The score for
each item will dynamically reflect your current action +1 .
I am not sure what''s
In the controller I have an action responsible for increase of the
score.It has a corresponding rjs in view.
--------------------------------------------------------------------------------
def arouse
2008 Mar 13
1
memcache_client fails Marshal.load of AR objects
wondering if anyone watching can make sense of this,
I''m try to work the memcache_client into my app, but every time it tries
to read from memcache I get a Marshall error that the AR classes are not
defined. But it''s more vexing than that, as the error does not occur
within the console. From a console everything works as expected, but
when running in the app it fails.
2008 Aug 26
1
upload_column NoMethodError
Hi all,
I''m using uploadcolumn plugin for file uploading. Followed the README file.
Put "upload_column :src_file" in my model file as instructed, and i got this
NoMethodError for the upload_column. This is the full trace:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in
`method_missing''
app/models/speech.rb:2
2007 Dec 29
2
needs to have method `_load'
I''m getting an exception that I''m fairless clueless about. It occurs
when I run a "create" action but neither my action or before filters
are hit before this exception. I''m hoping someone can give me a clue.
I suspect it has to do with marshalling objects in the session - maybe
TzTime is not capable of being stored in the session. I hope that''s
not the
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook
up a database.
"undefined method `model'' for ZingerController:Class" is the message I
get from the server.
I imagine I''ve left something out that is keeping me from connecting
to the database, but I''m not exactly sure what.
Your help is appreciated.
bests,
-rsr-
session dump: