Displaying 20 results from an estimated 200 matches similar to: "after changed the tag i got the same eror"
2009 Nov 25
1
unable to add the flash player helper
hi
i am trying to add the flash player helper on applicaion.
when i install the the svn i got this error
how to solve this?
# ruby script/plugin install svn://rubyforge.org/var/svn/flashplayrhelpr
svn: Can''t connect to host ''rubyforge.org'': Connection refused
and also i try this
# rake flash_player:install
(in /home/malathi/www/videoapp)
rake aborted!
2010 Mar 29
4
error in uploading file(help me urgnt)
when i tried to crate an upload file application in rails i am getting
error like this
Template is missing
Missing template app\views\upload\uploadfile.html.erb in view path
app/views
this is ma model
class DataFile < ActiveRecord::Base
def self.save(upload)
name = upload[''datafile''].original_filename
directory = "public/data"
# create the
2010 Oct 20
2
How do i use button_to_function
Hii all ,
I am trying to create a button that, when clicked on, calls a
method in a controller . I am thinking that button_to_function is good
to use for that i made htnl viwe like
<h1>File Upload</h1>
<p><label for="upload_file">Select File</label> :
<%= file_field ''upload'', ''datafile'' %></p>
2008 Dec 08
1
How to upload file by ajax
Hey''
How to upload file with ajax in ROR?
My code not working :(
View file :
<% form_remote_tag(:url => { :controller => ''Upload'', :action =>
''uploadFile''},
:update => "result",
:position => :bottom
:html => {:multipart => true} ) do %>
<p><label
2008 Jul 09
1
render file in index
Hi
I am trying to render file in controller like this :
def index
render :flie => ''app\views\upload\uploadfile.html.erb''
end
It still complains that template is missing.
Template is missing
Missing template upload/index.html.erb in view path /home/rails/
directory/app/views
Do i have to use funtion render :template or how i can change that
default index.html.erb
2010 Sep 02
7
unable to upload larger files
hii,
i am trying to upload some files to filesystem using rails application
when i use small size file everything is perfect but i when goes for
larger files i got error
this is my code
#this model file
class DataFile < ActiveRecord::Base
def self.save(upload)
name = upload[''datafile''].original_filename
directory = "//192.168.147.17/Smruti/streams"
#
2018 Sep 06
3
How to add Loongson ISA for Mips target?
Hi LLVM developers,
GCC[1] is able to use Loongson ISA[2] for instruction selection:
$ cat hello.c
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello World\n");
return 0;
}
$ gcc -O0 -S hello.c
$ cat hello.s
.file 1 "hello.c"
.section .mdebug.abi64
.previous
.nan legacy
.gnu_attribute 4, 1
.abicalls
2007 Oct 24
0
STI vs CTI vs something else?...
Hey gang,
I have these classes:
class Image < UploadFile
validates_file_format_of :filename, :in => ["gif", "png", "jpg"]
end
class UploadFile < PropertyItem
file_column :filename
validates_presence_of :filename
end
class PropertyItem < ActiveRecord::Base
validates_presence_of :name
end
What I''m trying to achieve is a class
2018 Sep 06
2
How to add Loongson ISA for Mips target?
- my old email address.
The ISA_* classes might not be the best choice for this. There's an overall hierarchy and ordering to the ISA_* classes since they represent the generations of the MIPS ISA. If these extensions are available in Loongson chips based on MIPS32r1 and MIPS32r2 for example, it becomes difficult to describe with ISA_* classes without duplicating instruction definitions or
2007 Sep 14
2
how to use options in radio botton
Hi I am using radio botton,I am struggling to use options..following is
my code..
<%=
radio_button(''community'',''default'',0,options={:checked,:onClick=>"javascript:set_default(this);"})%>
If i am using without checked option its working fine.If i use that its
throwing error....
Please help me
--
Posted via http://www.ruby-forum.com/.
2009 Jul 29
3
Side by Side Barplot Newbie Question
Hi,
Many apologies for sending this twice. I accidentally hit the send button
before I finished writing my mail. I am new to R and I hope someone can
help me with my problem. I am trying to draw a side by side barplot.
There is a main experiment and there are many sub experiments within the
main experiment. I would like to draw a bar plot showing the number and type
of sub_experiments done for
2007 Jun 19
2
Session Problem with Ajax Call
Hai,,
I am totally new to Ajax. I am trying to use ajax in my project. Its
working fine, I am getting problem while session time expires. If
session expires means i am redirecting to login page.Onclick i am
calling on ajax function. It will goto controller and it will check the
session if session expires then it has to goto login page.
On ajax call i am updating the div. If session
2006 May 12
6
Samba ADS problem
Hi
I am working with the implementation of Samba(3.0.7) against AD. I compliled
Samba after compiling LDAP, kerberos.I can execute the following commands
successfully.
wbinfo -u, -g -t
netads info, testjoin
getent passwd group
But i cant use chown to use the owner as AD user, even after shutting down
the nscd daemon.
I am giving the my smb.conf file
[global]
workgroup = SE
2008 Mar 11
5
Empty phone numbers
Hello
Thanks for a great gem.
Can you add support for empty phone numbers?
Regards,
Jonas
2007 May 05
1
Problem in Vcard generation
I am trying to explore the vpim gem..
Using that i am trying to generate Vcard..Now I am able to generate
vcard also i am able to send that vcard through mail.
If i try to open that vcard through thunderbird, all the fields
getting stored in address book except mobile number, Here ia m send the
code for adding mobile number into vcard..
if @bizcard_label.mobile_number!=""
2009 Jan 15
0
Fwd: Running a simple .Net 3.0 application.
For your interest. Anyone got any .NET 3.0 applications they'd like to
get working? Soon it'll be time to get bug reporting!
---------- Forwarded message ----------
From: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date: 2009/1/14
Subject: Running a simple .Net 3.0 application.
To: wine-devel at winehq.org
I saw some good progress is being made on getting the .net 3.0
2009 Mar 17
2
Upload image to MySQL
Need simple sample, how to upload image in to MySQL database (in BLOB)
Rails 2.2.2
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To
2007 Aug 25
3
Capistrano / Net-ssh install errors skipping require of...
I''m trying to find out why capistrano will not run on my computer.
I am running Ubuntu 6.06 dapper drake.
Rails 1.2.3
I get errors when i try to run cap -h or cap anything...
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/ossl/hmac/none.rb:27:
uninitialized constant Net::SSH::Transport::OSSL::HMAC::Abstract
(NameError)
When i install net-ssh i get the message
2020 Mar 27
0
AX-1600P FXO port configuration
Hello everyone,
I have a Atcom AX-1600P(1) card with a FXO module and I can't configure
it. I have four extension with this PJSIP settings:
--- /etc/asterisk/pjsip.conf ---
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
[6001]
type=endpoint
transport=transport-udp
context=from-internal
disallow=all
allow=ulaw
auth=6001
aors=6001
direct_media=no
rtp_symmetric=yes
force_rport=yes
2010 Dec 15
3
Spreadsheet gem character encoding
Hi everybody
I''am working on a Rails app (using utf-8) in which I use the Spreadsheet
gem to generate Excel files (.xls in my case).
I ran into some issues when trying to write foreign characters to the
generated Excel-File.
The solution I found so far is to use Iconv like this:
Iconv.conv(''ISO-8859-9'', ''utf-8'', some_string)
This works fine with for