Welcome to the Lighthouse API

Rick's Avatar

Rick

04 May, 2007 12:04 AM

We're really excited for the API and have thrown some preliminary docs up, as well as a Lighthouse ruby library using ActiveResource.

Play around, let us know what you think. And yes, this is just a small fraction of what we'd like to do with the API...

  1. 1 Posted by Rick on 31 May, 2007 09:25 PM

    Rick's Avatar

    ActiveResource should only be used with the latest version of edge rails. That kind of puts a damper on distribution of the client API until a stable Rails 2.0 is out.

    For what it's worth, i just included the lighthouse API in lighthouse without any problems :)

  2. 2 Posted by djohn on 10 Dec, 2007 02:30 PM

    djohn's Avatar

    Hi all,

    I'm having some issues with the lighthouse-api. I can't seem to save a ticket - I can save a project without a problem, and fetch tickets. I'll create a new ticket as the comments recommend, however when I try to save it returns nil. I'm on Rails 2.0.1 - is there anything that has changed with the API re: saving a ticket that may not be documented?

    Cheers, Dave

  3. 3 Posted by Michael Deering on 06 Mar, 2008 08:17 PM

    Michael Deering's Avatar

    Hope this save someone the time I burned with using ActiveResource with the username as an email address.

    http://dev.rubyonrails.org/ticket/11112

    Can't move to Edge? Here is a core_ext...

    module URI #:nodoc: class Generic #:nodoc:

    def check_user_with_escaped_username(user)
      check_user_without_escaped_username(escape_userpass(user))
    end
    alias_method_chain :check_user, :escaped_username
    

    end end

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac