[Rails] Re: Automatically get a list of controller names

2009-02-27 Thread jasoo24
I would recommend that you hard-code that list and also include controller names you may use in the future and reserved or restricted words. On Feb 26, 5:49 pm, Ramon Tayag ramon.ta...@gmail.com wrote: Okay, just a follow up question: is there an automatic way to make an array of all

[Rails] Re: How to use Time type in rails

2009-01-23 Thread jasoo24
Do created_at and updated_at (via t.timestamps) get set properly? I think you could try using t.timestamp (not plural) instead of t.time. Or, instead of using sexy migrations, you could try doing it the old way: t.column :my_time_column, :datetime Hope this helps, Jason Arora On Jan 21, 11:01 

[Rails] Re: Problem with Hello World Program

2009-01-23 Thread jasoo24
The default database for Rails apps was changed from Mysql to Sqlite. Thankfully, it's quite easy to switch your DB: If you are starting a Rails project from scratch, run your rails command like so: rails -d mysql myapp If you want to switch an exisiting project from Sqlite to Mysql: set

[Rails] Re: Rails Hosting

2009-01-09 Thread jasoo24
For your needs, I would also have to recommend Dreamhost. You can deploy production-ready apps through Capistrano and it is a great and inexpensive Rails sandbox. HOWEVER, Dreamhost is slow to a crawl. It's actually unacceptably slow for any webapp trying to make money.. I'd venture to guess

[Rails] Re: When to use #show action in RESTful application

2008-12-19 Thread jasoo24
For my admin pages, I always use the edit action instead of show. It cuts down on the amount of work and I find it more useful that way. Hey Ryan, do you have any live rboards up on the web? I'd love to see it in action... On Dec 17, 7:22 pm, Patrick Doyle wpds...@gmail.com wrote: I am curious

[Rails] Re: When to use #show action in RESTful application

2008-12-19 Thread jasoo24
Very cool. Thank you, I will watch for updates! On Dec 19, 6:17 pm, Ryan Bigg radarliste...@gmail.com wrote: Rboard can be found athttp://gitpilot.co - Ryan Bigg Freelancerhttp://frozenplague.net On 20/12/2008, at 11:40 AM, jasoo24 wrote: For my admin pages, I always use the edit

[Rails] Re: rails 2.1.2 to rails 2.2.2 now I get mysql issues

2008-12-05 Thread jasoo24
I noticed that you've already managed to resolve the issue, but I also had a similar problem upgrading to 2.2.2 and found a quick work- around. Here is my solution in case others need help (if this doesn't work, try Jason Smith's method). If you are having problems with MySQL, getting