Displaying 7 results from an estimated 7 matches for "spmikedev".
2006 Mar 16
4
Apache and virtual hosts
Dear Mongrel users,
I would like to use Mongrel to introduce RoR on an existing Apache/PHP server. The server serves
several domains, set up as virtual hosts.
The idea is to install a Rails application to be used in addition to the existing configuration.
Example:
www.domain1.com/index.php -> Via Apache
www.domain1.com/appname/controller/action -> RoR application
I am at a loss how to do
2006 Mar 29
2
Installing Ruby
I just attempted to install Mongrel on Windows. I''m not going to run it as a service, so I thought
I''d select the ruby flavor (option 1). See error message below.
Q: Is the ruby flavor not supported on Windows? If so, it would be useful to update the website
with this info.
Thanks,
Mike.
K:\rails\apps\helloworld>gem install mongrel
Attempting local installation of
2006 Feb 26
1
Migrations: column option "offset"?
Hi,
On the wiki
http://wiki.rubyonrails.com/rails/pages/UnderstandingMigrations it says:
Valid column options are:
- limit
- offset
- null (i.e. ? :null => false? implies NOT NULL)
- default (to specify default values)
I was wondering what the purpose of the "offset" option is. And after
looking at the API at
2005 Oct 27
2
Fixtures are not loading into instance variables. Why not?
Hi,
I have a fixture in a unit test and I see that the
fixture is loaded correctly into the database table,
but no instance variables are created.
So now I''m stuck.
More background: this is my first RoR project and I
have just installed the SaltedLoginGenerator and
generated its output.
Running the unit tests gives an error, so I cut it
down to just 1 test:
2006 Mar 13
3
Translate to one language: Globalize is overkill?
Hi,
I am developing a Rails application which should be in ONE language (not
English).
Globalize seems overkill for this purpose (do you agree?).
So I''m trying some of the approaches on the wiki. In particular:
http://wiki.rubyonrails.org/rails/pages/OverridingRailsMessagesInAnotherLanguage
This *does* override the month names, but does *not* override the error
messages.
I''m
2006 Feb 25
1
Migrations for initial schema: Where to put initial data?
Hi, I''m trying to get my head around using migrations to define my
initial schema.
When using migrations, I want to:
- Avoid creating a new migration for every small change. Limit it to one
migration per checkin.
- When creating a new (fresh) schema, I do not want to go through the
overhead of all the migrations.
These are the steps I came up with, to create the initial schema:
1.
2006 Mar 06
4
Apache 2.x: Use fcgid or Mongrel?
Hi, There''s lots of stuff going on currently with choices of production
deployment environments. But I''m not clear on a few things as I need to
decide on a production setup where Apache is a given.
A recent thread (http://www.ruby-forum.com/topic/56590) seemed to favor
Apache 2 with mod_fcgid. And this is supported in articles such as: