emberjs / website

Source for emberjs.com
https://emberjs.com
Other
647 stars 1.33k forks source link

rails-tutorial Editing #71

Closed jwo closed 11 years ago

jwo commented 12 years ago

I really like the flow of the rails-tutorial; I think it might be missing a couple of steps in getting the initial view to the homepage.

This section on loading the app is either missing some code, or I have done something wrong

  Photoblog.photosView = Ember.ContainerView.create({
    currentViewBinding: 'Photoblog.stateManager.currentState.view'
  });
  Photoblog.photosView.append();

If you can link me to the rails app repo that implements the guide, I'll help edit the tutorial... It could be beneficial to have a new ember dev go through the tutorial to see it work and test any rough spots.

cc/ @patr1ck @tomdale

wagenet commented 12 years ago

I'm not sure if the tutorial is done yet. But this is still useful feedback either way.

tomdale commented 12 years ago

Yep, the guide is still a work-in-progress which is why it hasn't been published yet.

On Mon, May 21, 2012 at 8:20 AM, Peter Wagenet < reply@reply.github.com

wrote:

I'm not sure if the tutorial is done yet. But this is still useful feedback either way.


Reply to this email directly or view it on GitHub: https://github.com/emberjs/website/issues/71#issuecomment-5825267

jwo commented 12 years ago

Right on -- I know it's WIP and was pulled from the Internet.... But if you'd like some help, I'm offering... and I would like to see the Rails app source this tutorial creates to learn on my own.

No worries if not.

tomdale commented 12 years ago

The Rails app only exists as a "build artifact" of following this guide. ;) Unless @patr1ck knows something I don't.

On Mon, May 21, 2012 at 9:22 AM, Jesse Wolgamott < reply@reply.github.com

wrote:

Right on -- I know it's WIP and was pulled from the Internet.... But if you'd like some help, I'm offering... and I would like to see the Rails app source this tutorial creates to learn on my own.

No worries if not.


Reply to this email directly or view it on GitHub: https://github.com/emberjs/website/issues/71#issuecomment-5826874

camol commented 11 years ago

Did anyone manage to go through this step mentioned in the first post? The whole Rails backend of the app works fine (new photos appear in DB after manual reuquests) but reloading the page does nothing, it looks like sth is wrong with the stateManager and the indexView for photos but I can't figure it out.

wagenet commented 11 years ago

@tomdale Do we have a Rails guide anymore? If not, is one planned?

tomdale commented 11 years ago

Nothing planned at the moment. Would love it though if someone wanted to write a guide on using Ember.js with Rails on their personal blog. If it is well-written and well-received, we can consider merging it into the official docs.