Displaying 20 results from an estimated 600 matches similar to: "Configuring rails app on web server"
2006 Apr 02
2
Problem with edge rails
Hello,
When I am trying to run rake migration tasks, I get the error as shown
below. I am using ruby 1.8.4 and edge rails.
What am I missing or doing wrong?
C:\rails\temp1>rake db:migrate
(in C:/rails/temp1)
rake aborted!
no such file to load -- rails_version
Thanks for your help.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at:
2006 Jun 09
2
Textile editor
Hello,
Is there any editor for textile?
Something which has buttons, and will auto insert textile code for marking
user inputs. (If possible displays a preview also.)
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| Great wits are sure to madness near allied,
| And thin partitions do their bounds
2006 Apr 25
0
function parsing different sql options
Hello,
Is there any function which will parse different sql options and add them to
a sql query?
I found this `add_limit_offset!'' function, but it is an instance method and I am
not able to use it as a class method. Is there any workaround which will let
me use it a class method, or is there some other alternate function?
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com,
2006 Jun 19
2
Autocompleter enhancement feature request
Hello,
I have created a ticket for an enhancement of the autocompleter to show the
options immediately when the field gets focus. Right now at least one
character must be typed for autocomplete to kick in.
http://dev.rubyonrails.org/ticket/5435
I have also made some code changes directly in the script
Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2006 Mar 07
0
Extend user table/create new table, best practice?
Hello,
I am new to arena of web development and am using the user engine.
I want to store few more details about the user, so should I extend the user
table provided by the user engine and add columns to it, or should I create a
new table.
I would like to know the best practice in this regard, and opinions of other
web developers.
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com,
2006 Mar 08
2
RJS - page object in helpers?
Hello,
I am using RJS and Edge Rails and I was wondering if the page object should
be available in helpers also.
For example if I have a helper function
def update_flash_messages
page.replace_html ''flash_messages'', (show_flash_messages :textilize => true)
page.visual_effect ''flash_messages'', :appear
end
and then in my RJS files I call
2006 Feb 28
1
Cache Magic field for totaling
Hello,
Rails provide counter cache field for associations, I want a similar cache
for totaling up values
(say account_balance = sum_of_deposits - sum_of_withdrawals).
I was wondering if rails, already has another surprise in store for me, or is
there any plug-in or how-to for doing these kind of things.
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read the
2006 Jul 20
1
Model CRUD via web services
Hello,
I was wondering if there was any automated (may be scaffolding) way of
exposing Model CRUD via web services.
I found this ticket for django, but nothing for Rails.
http://code.djangoproject.com/ticket/115
Thanks in advance for your opinions and suggestions.
Regards.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at:
2006 May 04
1
Switching to production mode
Hello,
I want to start my rails application in production mode. But for some reason
in spite of uncommenting this line in ''config/environment.rb''
ENV[''RAILS_ENV''] ||= ''production''
when I run ''ruby script\console'' it says loading development mode.
Also, the webrick sends log messages to development.log file instead of
2006 Mar 13
3
"./blah/blah" vs. "/blah/blah"
Hello,
Earlier in my rails application, I was using the convention of writing the
following to refer to templates and/or views in the view folder.
"./blah/blah"
But in the Edge rail, it doesn''t work and the page doesn''t shows any output
there is no error in the development log as well. But changing the above to
"/blah/blah" seems to fix things.
Was I
2006 May 18
5
acts_as_classifiable plugin
Hello,
I am pleased to announce the availability of the plugin acts_as_classifier
which allows using the ''classifier'' gem in a Rails application.
This plugin can be downloaded from
http://opensvn.csie.org/sksinghi/acts_as_classifiable/
This plugin is useful in scenarios where you want to distinguish between spam
or non-spam comments, Or maybe you want to track the
2006 Apr 02
2
rails db indexing and through association
Hello,
Say, I have a pictures table, and there are many objects which can have
pictures, so I define a picturable type. Now, to make the query for pictures
more efficient I should index the picture table using both picturable_type and
picturable_id.
Is this the correct approach to indexing the table, or can things be done
better? I want the database retrieval operation to be extremely fast (I
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious
about how Ruby Web Dev was done prior to rails. Any veterans want to
share their insights?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 Aug 14
0
automatic survey forms
Hi,
I am writing a Rails application, where the user will submit some questions
and using those, an automatic survey form should be created.
Is there any Rails plugin/engine or application which does that, or can help
in this regard.
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| "All animals are
2006 Nov 04
0
Rails talk to gmane
Hi,
Can one of the Rails talk moderator subscribe
http://groups.google.com/group/rubyonrails-talk
to gmane. Because it seems message posted via gmane are showing up, but not
the other way round.
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| "O thou my friend! The prosperity of Crime is like
2006 Jul 13
0
webservices and date time error - part 2
Hello,
When I am trying to receive an array of objects, retrieved by
ActiveRecord from table with datetime column, while using using
ActionWebServices I get the error:
ArgumentError: 3 elements of civil date are necessary
Daniel Berger, posted that this might be fixed by changing the timezone format
in the Windows registry.
2006 Apr 28
0
rake tasks on test environment
Hello,
How do I change the environment for rake tasks on command line. For example,
if I want to do ''rake bootstrap'' on the test database. How will I do it from
command line?
I don''t want to make changes to the environmehnt.rb file.
thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
2006 Jun 15
2
AJAX form inside table - error
Hello,
I need to put an AJAX, form such that it is inside a table, and spans across
few rows.
But, what I am noticing is that, while submitting the form, the data in the
fields is not submitted.
If I move the form outside the table or inside a cell, things work OK, but not
when the form is inside the table and spans few rows. This problem is only
with AJAX forms, regular forms work perfect. I
2006 Mar 13
1
adding custom cache field
Hello,
I needed to add custom cache field for one of my application. I thought I
will share the code showing how to do this.
This code below creates and maintain a custom cache field, for keeping track
of totals. Say, you have accounts, and for each account there are transactions
(either deposit/withdrawal), and one will like to keep track of the total
balance for an account.
So, let there be a
2006 Apr 03
5
rails migrations - enhanced usage
Hello,
When I am writing rails migrations, quite often I make mistake in them which
causes the migration tasks to stop halfway with error.
This causes lots of problem, because it results in half of the things in
migrations changed and other half not. Also, as the schema number is changed,
so things cannot be rolled back.
Is there any way to make the entire migration action atomic, i.e.,