emberjs/ember.js — Issue #497: {{#each}} attribute binding bug
Author: etabard
Created: 2012-02-13 22:16:28+00:00
State: open

I tried to display an array of pictures with each.
The src binding fails and the this.get('src') returns a "String object".

Here is my code :

```javascript
App = Ember.Application.create();

Em.Image = SC.View.extend({
tagName: 'img',
attributeBindings: ['src', 'alt'],
didChangeSrc: function() {
console.log(this.get('src'));
}.observes('src')

})
App.test = ['http://laughingsquid.com/wp-content/uploads/fsm-google-doodle.png', 'http://www.google.com/intl/en_ALL/images/logos/images_logo_lg.gif'];
```

```javascript

```
​
Exemple here : http://jsfiddle.net/Raildecom/8Rs5c/

Works outside of each : http://jsfiddle.net/justinbrown/8Rs5c/2/