```ruby
class AnalogInputLog < ActiveRecord::Base
  belongs_to :analog_input
end
```

Make analog input log attributes accessible.
user
```ruby
class AnalogInputLog < ActiveRecord::Base
  belongs_to :analog_input
  attr_accessible :analog_input_id, :value
end
```
assistant