padrino
padrino-gen migration create_indexes is not working
I am trying to use mongoid_fulltext and can\'t seem to get the migrations to create the indexes needed.When I try:[详细]
2023-04-11 00:31 分类:问答How do you add indexes to your Mongoid database in Padrino?
I need to be able to add indexes to my Mongoid database in a Padrino project.I saw that they added rake tasks for this here:[详细]
2023-04-09 15:28 分类:问答How do I create a URL to link between apps in Padrino?
I have a separate app called \"api\" that I\'d like to link to from my admin app.But if I do a link like:[详细]
2023-04-09 05:24 分类:问答padrino && websockets
i\'m looking for a way to open and use websockets from within a Padrino application. i know Padrino works with a single thread but i\'m looking for a way to open websockets and share variables between[详细]
2023-04-06 21:26 分类:问答Moving document between collections in Mongo (via Mongoid)
I\'m building a card game (basic 52 card deck of playing cards 4 suits * 13 ranks), and I\'ve decided on MongoDB for this project.[详细]
2023-04-06 03:13 分类:问答Multiple apps in Ruby Padrino: How to name models?
I have a Padrino project, that consists of multiple apps. For example: Website (Models: Site, Page) Blog (Models: Post, Comment)[详细]
2023-04-04 12:04 分类:问答Why does "heroku console" with Padrino give useless error messages?
When using heroku console, I always get \"Internal server error\" when an exception is raised rather than a stacktrace as I would expect.[详细]
2023-04-03 13:17 分类:问答Authentication and authorization solution for Padrino
I have been programming with both Sinatra and Padrino for quite some time now. However, I am still not able to find the right authentication and authorization solution for Padrino. Let me explain my e[详细]
2023-04-02 22:23 分类:问答Which version of Padrino runs fine in Ruby 1.8.6?
Padrino 0.10 gem installed activesupprt 3.0.9 which requires ruby >= 1.8.7. I am Working on Ruby 1.8.6 can any one suggest me which version of Padrino works开发者_开发技巧 fine with Ruby 1.8.6 ?[详细]
2023-04-01 14:08 分类:问答"Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser."
Take a look at the code on GitHub. What\'s happening is I try to create a Schedule (one of the models) and it is suddenly failing to do anything. Using the built-in Padrino server, it is not outputti[详细]
2023-03-30 12:04 分类:问答