ruby-on-rails
How to refresh the web page when user select a particular value on dropdown list on rails?
I\'m developing project on rails 2.3.8 and I need to refresh the whole web page when user select particular selection on drop-down menu. How can I do it on rails ?[详细]
2023-04-13 02:32 分类:问答Rails 3 Routes Issue
I am a beginning developer, and I was able to successfully use this tutorial (I\'m in Rails 3): http://www.binarylogic.com/2008/11/16/tutorial-reset-passwords-with-authlogic/ to allow for users to res[详细]
2023-04-13 02:32 分类:问答rails: can't get the attributes from the joined table
When I join two tables (rails 2.2.2), then rails开发者_如何学运维 only returns the values of the attributes from the Model for which the find_by method is applied:[详细]
2023-04-13 02:19 分类:问答Rails: Getting column value from query
Seems like it should be able to look at a simple tutorial or find an aswer with a quick google, but I can\'t...[详细]
2023-04-13 02:16 分类:问答Postgresql Rails issues
I need to convert an app from sqlite to Postgresql in order to use search with thinkingsphinx. I have run the following steps what am I missing?[详细]
2023-04-13 02:00 分类:问答When are compiled assets being cached in rails
When I precompile my assets for a rails 3.1 app with rake assets:precompile it spits out an old cached version if nothing changes in the asset files. I can tell because my erb开发者_开发问答 is making[详细]
2023-04-13 01:59 分类:问答Ruby on rails 3: Matching an array to a database order
I have a page, that has some images on them, but it\'s not always that all the fields are populated. Since I am using an array 开发者_运维技巧to populate each field, it matters that they are in the ri[详细]
2023-04-13 01:54 分类:问答Setting maxlength using database schema settings
Is there a good way to set maxlength on input tags using the corresponding limits from the database schema?I can always check the database lengths for fields, and then hard code the maxlength values,[详细]
2023-04-13 01:47 分类:问答ActionController::RoutingError: No route matches [POST]
require \'test_helper\' class MyTest < ActionController::IntegrationTest test \"view posts from login page\" do[详细]
2023-04-13 01:44 分类:问答When do before_filters in application_controller get called? Strange issue
I have developed a plugin. The plugin has a declaration that can be added to the application controller like so:[详细]
2023-04-13 01:43 分类:问答