Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backbone.js & Rails #6

Open
jcap49 opened this issue Mar 4, 2014 · 7 comments
Open

Backbone.js & Rails #6

jcap49 opened this issue Mar 4, 2014 · 7 comments

Comments

@jcap49
Copy link
Collaborator

jcap49 commented Mar 4, 2014

Tools

Handlebars
Backbone.js & Rails

Miscellaneous

We need to figure out how tight this integration between Rails & Backbone is going to be. Typically, Backbone handles all view rendering and most data transformations that are then sent via ajax to the Rails controllers that function more as APIs that serve data and less as heavy manipulators of data.

I'd like to hear from the guys working on the front-end (@deoates @zachferland @ryanlyma) as to how you're thinking about the Backbone component of the app and how we should start thinking about the two frameworks in tandem.

@jcap49
Copy link
Collaborator Author

jcap49 commented Mar 4, 2014

Also worth noting that whenever you pull the database.yml file down to your local machine, you'll have to change the host name to whatever role is defined on your computer for a Postgres user. I haven't been able to figure out why it can't be chucked in the .gitignore...

Here's a post but I'm not entirely sure I want to go through the effort...

@arjunblj
Copy link
Collaborator

arjunblj commented Mar 4, 2014

It's not removing it when you throw it in the .gitignore because you
already put the file under version control (you can't go back ad ignore it
now). I'm removing the file and I'll push it out -- try pulling again. :)

On Tue, Mar 4, 2014 at 3:26 PM, John Capecelatro
notifications@github.comwrote:

Also worth noting that whenever you pull the database.yml file down to
your local machine, you'll have to change the host name to whatever role is
defined on your computer for a Postgres user. I haven't been able to figure
out why it can't be chucked in the .gitignore...

Here's a posthttp://stackoverflow.com/questions/1449836/how-to-manage-rails-database-ymlbut I'm not entirely sure I want to go through the effort...

Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-36669959
.

Arjun Balaji
@arjunblj http://twitter.com/arjunblj
(978) 761-8325

@arjunblj
Copy link
Collaborator

arjunblj commented Mar 4, 2014

Just pushed -- feel free to create your own database.yml file now (on your
local machine), now that the .gitignore has it, it won't fuck with everyone
else's copy of the project.

On Tue, Mar 4, 2014 at 3:29 PM, Arjun Balaji arjunblj@gmail.com wrote:

It's not removing it when you throw it in the .gitignore because you
already put the file under version control (you can't go back ad ignore it
now). I'm removing the file and I'll push it out -- try pulling again. :)

On Tue, Mar 4, 2014 at 3:26 PM, John Capecelatro <notifications@github.com

wrote:

Also worth noting that whenever you pull the database.yml file down to
your local machine, you'll have to change the host name to whatever role is
defined on your computer for a Postgres user. I haven't been able to figure
out why it can't be chucked in the .gitignore...

Here's a posthttp://stackoverflow.com/questions/1449836/how-to-manage-rails-database-ymlbut I'm not entirely sure I want to go through the effort...

Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-36669959
.

Arjun Balaji
@arjunblj http://twitter.com/arjunblj
(978) 761-8325

Arjun Balaji
@arjunblj http://twitter.com/arjunblj
(978) 761-8325

@jcap49
Copy link
Collaborator Author

jcap49 commented Mar 4, 2014

ah word. i pulled and now there's no database.yml.

On Tue, Mar 4, 2014 at 3:30 PM, Arjun Balaji notifications@github.comwrote:

It's not removing it when you throw it in the .gitignore because you
already put the file under version control (you can't go back ad ignore it
now). I'm removing the file and I'll push it out -- try pulling again. :)

On Tue, Mar 4, 2014 at 3:26 PM, John Capecelatro
notifications@github.comwrote:

Also worth noting that whenever you pull the database.yml file down to
your local machine, you'll have to change the host name to whatever role
is
defined on your computer for a Postgres user. I haven't been able to
figure
out why it can't be chucked in the .gitignore...

Here's a post<
http://stackoverflow.com/questions/1449836/how-to-manage-rails-database-yml>but
I'm not entirely sure I want to go through the effort...

Reply to this email directly or view it on GitHub<
https://github.com/jcap49/coinery/issues/6#issuecomment-36669959>
.

Arjun Balaji
@arjunblj http://twitter.com/arjunblj
(978) 761-8325

Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-36670332
.

John Capecelatro
315-749-8433
@jcap49 http://www.twitter.com/jcap49
www.johncapecelatro.com

@jcap49
Copy link
Collaborator Author

jcap49 commented Mar 4, 2014

ah gotcha ok

On Tue, Mar 4, 2014 at 3:32 PM, Arjun Balaji notifications@github.comwrote:

Just pushed -- feel free to create your own database.yml file now (on your
local machine), now that the .gitignore has it, it won't fuck with everyone
else's copy of the project.

On Tue, Mar 4, 2014 at 3:29 PM, Arjun Balaji arjunblj@gmail.com wrote:

It's not removing it when you throw it in the .gitignore because you
already put the file under version control (you can't go back ad ignore
it
now). I'm removing the file and I'll push it out -- try pulling again. :)

On Tue, Mar 4, 2014 at 3:26 PM, John Capecelatro <
notifications@github.com

wrote:

Also worth noting that whenever you pull the database.yml file down to
your local machine, you'll have to change the host name to whatever
role is
defined on your computer for a Postgres user. I haven't been able to
figure
out why it can't be chucked in the .gitignore...

Here's a post<
http://stackoverflow.com/questions/1449836/how-to-manage-rails-database-yml>but
I'm not entirely sure I want to go through the effort...

Reply to this email directly or view it on GitHub<
https://github.com/jcap49/coinery/issues/6#issuecomment-36669959>
.

Arjun Balaji
@arjunblj http://twitter.com/arjunblj
(978) 761-8325

Arjun Balaji
@arjunblj http://twitter.com/arjunblj
(978) 761-8325

Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-36670541
.

John Capecelatro
315-749-8433
@jcap49 http://www.twitter.com/jcap49
www.johncapecelatro.com

@jcap49
Copy link
Collaborator Author

jcap49 commented Mar 4, 2014

for reference. we'll really only need one for dev (prod will be on heroku).
unless of course we're going to write tests for this baby

On Tue, Mar 4, 2014 at 3:32 PM, John Capecelatro jcapecelatro@gmail.comwrote:

ah gotcha ok

On Tue, Mar 4, 2014 at 3:32 PM, Arjun Balaji notifications@github.comwrote:

Just pushed -- feel free to create your own database.yml file now (on your
local machine), now that the .gitignore has it, it won't fuck with
everyone
else's copy of the project.

On Tue, Mar 4, 2014 at 3:29 PM, Arjun Balaji arjunblj@gmail.com wrote:

It's not removing it when you throw it in the .gitignore because you
already put the file under version control (you can't go back ad ignore
it
now). I'm removing the file and I'll push it out -- try pulling again.
:)

On Tue, Mar 4, 2014 at 3:26 PM, John Capecelatro <
notifications@github.com

wrote:

Also worth noting that whenever you pull the database.yml file down to
your local machine, you'll have to change the host name to whatever
role is
defined on your computer for a Postgres user. I haven't been able to
figure
out why it can't be chucked in the .gitignore...

Here's a post<
http://stackoverflow.com/questions/1449836/how-to-manage-rails-database-yml>but
I'm not entirely sure I want to go through the effort...

Reply to this email directly or view it on GitHub<
https://github.com/jcap49/coinery/issues/6#issuecomment-36669959>
.

Arjun Balaji
@arjunblj http://twitter.com/arjunblj
(978) 761-8325

Arjun Balaji
@arjunblj http://twitter.com/arjunblj
(978) 761-8325

Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-36670541
.

John Capecelatro
315-749-8433
@jcap49 http://www.twitter.com/jcap49
www.johncapecelatro.com

John Capecelatro
315-749-8433
@jcap49 http://www.twitter.com/jcap49
www.johncapecelatro.com

@deoates
Copy link
Collaborator

deoates commented Mar 5, 2014

I typed up some notes on the backbone app org in the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants