Displaying 10 results from an estimated 10 matches similar to: "undefined method ''text'' ..."
2010 Apr 26
2
woriking under webrick but not under passenger
Hi!
I have just added login feature to my rails application (followed the
instruction from (Agile Web Development with Rails) but now I am getting
strange errors (looks to me like some kind of routing problem) under the
passenger/apache.
The error is:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
From the log:
2003 Aug 04
6
bugs.digium.com
Is anyone else having trouble accessing it with something besides IE on a
Windows box? Opera on Mac/FreeBSD/Linux just hangs at the login page, IE
on Mac and Netscape on Solaris & Linux explode when loading
login_page.php.
2006 Mar 18
1
user engine redirect configuration help
Hello,
I am using the User Engine in a typical way. When an unathenticated
user attempts to access a protected area of the site it works fine
unless the the controller has been defined in a module. i.e. When I
try and access localhost/admin/roles/list as an unathenticated user I
get redirected to localhost/admin/user/login insted of the correct
location: localhost/user/login.
I''ve
2006 Apr 25
5
Routing and extensions.
I would like my something like "my_page.html" to map to :controller =>
''page'', :action => ''my_page''. How can I accomplish that?
Is there a way to make the routing parse other things other than ''/''?
--
Posted via http://www.ruby-forum.com/.
2007 Dec 06
0
Too many open files leads to timeout exceptions in Mechanize/Net::HTTP?
I''m experiencing an issue where my get/submit calls to the Mechanize
agent are leading to timeout exceptions when the ruby script has too
many open file descriptors ( > 1000). However, I''m not seeing
anything about an overstep violation sent anywhere to syslog, and no
error message sent to stdout. The process has the large amount of
open files because it''s
2006 Apr 18
4
Mixin variables
I''ve created an access control module that I''m including in several
different controllers. Everything works fine, but I want to allow each
controller to override the default login page with something like this:
set_login_pages :secure => ''my_login''
In my module, I''ve set up the set_login_pages method like this:
def self.included(base)
2005 Dec 30
4
AJAX Drag and Drop Detecting Drop Coordinates
This one''s kicking me in the *(&#^. All I want to do is create a draggable
item and then detect the coordinates where it is dropped. So my first
approach was to just use the draggable_element with :revert => false, like
so:
<%= draggable_element "my_element", :revert => false %>
That works great and lets me drag stuff all over the place. In the
scriptaculous
2006 Mar 29
1
Problems with lighty
I''ve been trying to get lighty configured to work with Rails and I''m
having quite a time of it.
I have all of the following installed on a FC4 system:
ruby-1.8.4
gems-0.8.11
rails-1.0
fcgi-2.4.0
ruby-fcgi-0.8.6
lighttpd-1.4.10
Before I tried setting up multiple apps, I just decided to try for a
single app setup. I have the following configuration:
### begin config ###
2006 Jun 02
3
Custom Pagination Links
Hi,
I''m using the code below to display some pagination links. It works
great apart from when there''s no paging i.e. the full collection is
displayed, when it still display a "1" to represent the current page.
How can I suppress that?
Thanks!
<div class="pager">
<%= link_to(''< Prev'', {:params =>
2010 Jan 26
6
Subclassing ActiveRecord::Base
First of all, sorry for the crossposting, but I put this into the Ruby
Forum first of all, but was pointed to this as a more appropriate
location.
I''m using ActiveRecord and ActiveSupport in a non-rails environment
to connect to multiple databases, and I''ve found the following (single
database) to cause me an error. Note that params is my database settings
and omitted for