|
|
| Author |
Message |
|
| ketralnis |
Posted: Sat Dec 22, 2007 6:27 pm |
|
|
|
User
Joined: 20 Jul 2007
Posts: 151
Location: San Francisco, CA
|
> So I am pissed at Rails...why?
> [...]
> My Rails migration which creates the "users" table has a very clear
> constraint that the email field is unique. I expect the MySQL table to
> be created with the correct constraint. Dumb me, I didn't test my
> assumption.
I'm not telling you not to use erlyweb, but that's probably a MySQL
issue, and will probably do the same thing under erlyweb/mysql. <http://dreams.a-wake.net/?p=137
> "MySQL even up to its 5.0 version does not support CHECK
CONSTRAINTS". Using Postgres under erlyweb *or* Rails will fix that
particular problem.
> I talk to many very smart and experienced developers using Rails. We
> all commiserate on the same issues. This leads me to believe that its
> not that I'm using Rails wrong or just don't get it. Its that I do
> get it and I simply don't like it.
Fair enough
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| ketralnis |
Posted: Sat Dec 22, 2007 7:56 pm |
|
|
|
User
Joined: 20 Jul 2007
Posts: 151
Location: San Francisco, CA
|
|
| Back to top |
|
| dmitriid |
Posted: Mon Dec 24, 2007 12:56 pm |
|
|
|
User
Joined: 17 Aug 2006
Posts: 213
|
Roberto Saccon wrote: Quote: On Dec 22, 8:22 am, "Dmitrii 'Mamut' Dimandt" <dmitr...@gmail.com> (dmitr...@gmail.com) wrote: [/code] Quote: David King wrote: [/code] Quote: Quote: I don't know what the status is on ErlyWeb 0.7, but I would really really really love to see a config directory (a la Rails') where all the necessary site configuration could be placed (database connectivity, environment, production/testing/debug, routes - oh I'd love a routes configuration) [/code] Quote: I've moved all of my configuration into a myapp.app file, and then I start yaws in embedded mode with this information so that I don't need a yaws.conf or any other configuration files. It simplifies starting and changing configuration, and then everything is in one file. [/code] embedded mode might no be suitable for production environment [/code] why not ? What if it was called "power mode" ? Unless you have just a minimal setup or you like to hack yaws, you have to run in embedded mode or how else do you run other OTP servers withing the same VM ? [/code] I might've misunderstood what embedded mode means
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|