Displaying 20 results from an estimated 10000 matches similar to: "RForum Software Sucks?"
2005 Dec 22
11
rforum engine
Here''s a question for those well-versed in rforum or engines -- or
both, ideally :) I''ve spent some time today turning RForum into an
engine, using rails 1.0, engines trunk, and rforum 0.1 (as rforum
trunk didn''t appear to work out of the box).
My rforum engine works, but only when I do two things that I found by
trial and error:
1) All rforum controllers subclass
2006 Feb 11
2
Session ID in a cookie?
I''ve been looking around for how to store the session ID in a cookie.
The "Agile Web Development with Rails" books seems to indicate that this
is done by default with Rails. But I don''t see a cookie being set in my
browser. (yeah, they''re enabled)
I poked through the RForum code to find something referencing "cookies"
but nothing came up.
Does
2006 Jan 31
6
How to Affect Plugin Load Order
I''m using bundled_resource, login_engine, and a few other plugins. It
appears Rails considers plugins in alphabetic order. Turns out that
there is a particular order that will work and alphabetic ain''t it.
The login engine must be loaded first. Bundled resource then includes
''application_helper'' and the application helper includes LoginEngine. If
2005 May 03
8
SQLite3 + RAM drive => 3 times faster unit tests
One problem I sort of always had with the ActiveRecord''s tight coupling
to the SQL backend is how slow it makes the unit tests. OK, there are
some ways to make it faster at a price of extra complexity (reusing the
fixtures, doing a rollback in the end of the test, etc), but still - it
is much slower than what I would like a unit test to be.
Today I had a very simple idea (why, oh why
2006 Feb 16
5
Firefox and IE performance with Rails App
In my rails application, certain computers were having huge problems.
There were certain pages that were exceptionally slow, even to the point
of timing out. Other computers did not have a problem. I finally found
that Firefox was the difference. When using Firefox on those computers
it works fine. The slow pages were typically posting a form with a
couple hundred fields.
This behavior was
2006 Jan 05
40
RoR sucks, and heres why...
Well now that I got your attention....
Why RoR sucks:
1. It''s smarter than me. Just when I think I''ll have to do some mundane
thing (like I use to in PHP or ASP), I find out RoR does it already for
me.
2. It takes about half or less code to put my stuff together in RoR than
it did in PHP, ASP, ASP.NET, etc. It seems so unnatural that I can have
a method with only 4 lines
2005 Dec 20
1
Model method_missing error (rforum)
I''m attempting to get rforum working. I pulled it from the subversion
repository.
Everything works fine until I attempt to make a post.
I get the following error.
c:/apps/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1498:in
`method_missing''
#{RAILS_ROOT}/app/controllers/topic_controller.rb:80:in `new''
2006 Jan 22
6
Destructive behavior with link_to, button_to, :post=>true
Hello-
I would like to know what the suggested practice is for having multiple
submit buttons on a relatively complicated input page.
Let''s use the example of a Contact. There is lots of info there,
including name, address, phone number. There is also a list of "contact
associations" which can be modified on the same page.
Ideally, the user could have one
2005 May 06
17
FYI: watch out for google's web accelerator - can empty your app of data
Hi All,
A co-worker passed this info on to me:
http://37signals.com/svn/archives2/google_web_accelerator_hey_not_so_fast_an_alert_for_web_app_designers.php
The Skinny: Google has a "Web Accelerator" that pre-caches pages by
following url''s. If you have any plain/simple URL''s that don''t take
paramaters (like what often happens in rails apps), it will try to
2006 Mar 21
5
Encrypting source / application licensing
Hey folks-
If I wanted to distribute my code to users that would run the code on
their own machine, how could I go about encrypting the source to run on
a user''s machine?
PHP has the Zend Encoder among others, I believe. Is there anything
similar for Ruby?
Jake
--
Posted via http://www.ruby-forum.com/.
2005 Dec 19
8
Simply Ruby question: "zerofill"
Hi there-
What''s the easiest/most efficient way to perform a zerofill in Ruby?
i.e. Given the value ''val'', I would like to do something like:
val = 43
puts val.zerofill(8)
---> "00000043"
gsub? sprintf of some sort?
Jake
--
Posted via http://www.ruby-forum.com/.
2005 Dec 29
5
Extracting SQL and Rebuilding from SQL?
Hello-
With a database filled with several customers'' datasets, I thought it
would be a nice feature of my app''s backend interface to be able to
extract (and optionally delete) the data from a single customer. It
would then also be nice to rebuild that data from the stored info.
What''s a good way to do this efficiently?
If all the ":dependent => true"
2006 Jan 05
6
Problems with Ferret in RForum
Hi,
I have been using Ferret on ruby-forum.com for a few days. While the
searching works with reasonable performance, there are a lot of problems
related to indexing. Sometimes the process hangs with 100% CPU usage,
sometimes it leaves Lockfiles in the directory (causing other processes
to fail while one ist still working), sometimes it even crashes with a
segfault.
I''m going to
2006 Feb 12
6
Design question - where to store constants?
Let''s say I create a "ticket system" that has a support ticket with a
status attached to it. (Say, OPEN or CLOSED for now, but more later)
The status -could- be another table in the database listing status
types, but I think that''s unnecessarily complex and overly flexible for
this. (opinions on this point would be interesting)
Another alternative would be to
2006 Feb 05
3
Accessing Strongspace from a rails app
Is there any information on how to go about accessing a strongspace
account from a rails app? What are the preferred methods for doing
this?
Are there plugins for RoR that support SFTP transfers and so on?
Jake
--
Posted via http://www.ruby-forum.com/.
2006 Jan 20
10
Generating a long, unique "ticket" number.
Hello --
I would like to setup a system where a user can generate a "ticket".
This ticket will be stored indefinitely. The ticket will be sent to
someone who does not have an account on the system and therefore, I
would like to ensure some level of security in that ticket number.
Basically, the other user would receive an email like:
---
Please click on the link below to view this
2005 Dec 22
3
Does Switchtower support svn+ssh://
All the examples I''ve seen have the SSH repository accessed via http://
Does Switchtower support svn+ssh:// URLs?
Jake
--
Posted via http://www.ruby-forum.com/.
2006 Jan 15
4
Redcloth gem properly installed ... still errors
Hi all,
installed redcloth for using the object.attrib.textilize method in a template.
Using 3.0.3 because it supoosedly works the best with rails 1.0.0.
Keep getting the undefined method error. Did the require thingy, but no luck
What would be the most I''m-a-guru place to put the require btw?
Thanx.
Gerard
--
"Who cares if it doesn''t do anything? It was made with
2006 Jun 26
13
Why no forum app in rails yet?
Hi Guys,
So creating a forums application seems like something that rails can
handle easily and well, and whatever implementation that came to
fruition would be head and shoulders above existing products like
vBulliten and phpBB.
Even the existing rails forums are using php-based forum products! An
insult if you ask me.
So my question -- is there any current development of a rails-based
2006 Jun 13
6
Dead horse: validates_associated
Regarding validates_associated...
Let''s say I have:
article belongs_to author
But for whatever reason, I want an article to also be written
anonymously and therefore not require an author. Then I have:
Article:
belongs_to :author
validates_associated :author
But I DON''T have validates_presence_of. What I want to do is validate
that an author is valid --if it is