Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Vikrant Chaudhary's latest activity

Saturday, August 28 2010
5481 [Rails 3 RC2] Rails fails to load controller whose name consists of a single ... was updated in Ruby on Rails
  • Vikrant Chaudhary
    Vikrant Chaudhary commented at 11:09 AM

    The irb output isn't formatted nicely in above question. Here formatting again by indenting each line with a tab instead of 4 spaces that I did before.

    Loading...
  • Vikrant Chaudhary
    Vikrant Chaudhary created the ticket at 11:05 AM

    Steps to reproduce

    1. rails new example
    2. cd example
    3. rails g controller H
    4. rails g controller Hello
    5. Open Gemfile and add gem 'yard'
    6. rails c

      Loading development envi...

Wednesday, May 12 2010
4581 [ERB] Error page shows wrong line number, if page contains multiple line comm... was created in Ruby on Rails
  • Vikrant Chaudhary
    Vikrant Chaudhary created the ticket at 6:55 AM

    Try this -

    <%#
    #Hello, world!
    #
    #
    #
    %>
    
    A
    B
    C
    D
    <%= Time.now %>
    E
    F
    G
    H
    <%= nil.now %><%#NoMethodError, yes. %>
    

    Now the error page shows -

    NoMethodError in #...
Monday, May 10 2010
4567 Passing a single object to a nested resource route generates confusing urls. was updated in Ruby on Rails
  • Vikrant Chaudhary
    Vikrant Chaudhary commented at 11:53 AM

    I expect edit_author_book_path(book) to generate /authors/1/books/4/edit because I guess book also carries an Author object via book.author, so we shouldn't rea...

  • Vikrant Chaudhary
    Vikrant Chaudhary created the ticket at 11:44 AM

    I'll take an example. (Using Rails 2.3.5, Ubuntu 10.04 x64, Ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux])

    #app/models/author.rb
    class Author < ActiveReco...
Wednesday, September 30 2009
3197 [PATCH] Passing a --name to script/plugin install and other improvements. was updated in Ruby on Rails
  • Vikrant Chaudhary
    Vikrant Chaudhary commented at 7:55 AM

    Thank you all for responses. I'm new to Git. I was wondering how can I learn the differences made by Elomar França and Gaius Centus Novus to my code that makes ...

Thursday, September 17 2009
3197 [PATCH] Passing a --name to script/plugin install and other improvements. was updated in Ruby on Rails
  • Vikrant Chaudhary
    • Tag changed from command, plugin to command, patch, plugin
    by Vikrant Chaudhary at 1:13 PM

    Bump.

Monday, September 14 2009
3197 [PATCH] Passing a --name to script/plugin install and other improvements. was created in Ruby on Rails
  • Vikrant Chaudhary
    Vikrant Chaudhary created the ticket at 8:54 AM

    Hi,
    Just enhanced some shortcomings of command script/plugin install --.
    Most of the examples are of my own plug-in on which I have been testing the written cod...

Saturday, June 06 2009
2771 reload! in script/console re-defines classes. was updated in Ruby on Rails
  • Vikrant Chaudhary
    Vikrant Chaudhary commented at 12:47 PM

    What advantage does reload! really have over typing exit and script/console again?

  • Vikrant Chaudhary
    Vikrant Chaudhary created the ticket at 6:43 AM

    Try this -

    Create a file named lib/a.rb that defines a class A.

    #file - lib/a.rb
    def A
    end
    

    open script/console and type following

    Loading development environ...