-
I cannot figure out what is causing this TypeError. I have another rails app on Rails 4.0.3 where it works, and this Rails 4.1.5 app does not work.
``` Ruby
class ImagesController < ApplicationContro…
-
I have some problems using Ruby 2.0.0-p353, Rails 4.0.0 and Comfortable Mexican Sofa while uploading files to the CMS page. I got Paperclip::Errors::MissingRequiredValidatorError
Part of backtrace
`…
-
I tried to running this line
`bundle exec rake spec`
I got the following erros produced from screen.
Failures:
```
1) Refinery::Blog::Post when no blog posts new blog post form create blog post sh…
-
Similar to #983 (inspired by discussion in #1037), we should ask for confirmation when deactivating equipment models that have either currently checked-out or future reservations within the next [week…
-
After upgrading from Rails 3.2.x to 4.1.6 i am getting this error.
`NoMethodError (undefined method `[]' for nil:NilClass)`
Using newest protected_attributes (1.0.8) on a tableless model with active…
-
We're seeing the following on our CI Service (Semaphore) on a branch that attempts to upgrade our application to Doorkeeper 2.0 on our step that creates the database and migrates:
```
/home/runner/.r…
-
(this may be an issue with the protected_attributes gem, I'm not sure)
protected_attributes version 1.0.8
activerecord version 4.2.0
I have a model:
```
class AudioEvent < ActiveRecord::Base
....
…
-
Will implement:
**redis** (versions >= 2.6) (pull request: #905 **merged**)
- http://redis.io/topics/protocol
- https://github.com/nrk/predis/blob/v0.7/lib/Predis/Network/StreamConnection.php#L70
- h…
-
In #11, we talked about creating hard-coded associations that return ActiveType objects. This approach works in situations where you know the expected type ahead of time.
The downside of this appr…
andyl updated
10 years ago
-
Code looks basically like this:
``` ruby
class BidTemplate < ActiveRecord::Base
end
class Vendor < ActiveRecord::Base
has_and_belongs_to_many :bid_interests, class_name: 'BidTemplate'
end
```
It f…