Re: [Rails] Rich Text Editor

2010-02-21 Thread fireflyman
scite -- emacs -- netbeans On Mon, Feb 22, 2010 at 11:36 AM, steve stevew1...@gmail.com wrote: I'm fairly new to ROR. Does anyone know of a good rich text editor to use? Is fckeditor good or is their a better one to use? Thanks, Steve -- You received this message because you are

[Rails] Invitation to connect on LinkedIn

2009-10-13 Thread F fireflyman
LinkedIn F fireflyman requested to add you as a connection on LinkedIn: -- Mitin, I'd like to add you to my professional network on LinkedIn. - F Accept invitation from F fireflyman http://www.linkedin.com/e

[Rails] Re: Adding record in database table

2009-09-29 Thread fireflyman
The model was used for controller connected database.Otherwise, you can use straight SQL with ActiveRecord::Base.connection.execute.I would like to use model On Tue, Sep 29, 2009 at 5:37 PM, Tushar Gandhi rails-mailing-l...@andreas-s.net wrote: Hi, I have a question that Is it possible to

[Rails] `observer' for AccountController:Class

2009-09-20 Thread fireflyman
hi, I've just changed to rails 2.0 and got undefined method `observer' for AccountController:Class What can i do for this problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

[Rails] Re: `observer' for AccountController:Class

2009-09-20 Thread fireflyman
This example come from Beginning Ruby on Rails E-Commerce On Sep 21, 1:19 pm, fireflyman yangxiwenh...@gmail.com wrote: hi, I've just changed to rails 2.0 and got undefined method `observer' for AccountController:Class  What can i do for this problem

[Rails] How to install acts_as_threaded

2009-09-11 Thread fireflyman
Hi,everyone I'm a freshman for study ROR,I was try to deal the bookBeginnig Ruby on rails E-Commerce. When I was in chap 6,it need to install a plugin that call acts_as_threaded.But I can't deal with it. I had used gem install and ruby script/plugin install.If you know how to deal with it ,please

[Rails] Re: How to deal with this code ?

2009-09-08 Thread fireflyman
So,Could you help me deal with my code ? On Tue, Sep 8, 2009 at 9:46 PM, Frederick Cheung frederick.che...@gmail.com wrote: On 8 Sep 2009, at 13:44, David A. B ~~~ When I run my test,and goes wrong .Like this---

[Rails] How to deal with this code ?

2009-09-07 Thread fireflyman
Hi,everyone Here is my model code--- has_many :authors_books has_many :authors, :through = :authors_books belongs_to :book belongs_to :author has_many :authors_books has_many :books, :through = :authors_books

[Rails] Re: how toi incorporate google map in a rails application

2009-09-05 Thread fireflyman
You can read the googlem api On Sun, Sep 6, 2009 at 1:05 AM, Soutom soutom.dh...@gmail.com wrote: i just want ot incorporate google map in my application. So for this what should i do. if any one please help me step by step... thanking you -- Sons of Gondor, of Rohan, my brothers! I

[Rails] Re: will_paginate

2009-09-02 Thread fireflyman
Thanks,I had deal with the problem . On Thu, Sep 3, 2009 at 12:10 AM, Ar Chron rails-mailing-l...@andreas-s.netwrote: Sure, read this page for the info: http://github.com/mislav/will_paginate/tree/master -- Posted via http://www.ruby-forum.com/. -- Sons of Gondor, of Rohan, my

[Rails] Re: Expected response to be a :success,but was 500

2009-09-01 Thread fireflyman
Thanks so much ! You are good man!@ On Tue, Sep 1, 2009 at 12:55 PM, Nik Cool rails-mailing-l...@andreas-s.netwrote: fireflyman wrote: So,What should I do ?I'm a fresher. go to http://guides.rubyonrails.org/testing.html http://6brand.com/rails-integration-testing-how-to-learn.html

[Rails] will_paginate

2009-09-01 Thread fireflyman
Hi,everybody I write a code like follow,the question was paginate has been drop until the rails 2.0,now we use will_paginate to replace it.But I don't know how to change my code to let it suitable.

[Rails] will_paginate problem

2009-09-01 Thread fireflyman
Hi,everybody I write a code like follow,the question was paginate has been drop until the rails 2.0,now we use will_paginate to replace it.But I don't know how to change my code to let it suitable.

[Rails] Re: will_paginate problem

2009-09-01 Thread fireflyman
/quotes/authors/t/ted_turner.html - Sports is like a war without the killing. On Wed, Sep 2, 2009 at 7:48 AM, fireflyman yangxiwenh...@gmail.comwrote: Hi,everybody I write a code like follow,the question was paginate has been drop until the rails 2.0,now we use will_paginate to replace

[Rails] Re: will_paginate problem

2009-09-01 Thread fireflyman
] instead of parmas[:page]Also if you have an error post the trace here if we cant see the error ... we cant see the problem On 2/09/2009, at 2:40 PM, fireflyman wrote: Hi,Dhruva Thank you for your help,but I still can't pass my test.May be the code goes wrong . On Wed, Sep 2, 2009 at 10

[Rails] Re: will_paginate problem

2009-09-01 Thread fireflyman
It still goes wrong, C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in `method_missing_without_paginate' C:/Ruby/lib/ruby/gems/1.8/gems/mislav-will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'

[Rails] Re: will_paginate problem

2009-09-01 Thread fireflyman
, fireflyman yangxiwenh...@gmail.comwrote: First,I want say sorry to Dhruva,because i didn't write a test,it was a controller.When I run my Webrick and try to use controller like http://localhost:3000/catalog/index it goes wrong,like this--- C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib

[Rails] Re: will_paginate problem

2009-09-01 Thread fireflyman
When i change 'publishers' to 'publisher',now we got like follow private method `scan' called for :id:Symbol On Wed, Sep 2, 2009 at 11:27 AM, fireflyman yangxiwenh...@gmail.com wrote: Now,we got a new problem,like this-- Association named 'publishers' was not found; perhaps you misspelled

[Rails] Re: will_paginate problem

2009-09-01 Thread fireflyman
://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html - Even a stopped clock is right twice a day. On Wed, Sep 2, 2009 at 8:59 AM, fireflyman yangxiwenh...@gmail.comwrote: When i change 'publishers' to 'publisher',now we got like follow private method `scan' called

[Rails] Re: will_paginate problem

2009-09-01 Thread fireflyman
: $%=sprintf(%.2f, book.price) %/dd ddsmallPublisher: %= book.publisher.name %/small/dd % end % /dl %= will_paginate @books , :inner_window = 1, :outer_window = 1, :prev_label = 'Previous', :next_label = 'Next' % On Wed, Sep 2, 2009 at 11:49 AM, fireflyman

[Rails] Re: will_paginate problem

2009-09-01 Thread fireflyman
Thanks a lot !You are good man. On Wed, Sep 2, 2009 at 12:06 PM, fireflyman yangxiwenh...@gmail.com wrote: Hi,DhruvaI had success with my code.Here is the code. controller code-- def index @page_title = Book List @books = Book.paginate :page = params[:page

[Rails] Re: Expected response to be a :success,but was 500

2009-08-31 Thread fireflyman
500 On Mon, Aug 31, 2009 at 2:40 PM, Nik Cool rails-mailing-l...@andreas-s.netwrote: was [quote] Expect response to be a :success,but was 500 [/quote] Am I missing something ? what is output in test log file? you can try this on console follow the steps 1)go to console (ruby

[Rails] Re: Expected response to be a :success,but was 500

2009-08-31 Thread fireflyman
, fireflyman yangxiwenh...@gmail.com wrote: On Mon, Aug 31, 2009 at 6:00 PM, Colin Law clan...@googlemail.com wrote: 2009/8/31 fireflyman yangxiwenh...@gmail.com: 500 On Mon, Aug 31, 2009 at 2:40 PM, Nik Cool rails-mailing-l...@andreas-s.net wrote: was [quote] Expect

[Rails] Re: Expected response to be a :success,but was 500

2009-08-31 Thread fireflyman
So,What should I do ?I'm a fresher. On Mon, Aug 31, 2009 at 6:46 PM, Nik Cool rails-mailing-l...@andreas-s.netwrote: fireflyman wrote: Session ID: 6efd9f650c0eb779f4726c3b5b0c609c Parameters: {} ActionController::RoutingError (No route matches /catalog with {:method=:get

[Rails] Expected response to be a :success,but was 500

2009-08-30 Thread fireflyman
Hi,Man I write some integration test,like follow [code] require #{File.dirname(__FILE__)}/../test_helper class BrowsingAndSearchingTest ActionController::IntegrationTest fixtures :publishers, :authors, :books, :authors_books def

[Rails] Re: Ruby on Rails test:integration Expected response to be a :redirect, but was 404

2009-08-26 Thread fireflyman
Thanks! 2009/8/26 Nik Cool rails-mailing-l...@andreas-s.net Looking around -- someone had a problem that the new object was not created or saved. One of the tests in products_controller_test.rb has no problem creating a new product. What am I missing? try this. this may work

[Rails] Re: rails 3.0

2009-08-26 Thread fireflyman
Hey, the current release version of Rails is 2.3.3 2009/8/27 Conrad Taylor conra...@gmail.com Hey, the current release version of Rails is 2.3.3 and it's also displayed on the rubyonrails.com. However, you can access the current state of Rails 3.0pre by downloading Edge Rails. Good luck,

[Rails] Re: getting error NoMethodError in Book#new

2009-08-26 Thread fireflyman
% form_tag ({:action = 'create' })do % 2009/8/27 JL Smith autige...@gmail.com Have you run all the necessary database migrations? Does the books table have the title and price columns? --~--~-~--~~~---~--~~ You received this message because you are

[Rails] Ruby on Rails test:integration Expected response to be a :redirect, but was 404

2009-08-25 Thread fireflyman
Hello, I'm trying to write some tests and I get a failure error on one test, which I am not sure why or where is my mistake. In my test/integration/product_test.rb I have: require 'test_helper' class ProductTest ActionController::IntegrationTest fixtures :all test

[Rails] Re: SSH Magic and Rails Development

2009-08-16 Thread fireflyman
Thanks for share! 2009/8/15 Maximiliano Guzman maximiliano.guz...@gmail.com +1 Nice article. Thanks On Fri, Aug 14, 2009 at 12:05 PM, Alpha Blue rails-mailing-l...@andreas-s.net wrote: SSH Magic and Rails Development

[Rails] Re: Installation Issue

2009-08-16 Thread fireflyman
Please googlet ! 2009/8/15 shusseina s.anderson...@gmail.com What platform are you on? On Aug 15, 4:22 am, fricativemind fricativem...@gmail.com wrote: Can any one guide me how to install Ruby on Rails... --~--~-~--~~~---~--~~ You received this