similar to: Version of gem

Displaying 20 results from an estimated 3000 matches similar to: "Version of gem"

2006 Jul 24
3
0.9.0 Version of Gem installation problem?
Hi all. I have installed latest INSTANT RAILS i.e 1.3 When i run the following command: c:\instantRails\ruby\bin>gem -v it returns 0.8.11 I want it to be 0.9.0. I have downloaded gems 0.9.0 but i dont know how to place them and where so that i get the latest version of gems. Please help me out. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jul 23
3
Error in executing "ruby script/server"
Hi all, Somebody please advice me what should i do: I installed instant rails and i executed the command "*ruby script/server" *sucessfully for the first time the next time, when i tried to execute the same command, it gave me the error : "Cannot find Gem for rails =1.1.2: Install the missing Gem with ''Gem install -v=1.1.2 rails'' or change your Environment.rb to
2006 Jul 24
1
Gems Problem -- no Metadata found
I am using INSTANT RAILS. I got the following error. Please help me asap. I need it urgent C:\InstantRails\ruby\bin>gem -v 0.9.0 C:\InstantRails\ruby\bin>gem install rails --include-dependencies *ERROR: Error installing gem rails[.gem]: No metadata found!* ** *I am quite hopeful Gurus of Rails Will help me to jort down this problem. Thanks* <Rails@lists.rubyonrails.org>
2006 Jul 24
3
Creating performance test fixtures from development db? How?
Hi all! I''m looking into the testing chapter of Agile Web Development With Rails (2nd ed.). I want to performance test my app, but I''m too lazy to write fixtures for performance test. I''d rather use the data from my development db (because the data is so close to the production data). How do I get the data into the test db without writing fixtures? Could you please
2006 Jul 24
4
Destroy action doesn''t work?
Hi all, Here is my Customer controller''s destroy method: ** def destroy Customer.find(params[:id]).destroy redirect_to :action => ''list'' end It''s stock, untouched scaffold code. When I submit the URL: http://localhost:3000/customers/destroy/11 The entry in the MySQL database with id 11 is not destroyed. The destroy method won''t
2006 Jul 24
8
Views in one controller reaching out to other controllers (best practices)
Hello all. For the purpose of my question, let''s imagine we''re building some search functionality. You''re a sales person (you poor sap). And you''re hanging out in the SalesCenterController. You need to do a search for available productions; you''ve decided to be cool and use Ajax. Do you... a) Make a remote call to an action in your current controller
2005 May 25
5
SER Config for Asterisk
Hello, This is the scenario i want to setup: Cisco ATA 186 -----------> SER -------------> Asterisk I want the Cisco ATA to register to Asterisk through SER. when the Cisco ATA place a call, SER querry a data base (MySQL or else), and if there is a valid Account for the ATA, the call go to Asterisk. Did someone know how to set SER to work like this with Asterisk? which version of SER
2006 Jul 25
7
Question about Associations and Eager Loading
Hey everyone, I''m currently making an application that allows users to create custom fields that have attributes associated with each field. They can then attach instances of these fields (each with their own separate attribute instances) to their account. So, it looks like this: Fields / \ Field Instances Field Attributes \ / Field
2006 Jul 24
4
[Slightly OT] Dealing with lost connections
Hi! I know that the web is essentially stateless, so I was wondering about how lost connections can be managed. I have an application that posts data to a web form. This form has a large number of items (about 38) and I''m a bit concerned about the connection being lost while posting the data. Is it safe to assume that the web application will reject the transmission if the right
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi, Just trying to get my first database based rails app up on dreamhost.com. The app was working prior to putting in mysql DB usage but I''m just stuck on getting the app working with mysql. I''ve already created the database and can connect to it manually. Below is the error I get after running the rake migrate. It worked OK on my home PC environment. I did change the
2006 Jul 22
4
Reading floating points into a field stored as Integers
Hi, I''m trying to follow the "AWDR" example of storing certain types of numbers (in my case, percentages not money) as integers in the database. I understand from the Depot application how to format the output to have 2 places (or n places for that matter) decimal. Now, I"m wondering about the input. It''s more natural for people to enter numbers as
2006 Jul 22
7
Validation with has_many
I have two problems. I have a comment that has_many uploads. Before saving the comment, I want to be sure that the upload(s) has passed validation, but I also need to validate in other ways. For example, I do not want to save the comment if there is no comment or upload. Or, I do not want to save the comment if the image has been uploaded previously (comparing md5s with past upload md5s
2006 Jul 24
3
Customize list.rhtml to display only certain db columns
Hi, Very new to RoR; have been a flash developer for four years or so. I have an urgent question -- in the list.rhtml file, I only want to display certain columns instead of dumping out all the columns in the database. Could someone shed some light this topic? Thanks!!! Sam -- Posted via http://www.ruby-forum.com/.
2006 Jul 23
4
Anything like with_scope for ActionController?
There are areas of my application that "want" to use a url structure like domain/<human_readable_param>/<Module>/<Controller>/<Action>/<Id> Please note that the human readable parameter I need to inject is NOT related to the <id> being used by the action/controller pair. It''s identifying a container object whose contains are operated
2006 Jul 21
3
Re-formatting email line breaks
I''m trying to re-flow email messages, removing the line breaks that get added by mail programs so that the lines don''t exceed 72 characters. Mail.app and Thunderbird seem to insert a space character before each added line break. Outlook replaces new lines in the email with double \n''s, then uses single \n''s for the ''soft'' line breaks.
2006 Jul 25
4
Problem installing plugins
I''m trying to install a plugin using the supplied command... $ script/plugin install svn://rubyforge.org//var/svn/backgroundrb I get an error sh: line 1: svn: command not found What am I doing wrong? What is svn, and why is it not found?? It seems to work for everyone else.... Have I missed something in my Ruby install? -- Posted via http://www.ruby-forum.com/.
2006 Jul 14
3
compare two tables and find the difference?
I need to compare a column in TableA to a column in TableB and then select 3 columns from TableA for all the records in TableA that don''t exist in TableB. TableA and TableB are different but do have one field in common that i am comparing. The tables are not related in anyway. right now I have a find_by_sql query located in a model that looks like this: def self.absent_charges
2006 Jul 23
2
Accessing form values
Hello - Rails newbie here. I have the following form with this input box: <%= text_field_with_auto_complete :product, :name%> How do I extract its value on my controller? I''m trying this: @query = @params[:name] I see that :name is making it into my params hash: {"product"=>{"name"=>"ipod"}} But I can''t seem to extract its value! --
2006 Jul 12
5
start_form_tag n00b question
Hi, I''m wondering if there is any way to specify the id of a form tag with the start_form_tag helper. I''ve tried playing around with ", id=>"marginForm" " and also inclosing both the action variable and id variable in curley brackets. The Rails API doesn''t off much help for a n00b like me. It''s probably really easy but any help you guys
2006 Aug 10
8
Problem installing rails with gems
I have ruby 1.8.4 and gem 0.8.11 installed on Ubuntu Dapper. Now I wanted to use gem to install rails (as documented in the wiki). That worked fine, but afterwards, the command rails is not found. It seems that the gem install command does not place the binaries in the apropriate directory. The instruction pages at the Rails websites show that one cun simply type "rails" after the gem