Displaying 20 results from an estimated 400 matches similar to: "HeLp oN my database"
2009 Apr 27
5
ruby jasper report
Hi,
I am trying to create a pdf using ruby jasper.
For this I am referring this url:-
http://oldwiki.rubyonrails.org/rails/pages/howtointegratejasperreports
I have done everything whatever is in that link.
Still I am not able to get the pdf. I am not getting any error in log
file. My log file is:-
"Processing AccountController#customer_report (for 127.0.0.1 at
2009-04-27 13:19:34) [GET]
2010 Sep 22
20
problem in downloading large file with apache+mongrel
hii all,
am using apache as frontend to mongrel and loaded xsendfile
module in apache ,am looking for 1 GB of download .this is download
routine
def download
@stream = Stream.find(params[:id])
send_file(@stream.location,:filename => @stream.name,:disposition >
''attachment'',:x_sendfile => true )
and
And this is how it is processed
Processing
2008 Jan 21
2
Application error - SQL_AUTO_IS_NULL
I have a simple controller (browse) that uses a "books" action to
display a list of books (stored in a mysql db) and a "book_details"
action to display the details of a particular book (according to the
book''s mysql id). The book_details action is accessed via a link from
the books action via the following snippet:
<a href=<%=
2006 Aug 18
1
using R to perform a word count - syntax refinement and incorrect number of dimensions error
Hello,
I am hoping someone can advise me regarding an error message I received and
if needed, refine some syntax. I am wanting to calculate the word count for
each row of a dataframe. Below, I have 3 variables ("V3.PD", "V3.HD",
"V3.LP") which I want to obtain a word count for, by each row which
contains these variables.
Any assistance is much appreciated,
Bob
2003 Jan 14
1
0.99.7 out
This one seems to be actually working. Also rewrote doc/index.txt in
case someone is interested.
2006 Jun 14
3
where to define a struct
Hello,
I''m trying to use the following Struct in my web app:
UserInfo = Struct.new( "UserInfo", :first_name, :last_name, :email,
:domain_name )
I placed this in the environment.rb, thinking that it should be
initialized only once.
But when I try to access it from within my controller, I get:
undefined method `UserInfo'' for #<UserController:0x243ad5c>.
so
2008 Nov 15
4
data not being saved
I am trying to save data entered in a form and nothing seems to be
saving. What do you I have to look at to ensure everything is set-up
correctly? I have looked in my database.yml file and all looks good and
the database that I am trying to use exist. Thanks,
-S
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2002 Nov 24
2
vpopmail support?
Well, I read that back in 0.98 or so vpopmail support should work so I assumed it would be enabled in 0.99 but here's what I get.
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I/usr/local/vpopmail/include -g -O2 -Wall -W -g -O2 -Wall -W -c userinfo-vpopmail.c
In file included from userinfo-vpopmail.c:12:
/usr/local/vpopmail/include/vpopmail.h:133: syntax error before `*'
***
2011 May 06
3
Rails 3 Routing problems
I have an UploadsController and UsersController where Users''
has_many :uploads'' via polymorphic attachment in uploads.rb.
Now we i navigate to http://localhost:3000/users/1/uploads
I get re-routed to Uploads#index and rendered is called multiple times
as shown below:
Started GET "/users/1/uploads" for 127.0.0.1 at 2011-05-06 22:00:38
+0100
Processing by
2009 May 25
1
Help --- My phone number field saves blank
I have a phone field in my table.
But in my form i have two text boxes to get the phone number and the
country code like below
Enter country code ----- Enter phone code ------
In my table i have to save the phone code field after joining the above
values with "-" symbol.
Example => 0225-25874255
I dont have table field for country_code .
So i created like below
attr_accessor
2008 Aug 26
8
Migration Error
When trying to migrate my db using rake I get the following error
message:
rake aborted!
No migration with version number 3
I am using sqlite3 as my database server. Any help is much
appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
2008 Oct 27
8
pagination in ajax
hi,
I am curently using rails version 2.1.1.
Currently i have done simple pagination using will_paginate
plugin.it works.but when i am trying pagination using ajax
with help of will_paginate plugin
it wont works.i am also using RemoteLinkRenderer helper,
but it gives an error uninitialized constant RemoteLinkRenderer.
can anyone provide any tutorial or sample code so that i can
2010 Nov 04
9
Delete action is not working and redirects to edit action
Hello,
i have a strange problem here. I have made a teacher controller using
scaffold. All actions work fine but the delete does not. When i click
the delete link, it redirects me to the edit of this teacher. I have
restarted the server and i have tried in firefox (i use chrome) but
problem still remains. Here is the code from my view.
<%= link_to(image_tag("/images/
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi:
I am using authlogic, and following railscast tutorial. I am running
into this error code with the password confirmation.
authlogic password confirmation is too short
Has anyone experienced this error? I need your help.
Thanks in advance for your help.
2009 Jul 07
1
Adding data in two tables simul;taneously with Validations
Hi All,
I have 2 tables
1] user_infos &
2] users
class UserInfo
has_one :user
validates_presence_of :city
class User
belongs_to :user_info
validates_presence_of :first_name
i write following code in my create method.
@user_info = UserInfo.new(params[:user_info])
@user=@user_info.build_user(:first_name=>'''')
if @user_info.save
else
end
now what i want is to
2008 Feb 14
4
How do I access this parameter?
Hi,
I have a form for creating users ...
<% form_tag ''userconfirm'' do -%>
<!-- more code -->
<p><label for="user_login">Username</label><br/>
<%= text_field ''user'', ''login'' %></p>
<p><label for="user_password">Password</label><br/>
<%=
2011 Dec 16
4
nil object Error
hi all,
i am getting following error ,i can''t figure it out why and from where
it is coming ?
please help me out to resolved this error if anyone knows about this issue.
i am using following env.
O.S:Windows XP
Ruby:ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
Rails:Rails 2.3.11
Gem:1.6.2
ActionView::TemplateError (You have a nil object when you didn''t expect
2003 Jan 17
1
Unable to Log in on FreeBSD server?
Hello!
I recently compiled dovecot 0.99.7 on a FreeBSD 4.3 server, and have
been having problems with logging in and password authentication.
a. I can't seem to get it to compile MD5 support -- it only seems to
support plain, plain-file, and pam.
b. Whenever I try to log in, I always get something along the following
lines in /var/log/messages ....
Jan 16 17:52:15 akira imap-login:
2016 Mar 22
19
[PATCH v3 0/11] tests/qemu: Add program for tracing and analyzing boot times.
Lots of changes since v2, too much to remember or summarize.
Please ignore patch 11/11, it's just for my testing.
Rich.
2002 Dec 22
1
[Fwd: ./configure options..]
Oops, wrong address..
-------- Original Message --------
Message-ID: <3E0618CB.1060106 at is.a.fakepope.com>
Date: Sun, 22 Dec 2002 11:55:55 -0800
From: Jesse Peterson <erage at is.a.fakepope.com>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20020901
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Dovecot Mail List <dovecot at procontrol.fi>
Subject: