[...] This post was mentioned on Twitter by Ruby on rails Guru and RubyOnRails Ireland, Ruby on Rails UK. Ruby on Rails UK said: Ruby on Rails demo application presentation is picked by … http://bit.ly/92JQdX [...]
Thanks for your presentation. I was facing a problem a few days back. I need initial value at database but the production was deployed using brightbox gem at brightbox hosting, so schema is generated there only. As my controller needed authorization, i couldnted populated initial users where the passwords are encrypted too. So what’s are the right way to populate the database with initial users?
hi,
let me rephrase your question, you were trying to import data to your production database right ?
since i haven’t tried brightbox so i won’t have that specific context of yours.
usually we import data through mysqldump and mysql import, we take dump from one server and import it to other server.
i didn’t get ur last portion, u were saying u password doesn’t work, as long as ur hashing salt is same on both machines there shouldn’t have any problem with password.
[...] This post was mentioned on Twitter by Ruby on rails Guru and RubyOnRails Ireland, Ruby on Rails UK. Ruby on Rails UK said: Ruby on Rails demo application presentation is picked by … http://bit.ly/92JQdX [...]
Tweets that mention Ruby on Rails demo application presentation is picked by slideshare’s editor « hasan's blog (বল্গ) -- Topsy.com
January 25, 2010 at 12:36 am
Thanks for your presentation. I was facing a problem a few days back. I need initial value at database but the production was deployed using brightbox gem at brightbox hosting, so schema is generated there only. As my controller needed authorization, i couldnted populated initial users where the passwords are encrypted too. So what’s are the right way to populate the database with initial users?
Thanks
kodegeek
January 26, 2010 at 5:35 am
hi,
let me rephrase your question, you were trying to import data to your production database right ?
since i haven’t tried brightbox so i won’t have that specific context of yours.
usually we import data through mysqldump and mysql import, we take dump from one server and import it to other server.
i didn’t get ur last portion, u were saying u password doesn’t work, as long as ur hashing salt is same on both machines there shouldn’t have any problem with password.
best wishes,
nhm tanveer hossain khan (hasan)
January 26, 2010 at 7:46 am