ruby-on-rails-plugins
How to change search order for render a partial in plugin/engine in rails3?
I\'m writing a modular project in Rails3, and I\'ve this issue. I\'ve my main project, and I want to implement part of it with differentes customizations, so I\'m using Engine, so I\'ve:[详细]
2023-03-10 06:39 分类:问答How to have rails to store time in int format for created_at field automatically
I use rails for version 2.3.5, when i update or save a record, the created_at and updated_at fields can be filled in automatically in the format like \'2011-05-17 23:54:53\', however i want to store t[详细]
2023-03-09 02:28 分类:问答Vote_Fu Rails 3 plugin "uninitialized constant Juixe"
I\'ve recently tried to use the Vote_fu plugin to do some simple voting on my rails site.I was following this guide https://github.com/vshvedov/vote_fu_rails_3[详细]
2023-03-08 10:33 分类:问答Saved user id in Posts model, how do I render that user?
When a user makes a post on a profile, the profile owner\'s user ID is saved as an integer in :poster (in the Post model). How do I find and render that user/user\'s information?[详细]
2023-03-07 18:34 分类:问答Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a params on submit
I am trying to implement a feature in my app where a user posts a message along with an image. This is something similar to what is there in www.diasp.org .[详细]
2023-03-07 01:26 分类:问答Kindly suggest appropriate Attachment plugin/gem for use with Rails 2.0.2 and Ruby 1.8.7
I am trying to attach files in my RoR app. I am using Rails 2.0.2 and Ruby 1.8.7 for project specific purposes. I am using Ubuntu 10.04 OS.[详细]
2023-03-06 14:40 分类:问答Rails 3: how to test models that use an acts_as-style plugin?
I\'ve written a very simple plugin (following the Rails guide) that adds a has_sex method to ActiveRecord::Base, which, when called, adds a few instance methods (for getting appropriate pronouns and s[详细]
2023-03-06 13:21 分类:问答Trouble getting Rails 3 to work with MySQL
Brand new at Rails. I had a simple Rails 3 app on OS X 10.6 going, using the default sqlite3 database.[详细]
2023-03-06 04:47 分类:问答Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
I am trying to use the paperclip plugin in my rails app to upload images for posts. I am using Rails 2.0.2 and ruby 1.8.7 on Ubuntu 10.04 os for project specific purposes.[详细]
2023-03-06 02:59 分类:问答What's the proper way to mock Rails 3 routes and controllers in a plugin test?
I have an old pre-Rails 3 plugin whose tests will no longer run under Rails 3. The test looks something like this:[详细]
2023-03-05 01:25 分类:问答