[Rails] Re: Rails3 rails console throws error

2010-07-01 Thread Aslam Syed
Kenneth     wrote: > This error means you did not have the required dependencies to install > readline during installation of ruby. If you can find the location of > the ruby source files in your system, you can go to the ext/readline > folder. In there there should be an extconf.rb which you ca

[Rails] Rails3 rails console throws error

2010-07-01 Thread Aslam Syed
Hi, I am trying Rails 3 and I am using RVM to manage the ruby versions. Using RVM I had installed ruby versions 1.8.7, 1.9.1 and 1.9.2 When I do "rails console" I am getting the following error and console isn't starting: http://www.pastie.org/1026503 Since I dont require 1.9.1 any more to work

[Rails] Re: ActionController::MethodNotAllowed (Only get and post re

2010-02-24 Thread Aslam Syed
The method used is by default POST. You can also specify GET or you can simulate PUT or DELETE over POST. All specified with options[:method] link_to_remote "Destroy", :url => edit_person_url(@person), :method => :get -- Posted via http://www.ruby-forum.com/. -- You received this message be

[Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2009-09-01 Thread Aslam Syed
Hello all, I am trying to send email and written code like this: def matches_for_request( contact, req, matching_offers ) recipients "#{contact}" from"gaadish...@mapunity.in" subject "Matches found for your request" sent_on Time.now body[:offers] = matchin

[Rails] Re: ArgumentError - Unable to rectify please help

2009-06-01 Thread Aslam Syed
oller.rb? Also, is there > any information in the log file that corresponds to the failure? > > On Jun 1, 8:47�am, Aslam Syed -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Rails] ArgumentError - Unable to rectify please help

2009-06-01 Thread Aslam Syed
Hello, I am stuck in a problem which I am unable to understand. I am trying to send an email, which I have done before, after user registers himself on a website. User provides email address which he has to confirm before getting any further communication. I have to do three things before the use

[Rails] Re: Problem registering Mime type

2009-02-11 Thread Aslam Syed
e 'bigdecimal' require 'bigdecimal/math' BigDecimal.mode(BigDecimal::ROUND_MODE,BigDecimal::ROUND_HALF_EVEN) BigDecimal.limit(20) Explanation? anybody? Aslam Syed wrote: > I am facing problem trying to register pdf Mime type. I am doing this > in environment.rb: >

[Rails] Problem registering Mime type

2009-02-11 Thread Aslam Syed
I am facing problem trying to register pdf Mime type. I am doing this in environment.rb: RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION require File.join(File.dirname(__FILE__), 'boot') #Pagination require 'rubygems' require 'prawn' Mime::Type.register "application/pdf", :pdf