sinatra
How Does the ActiveResource Get Call show find(:first) or find(:last) requests?
I am developing a Sinatra server that can accept calls from ActiveResource, but can\"t determine how to identify Get calls specificying :first or :last.[详细]
2023-03-24 03:32 分类:问答Suddenly my admin pages won't load in Padrino (Template Engine not found)
I\'ve never had an issues with the admin pages in my app before, but after a reboot of my machine I\'m getting this error:[详细]
2023-03-24 03:17 分类:问答pony doesn't send email to gmail address?
I\'ve got an entry form that asks for a persons name and email address. I save that email address to the session so I can access it after the form has been submitted. Then I use Pony to send a thank y[详细]
2023-03-23 21:23 分类:问答how to run capybara sinatra
I was given a sample sinatra project with a hello world for capybara testing in akephalos.I understand the concept by looking at the code, but how do i run it?If I run rackup config.ru, and then go to[详细]
2023-03-23 20:41 分类:问答Cross application authentication with Devise and Warden
I have 2 applicatio开发者_StackOverflowns. A rails 3 application with devise, and a Sinatra app with warden.[详细]
2023-03-23 12:56 分类:问答issues finding public folder when requiring sinatra/base
I have found that in my Sinatra app, when I require \'sinatra\', I can access my public folder as expected, but when I require \'sinatra/base\' I can\'t.Here is my relevant code (which works until I c[详细]
2023-03-23 09:35 分类:问答Mount Sinatra app inside a rails app and sharing layout
I would like to mount a sinatra application in my rails app. But I would like this one to share the same layout.[详细]
2023-03-23 06:43 分类:问答How to serve static content from gems in Sinatra (analagous to Rails ::ActionDispatch::Static)
I have a Sinatra service which includes a gem.The gem contains some static content which I would like to include in and serve via the Sinatra app.[详细]
2023-03-23 03:35 分类:问答Javascript loads fine on index page, but not in other pages
I\'ve been knocking my head against a wall here for a few hours trying to solve this with no luck. I\'m using Ruby, Haml, Sinatra, and Highcharts. I\'ve created a Ruby HighCharts object that interpola[详细]
2023-03-22 06:53 分类:问答Sinatra/Rack params[] in before block
I\'m making a site using Sinatra, everything is going well, or was until I needed to access the params[] hash in the be开发者_如何转开发fore block.[详细]
2023-03-22 04:29 分类:问答