ruby-on-rails-plugins
Spork, RSpec and database_cleaner destroying development database
I have the following spec_helper.rb file in my Rails 3.1 application.I am using Spork to load the environment faster for testing.All my tests worked prior to adding Spork to the mix.After a开发者_Stac[详细]
2023-04-10 02:22 分类:问答How do I use railties to install files other than migrations (for e.g. config files)
I\'m using Rails 3.1 and I am able to use rail开发者_运维技巧ties to install migrations (by doing rake railties:install:migrations FROM=plugin_name). However, I have a couple of config files (.yml, et[详细]
2023-04-08 19:29 分类:问答Rails 3.1.0, geokit, with error acts_as_mappable
I am getting the undefined local variable or method `acts_as_mappable\' error when using geokit, and after tons of Goggling and attempts, I cannot seem to be able correct the problem.[详细]
2023-04-08 15:39 分类:问答Seeding database from engine root fails to locate db/seeds.rb
After creating a new Rails 3.1 gem plugin via: rails plugin new core --full I am trying to seed the database with:[详细]
2023-04-07 18:11 分类:问答DataMapper model in a rails mountable engine?
I\'m building a mountable engine. From a basic install, I\'开发者_如何学运维ve moved my existing application into the engine namespace.[详细]
2023-04-06 13:11 分类:问答how do I write a scaffold in rails?
I want to write a rails gem that can scaffold a working prototype of the basic functionality of the gem and I was wondering if anyone can explain the process. I know this is a broad topic but I\'m hop[详细]
2023-04-06 13:07 分类:问答How can I achieve a functionality similar to "auto-insertion of timestamps"
I have a couple o开发者_如何学JAVAf fields created_by and updated_by in most of my tables. This would contain the user id of the user who created or updated the Object. is it possible to have a simila[详细]
2023-04-06 01:04 分类:问答Railtie Initializer not running in plugin
I recently switched from the gem version of resources_controller to a plugin as the gem version relied on git.[详细]
2023-04-05 03:06 分类:问答How do I easily set devise in ruby on rails 3 to email forgotten password information?
Is there a quick way to do this? I\'ve never used mail in rails before. Isn\'t this all set up in devise leaving me a small modification to make to make it work?[详细]
2023-04-04 17:25 分类:问答Hypertable migration causing problem with rails 2.3.8
I am using Hypertable db with the front end of HyperRecord. There were some bugs that i fixed in it. But now migrations get stuck me. When ever i do migrate it shows the error:[详细]
2023-04-03 14:31 分类:问答