Displaying 20 results from an estimated 4000 matches similar to: "Large Database with lots of tables"
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi,
I''m having difficulty getting ruby running via Lighttpd and fastcgi. My
lighttpd.conf reads:
server.port = 81
server.pid-file = "/tmp/test_lighttpd.pid"
server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi",
"mod_accesslog", "mod_simple_vhost" )
server.document-root = "/tmp/mis/public"
2006 Mar 22
9
render partial from withit mail template
Hi,
I''m trying to include a partial in an email template but it throws me this:
undefined method `controller_path'' for SupportMailer:Class
Extracted source (around line #12):
11:
12: <%= render :partial => ''footer'' %>
I guess email views are a little different from normal ones as they
don''t seem to have a access to a proper controller (?)
2006 Apr 18
7
Connecting to multiple databases
Hi Everyone,
I am trying to connect to multiple databases and followed along the
Recipe in Chad Fowlers ''Rails Recipes'' book (which basically is about
establishing the connection in a subclass of ActiveRecord::Base, and
inheriting all classes in need of this connection from this class)
Chad Fowler says:
"You won''t be able to instantiate an External, of course,
2007 Jan 31
7
GET request works via curl, crashes from Java
[That subject line is of course a severe truncation!]
I''ve got a REST request that works fine from curl but causes a
mongrel error when executed from a Java program. This all worked with
fine with rails 1.1.6 and webrick. I''m trying to update the app to
rails 1.2.1 (I need working around_filters).
I''m running in development mode with mongrel 1.01 running on macosx
2006 Mar 07
13
hosting multiple rails apps in one webroot?
It''s actually REALLY easy with lighttpd on linux.
Two apps...
Myserver.com/code/ => /apps/code/
Myserver.com/test/ +> /apps/test/
Each application needs this in the environment.rb
/apps/code/config/environment.rb
ActionController::AbstractRequest.relative_url_root = "/code"
/apps/test/config/environment.rb
ActionController::AbstractRequest.relative_url_root
2006 Mar 06
11
Capistrano setup fails
I can''t get past the setup step in Capistrano. I know the paths are
correct and I''m using zsh locally (bash on remote), so the shell
shouldn''t be a problem. It never asks for the SSH password, even. Any
help you could give would be greatly appreciated. Thanks.
Kenneth
--
=> the blog from beyond <=
=> www.eyeheartzombies.com <=
2007 Mar 24
3
Patch for superredcloth to enable textile table headers
SuperRedCloth v1.160 and svn rev 163 don''t work the textile commands
that specify table headers instead of table data.
Here''s a simple test:
require ''superredcloth''
w = "|_. a|_. b|_. c|\n|1|2|3|"
h = SuperRedCloth.new(w).to_html
puts h
<table>
<tr>
<td>_. a</td>
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the
instructions from hivelogic. I think I''ve found a bug with
EdgeRails, but I''m not sure how to submit it (and maybe I''m doing
something wrong and someone can just point me in the right
direction). Anyway I thought I''d report it just in case it is a bug.
I''ve downloaded
2007 May 08
2
Extending SuperRedCloth
Fellows of the cloth --
I''m writing code that subclasses RedCloth and emits styled text that
is not HTML. For example, I''m going to be emitting RTF and other
formats from Textile or Markdown.
I''ve got it working quite well with plainclothed RedCloth, but I can''t
seem to override any of the methods in SuperRedCloth. Here''s a sample:
2006 Apr 11
2
AR class names
hello all, quick question: how can I find out if a given string matches the
name of an ActiveRecord derived class?
thanks in advance
alan
2007 Aug 04
2
Modifying the restful_authentication plugin / Classes creating instances of themselves.
Hi,
I''m trying to modify the restful_authentication plugin so that it
first authenticates against LDAP (Active Directory), if successful, it
tries to find a matching user with the same username in the database,
through a model ''user''. If it finds a user, it updates a last_login
attribute; if it doesn''t find one, it creates one. The "remember me"
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5
(with in-house-built framework)... so the jump is not terribly bad. I''m
REALLY excited actually!
My problem: I am overwhelmed with all the setup Loops I have to jump
through to get RoR setup. I tried it on my current Apache 1.34 and
decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 May 26
1
cannonical open source rails apps?
What do you think are the best examples of open source rails apps?
I keep a copy of typo trunk around just to look at the code to see
how they''ve solved a problem. Do you know other apps that you
consider particularly well written?
Thanks
--
- Stephen Bannasch
Concord Consortium, http://www.concord.org
2006 Apr 29
2
nuby migration question -- data migration, MySQL => postgresql
How do I best migrate the data? For small databases I can text-edit the dump file from
MySQL. The postgresql compatibility switch doesn''t help on mysqldump. Any ideas. Can
MySQL export CSV that postgresql can import ?
W Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 23
10
Domain Requirements in Routes (Edge Rails)
I saw on the bottom of the following page that you can route requests to
different controllers based upon which subdomain is being requested.
http://wiki.rubyonrails.com/rails/pages/Routes
with_options :requirements=>{:subdomain=>''first.com''} do
map.connect '''', :controller => "first/catalog"
map.connect ''featured'',
2006 Jan 13
10
[Announcement] Google: Evil or Not?
"Google: Evil or Not?" is my first Rails webapp and I''ve just made it
public at http://evilornot.info
Do you still believe the ?Do no evil? Google mantra? Do you think
Google Book Search, the AOL deal, and Larry and Sergey?s 767 point to
Google losing it?s pristine morality and turning over to the dark side?
Now you can discover what the world thinks and contribute your
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform
2011 Jan 13
9
spurious <li> generated when list followed by 3
RedCloth master generates a spurios <li> element when a numbered or undumbered list is followed by three or more newlines.
RedCloth.new("* one\n* two\n* three \n\n\n").to_html
#=> "<ul>\n\t<li>one</li>\n\t<li>two</li>\n\t<li>three</li>\n</ul>\n<li>"
# note extra trailing <li> outside <ul>
A colleague
2006 Jul 01
3
Where to solicit bids on RoR project?
Where is the best place to solicit bids on a mid-size web app? (budget
~$15,000) What is the appropriate protocol for posting RoR RFPs?
Thanks!
Taylor
--
Posted via http://www.ruby-forum.com/.
2009 Feb 26
2
rails spell check
Is ruby on rails supports aspell spell check ?
Is there any links for spell check for rails application ?
All links I gone through are discussing about php but not ruby on
rails?
Plzzzzzzzzzz give me reply ....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this