ruby-on-rails-3
What plugin\gem do you advice to use in order to add tag functionalities to my web application?
I am using Ruby on Rails 3.1 and I would like to add tag functionalities to my web application. Do you advice to use a plugin\\gem? If so, what plugin\\gem do you advice to us开发者_JS百科e?acts-as-t[详细]
2023-04-12 17:39 分类:问答uninitialized constant Rails::Initializer (NameError)
environment.rb:7: uninitialized constant Rails::Initializer (NameError) from /usr/lib/ruby/gems/1.8/gems/railties-3.1.0/lib/rails/application.rb:78:in `require_environment!\'[详细]
2023-04-12 17:39 分类:问答IE9 + Browser is not submitting the form in IE9, but works fine for IE7, IE8
In my Rails application, when i try to submit a form from 开发者_运维百科IE7 or IE8. It works as expected. But when I try from IE9, it fails.[详细]
2023-04-12 17:30 分类:问答Rails 3: Skip validation for associated model
It seems that in rails 3 (version 3.0.7) validates_associated is enabled by default (and as a result it is deprecated).[详细]
2023-04-12 17:12 分类:问答How to deduplicate an array with substring variations where one substring has precedence over another?
I have a dataset similar to this: http://pastie.org/private/3u1reg72nnjfsgqzgqzwra 开发者_如何学JAVAThe list is a set of filenames that need to be processed.When a filename that has a substring of 10[详细]
2023-04-12 16:34 分类:问答getting error in generator active_admin:resource -> key: '_manager_session'
i want to resolve this error, anyone please, this error is about syntax error in session_store.rb file, at attachment in pastie:[详细]
2023-04-12 15:39 分类:问答How do I ignore entries based on boolean fields using default_scope
Simple question. Currently, for Post model, this is my setup for the default scope default_scope :order => \'posts.created_at ASC\'[详细]
2023-04-12 15:17 分类:问答I have too many versions of Ruby and Rails
I have both ruby and rails installed in: /usr/local/bin/ruby /usr/bin/ruby /usr/local/bin/ruby This开发者_JAVA百科 is causing problems when I try to run certains commands like ruby script/console[详细]
2023-04-12 15:14 分类:问答Rake task to truncate all tables in Rails 3
I would like to have a rake task for truncating all the tables. I have found one on the internet, but it is supposed only for Rails 2 and does not work for Rails 3 (problem is in getting a database co[详细]
2023-04-12 15:13 分类:问答Rails how to create sortable rows?
How do I create a sortable rows with Rails and Jquery. I have added a column named position to my table that I want to have sortable rows.[详细]
2023-04-12 15:06 分类:问答