kurenn / sabisu-rails

Simple and powerful engine for exploring your Rails api application
MIT License
127 stars 29 forks source link

undefined method `+' for nil:NilClass #41

Closed TheNightmanCodeth closed 8 years ago

TheNightmanCodeth commented 8 years ago

Following this: http://apionrails.icalialabs.com/book/chapter_three

After login I get this:

NoMethodError in SabisuRails::ExplorerController#index undefined method `+' for nil:NilClass

 Extracted source (around line #1532):         
        address() + (port == HTTP.https_default_port ? '' : ":#{port()}")
      else
        address() + (port == HTTP.http_default_port ? '' : ":#{port()}")
      end
    end

I added the 'config.base_api_uri = "api.marketplaceapi.dev" to the config file. Not sure where to even begin/:

kurenn commented 8 years ago

I think this is related to devise new IPaddress attribute for users...

TheNightmanCodeth commented 8 years ago

I forgot I posted this. It was a silly mistake on my end. My b