Displaying 11 results from an estimated 11 matches for "sepic".
Did you mean:
epic
2006 Mar 14
5
Dreamhost and fcgi....help!
I''ve got my app running under cgi, but I keep getting pwned by fcgi.
- app is installed at www.mydomain.com
- web root is www.mydomain.com/public (this works w/ regular cgi)
- /public has correct permissions
- .htaccess: rewrite rule changed to use .fcgi
- shebang on dispatch.fcgi and dispatch.rb is set to #!/usr/bin/ruby1.8
(also tried just ruby)
-environment.rb : running in prod
Any
2006 Mar 23
3
RJS plugin and rails 1.1
Currently I''m using the RJS plugin for my app. After I upgrade to the
soon-to-be-released 1.1 (which has RJS support built in), will anything
break after removing the plugin? Has anyone messed with the release
candidate and RJS yet?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 15
4
form inputs resetting on sumbit
I searched for forum for something about this but couldn''t find
anything.
For example I have this in my view: (you enter start/end dates from
dropdowns, pick a category and a report is generated.)
<%= start_form_tag :action => ''display_report'' %>
From: <%= date_select ''report'', ''date1'' %> <br />
To: <%=
2006 Mar 05
5
special characters?
I''m not sure if this is something in Rails or MySQL, but characters like
? are showing up funky in my app. I see ''?'' in the DB using a query
browser, but in the app it shows up as ''A1/4.'' Do I need to use another
charset or something?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 08
2
sorting issue
I''ve got the following setup:
category (hm) <-> (bt) activity
An activity has an amount, date, location, note, and category. I''m
sorting my activities table by category_id (foreign key in activity),
but how do I sort it by category_name instead? Basically I just need
category_name in the result set. Here''s what I have now:
@all = Activity.find(:all, :order
2006 Jan 08
2
sorting tables by columns
What I''m trying to do is have clickable column headers that will sort
the table by that column. What I have below works, except there is only
one variable storing the sort direction for all the columns, whereas I
need a separate one for each column name.
list view:
<th><%= link_to ''Category'', :action => ''list'', :order =>
2006 Mar 14
2
ActionMailer not working correctly
Anyone know why this wouldn''t work? I''m using acts_as_authenticated for
my login, and the mail is not getting sent. I''m using dreamhost. Here''s
my settings:
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => "mail.mydomain.com",
:port => 25,
:domain => ''mydomain.com'',
2006 Feb 25
1
extending a class
I''m trying to add this to my project:
class String
def escape_quotes
self.gsub(/["'']/) { |m| "\\#{m}" }
end
end
I tried putting it in application_helper.rb, but it''s not getting found.
Where does it need to go?
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2008 Mar 12
2
Whence "post" in a description?
I''m having the exact problem described in this earlier post:
http://www.nabble.com/Odd-response.body-behavior-to12837556.html#a12837556
That is, after a post, response.body is just the controller/view string
("user/login" in my case).
Failing to find any answer on the web, I''m trying to trace execution, but
hitting a bit of a snag. I''m tracing the ancestry
2006 Feb 24
0
observe_field and onkeypress
For the :frequency param in the docs, it says:
The frequency (in seconds) at which changes to this field will be
detected. Not setting this option at all or to a value equal to or less
than zero will use event based observation instead of time based
observation.
I''d like my field to make an ajax call for the onkeypress event, rather
than every 1 second or so. I thought it might do
2008 Apr 15
2
environment.rb uninitialized constant when starting console
I have the following code in environment.rb:
require File.join(File.dirname(__FILE__), ''boot'')
raw_config = File.read(RAILS_ROOT + "/config/config.yml")
APP_CONFIG = YAML.load(raw_config)[RAILS_ENV]
This works fine when running the server, but if I try and start a
console I get:
Loading development environment.