-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When I do
rspec spec
in my rails project, I get
No examples were matched. Perhaps {:if=>#<Proc:0x0000010126e998@/Users/samliu/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.3.1/lib/rspec/core/configuration.rb:50 (lambda)>, :unless=>#<Proc:0x0000010126e970@/Users/samliu/.rvm/gems/ruby-1…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
when i am trying to get the basic devise examples running with current git versions from rails, mongomapper and devise, i have the following error appearing:
undefined method `to_key' for #<Admin:0x23dee04>
here is my actual source:
4: = form_for @admin, :url => admins_path do |f|
5:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
is there a full setup guide for mongo_mapper, haml, rails3 and devise, for the current git (master) branches? a lot of things changed in all of those frameworks/libs lately. i was wondering if somebody has it up and running and can share it on github or give some pointers...
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've been fighting left and right with rails 3 and bundler. There are a few gems out there that don't work properly if the rails application hasn't been loaded yet. factory_girl and shoulda are both examples, even on the rails3 branch.
Taking shoulda as an example, when trying to run rake test:units…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Guys,
Here my issuse:
I've got two models:
class User < ActiveRecord::Base
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :username
has_many :tasks
end
class Task < ActiveRecord::Base
belongs_to :user
end
with this simple routes.rb file
TestProj::Application…
>>> More