You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Sticker < Grape::Entity
expose :id
expose :thumb do |model, opts|
model.thumb.url
end
end
class StickerMess < Sticker
expose :description, :times
unexpose :thumb
end
The grape server mount as api of rails
: rails s
Users/benyu/.rvm/gems/ruby-2.0.0-p598/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:10:in `rescue in execute_if_updated': Rails::Application::RoutesReloader#execute_if_updated delegated to updater.execute_if_updated, but updater is nil: #<Rails::Application::RoutesReloader:0x007ff1c79eded0 @paths=["/Users/benyu/www/babe/config/routes.rb"], @route_sets=[#ActionDispatch::Routing::RouteSet:0x007ff1c4722fa0]> (RuntimeError)
The text was updated successfully, but these errors were encountered:
@benyu
Could you provide more verbose error output at least?
Ideally I want a whole application that fails. It would be probably challenging to write a failing spec for this issue so I think that investigating a failing app will help at first.
The grape server mount as api of rails
The text was updated successfully, but these errors were encountered: