Displaying 20 results from an estimated 3666 matches for "artvinvfo7ksv2n9l4h3zg".
2008 Dec 05
9
Bar Chart in Rails
Hi Everyone,
Can anyone tell me how to draw a bar chart in Rails? Is there any
in-built method in Ruby on Rails (or) should i go for 3rd party plugins?
I searched and came across this "open flash chart" - i don''t know how to
customize it according to my requirement.
PS: I have attached my requirement sample for you reference.
Thanks,
Vasanth
Attachments:
2007 Nov 07
7
Help on loop
Hey,
I have got a script that returns a long list of font family names, which
I all want to store in a variable (array). I tried doing this with @f =
font.family also in the for loop below but it only prints the last item
when I want to display the results.
require ''rubygems''
require ''RMagick''
include Magick
for font in Magick.fonts
puts font.family
end
2009 Nov 11
6
HeLp oN my database
Using my application i can able to save a new record into my db
but i cannot update a existing record into my db.
using update query i can able to update my records.
but using update_attributes it doesnot update my records.
even i cant find any errors in logs or something.
throughout my application i can able to save a new record but unable to
update my existing records.
actually i have changed
2009 Apr 06
9
setup method in functional tests and instance variables
I have the following in my functional test file.
class UserControllerTest < ActionController::TestCase
fixtures :users
def setup
@controller = UserController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
@invalid_user = user(:invalid_user)
@valid_user = users(:valid_user)
end
def test_login_success
2009 Jul 09
6
rdiscount Deadlock !
rdiscount-1.3.1.1 is uninstallable on solaris
---------------------------------------------------------
root@dcb0:/opt/gitorious# gem install rdiscount -v 1.3.1.1
Building native extensions. This could take a while...
ERROR: Error installing rdiscount:
ERROR: Failed to build gem native extension.
/opt/ruby/bin/ruby extconf.rb
checking for random()... yes
checking for srandom()... yes
2009 Aug 14
7
"sudo gem install rails" not able to install thin dependency
Hi folks,
I''m having trouble getting gems to install rails. It just keeps asking
me which version of thin I want to install. Until I choose skip or
cancel, in which case I''m told that something has gone wrong.
Any advice?
Thanks kindly,
Tommy
PS: Gems is 0.94.
---------------------------------------------------------------------
tommy@tommy-laptop:~/www/blog$ sudo gem
2009 Apr 21
12
still cannot install rails on windows
if i follow the instructions on:
http://agilo.us/2009/03/15/rails-on-windows/
the command
gem install sqlite3-ruby
will give
---------------------------------
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.exe extconf.rb
checking for fdatasync() in rt.lib... no
checking for
2009 Aug 31
3
Getting this error
HI friends,
After updating ruby 1.8 to ruby1.9.1.......& on firing script/server to
start a server,
I am getting the following errror.....
/home/HUNT/WEBlog/config/boot.rb:86:in `load_rubygems'': undefined method
`>='' for nil:NilClass (NoMethodError)
from /home/HUNT/WEBlog/config/boot.rb:52:in `load_initializer''
from /home/HUNT/WEBlog/config/boot.rb:38:in
2008 Jun 11
6
how to create new database to oracle ?
i have rails-2.1.0
my database.yml
development:
adapter: oracle
database: pe
username: or
password: or
>rake db:create
>rake db:version --->Current version: 0
>rake db:migrate
rake aborted!
ORA-12154: TNS:could not resolve the connect identifier specified
(See full trace by running task with --trace)
is above idea is possible, then how ?
and
i thing i should give service
2008 Dec 19
5
paperclip
anyone can help me to use paperclip plugins..I have a problem using it.
--
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 unsubscribe from
2007 May 15
8
is there any hidden command in link_to function?
hi,
i want to know how to pass hiddend values in link_to. if anybody know
please tell me.
Thanks in addvane.
--
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
2009 Oct 26
3
Rails Syntax
Hi All...
I want some sites that provides all the basic syntax that rails support.
If u have any document than please share it with me...
Please help me out...
Thanks...
--
Posted via http://www.ruby-forum.com/.
2009 Jan 22
4
Is there a plugin that can autofill(ajax) during user input?
I haven''t done rails in a year, but can someone tell me if there is a
plugin or how much work is it to add an auto fill function like google''s
front page?
Would you just use an observer on the form or is there already a built
in class that can do this?
Thanks!
Feng
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received
2009 Aug 25
5
uninitialized constant
API-> hello_message_api.rb.
class HelloMessageApi < ActionWebService::API::Base
api_method :hello_message, :expects => [{:firstname=>:string},
{:lastname=>:string}], :returns => [:string]
end
controller ->
class HelloMessageController < ApplicationController
web_service_api HelloMessageApi
web_service_dispatching_mode :direct
wsdl_service_name
2009 Aug 02
3
redirect_to or send_file and AWS S3
Hi,
I store files on S3 as the id of the file in my appliction. IE my file
with id 20 will be stored on S3 as 20. When I download the file I want
to look up the file name in the database and then pass it off to the
user. Is there any way I can use redirect_to and pass the S3 url and
then give it the filename, so the user doesn''t get 20.
Does this make sense?
Thanks,
David
--
Posted
2009 Apr 11
3
Updated today - number of rows
How can I get number of rows that was updated "today"?
Table: messages (id, title, message, updated_at)
--
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
2009 Jul 30
6
How can I change member action names on routes?
I have some controllers with member/collection actions. I want to change
the name of those actions on the routes, so I can translate the action
"/search" to German, for example. How can I do it? I will appreciate any
help.
--
Posted via http://www.ruby-forum.com/.
2006 Sep 10
5
why isn't :order working in acts_as_list
Ok, I''m sure this has to be something stupid that I''m doing (or not
doing), but I can''t seem to get things to order by the specified column.
class List < ActiveRecord::Base
has_many :list_items, :order => "orderby"
The error I get back when trying to save the link is:
Unknown column ''position'' in ''order clause'':
2009 Mar 17
3
How to truncate a table from a rake file
I am new to rails and want to figure out the syntax for truncating a
table using a rake file. Any ideas? thanks in advance!
--
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
2009 Nov 14
4
how to login in spree
any one cn tell me how i cn login in spree
when i click on login button it redirects t0 https://localhost/login
--
Posted via http://www.ruby-forum.com/.