Displaying 20 results from an estimated 9000 matches similar to: "engines"
2006 Jan 26
3
Using variables within a string - The function doesn''t pass the value?
Hello everyone,
As a beginner to ROR, I am very confused regarding why the following is happening.
If my function is defined as
def self.home_categories (portal_id)
find(:all, :conditions => [ "portal_id=?", portal_id ] )
end
the following doesn''t works (the database is queried with a value of 0.
portal_id=1
@categories =
2006 Jan 30
2
:condition not being applied
I am using acts_as_taggable and everything seems to be working except that
:condition => "tags_resources.portal_id=#{portal_id}"
is not being applied.
@resource_pages = Paginator.new self, Resource.find_tagged_with(:any => tag, :condition => "tags_resources.portal_id=#{portal_id}").length, 25, @params[''page''];
@resources
2006 Jan 29
3
SHLG and lib dir
Slowly figuring out how to get my SaltedHashLoginGenerator stuff working. The wiki page
says to put "before_filter :login_required" in the user (my "user" is "member") controller
or in ApplicationController. However, wherever I put it I get NoMethodError.
The rest of the SHLG stuff seems to be working... or at least I could get to the signup
page, register, and
2006 Feb 05
16
script/plugin install fails
Running script/plugin install
svn://rubyforge.org/var/svn/laszlo-plugin/tags/openlaszlo fails,
returning the help information for the "export" command:
export: Create an unversioned copy of a tree.
usage: 1. export [-r REV] URL [PATH]
2. export [-r REV] PATH1 [PATH2]
etc...
Has anyone encountered this before?
System info:
Mac OS 10.4.4.
ruby 1.8.2 (2004-12-25)
svn, version
2006 Feb 20
46
Ruby + Apache Lucene using XMLRPC?
Please excuse me if this has been answered before.
Is there a "how-to" guide or a walkthrough on integrating Lucene with ROR via XMLRPC?
I got Ferret to work but I am worried that it''s not going to be as scalable.
I highly appreciate your assistance.
Thanks
Frank
---------------------------------
Relax. Yahoo! Mail virus
2006 Mar 01
9
ajax doesn''t show at the right place
Hi,
I use link_to_remote to create a link to trigger an
ajax, things work fine, a new rhtml is created,
however, the newly created rhtml doesn''t replace my
old zone, it shows instead on top of my old
zone...Does someone know why???
my code is like
<table>
<tr><td colspan="2"><a href="#" onclick="new
Ajax.Updater(''zone1'',
2006 May 11
5
crating a ajax datagrid
hi,
Im looking to build a live data grid, where you can add delete rows
using dhtml.
and was just wondering if anyone is aware of any plugin''s taht may help
me.
Ive found this example but if anyone is aware of any other plugin''s
please let me know
http://unspace.ca/datagrid/update
thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Feb 23
12
Showcase On Rails CMS v0.1
I built out a simple CMS for websites that rely heavily on portfolios.
This covers graphic and web designers in particular, but also other
people with stuff to show off. It''s really easy to customize
progressively, so that some people will only modify CSS, but others
will dig deeper into Javascript behaviors and the Rails view code.
Check it out at http://showcase.kylemaxwell.com/
SVN
2006 Jan 25
14
Salted Hash Login Generator
Does this work with rails 1.0 ? I saw that people said it failed with rails 14.1, which
practically identical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060125/5da24694/attachment.html
2006 Feb 07
3
ActiveRecord for kirbybase?
I''ve found vague mentions of various attempts at creating an ActiveRecord adapter for the KirbyBase pure Ruby DBMS, but
nothing which looks like it''s actually working. Anyone know of such an adapter that is functional and available?
b
2006 Jan 30
5
url for image in css
Hi,
I''d like to call a background image for every item in a list. Something like
div#nav li.submenu {background: url(dropmenu.gif) 95% 50% no-repeat;}
the image is in public/images/dropmenu.gif
Thanks,
Peter
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format.
By default my application is using forgot_password_en.rhtml template.
I read in the ROR Recipes book
"ActionMailer sees these templates, recognizes the pattern in their
file names, and automatically sets the MIME type of the message to
multipart/alternative and adds
2006 Jun 03
2
looking for radrails devs
I just got an email update on a radrails bug that I submitted a while back...
Unfortunately, it''s just stupid spammers.
So, I tried to go to the radrails trac to delete the spam or at least report it, and their
trac is puking python errors (including environment information) all over the page! I
can''t seem to get to any pages with any contact info, so I''m trying
2006 Feb 23
20
ActiveRbac 0.3 release - We''re now on Engines
Hi
I have just released the 0.3 revision of ActiveRecord - make sure to
get the fresh, hot packages from
https://activerbac.turingstudio.com/releases
What is ActiveRBAC?
-------------------
ActiveRBAC is a Ruby on Rails library that provides a full stack RBAC
(Role Based Authorization) system with user, group, role and
permission management. It provides models and controllers to edit
2006 Jan 31
5
Rails auth systems using LDAP?
Hi everyone,
Are there any Rails systems that are either:
* Easily extensible to use a different auth store?
* Use LDAP out of the box?
Thanks,
Sean
2006 Feb 12
9
CSS in Views
How can I link to a CSS file in one of my view files?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 17
2
validate uniqueness of two fields
I have Proposals and Members and Members can vote for a proposal only once.
So, I have "Vote belongs_to :member, :proposal", but to make sure a member only votes
once, I want to make sure that there isn''t a vote in the db with that member_id and
proposal_id. I can just put the appropriate find in a vote.valid? but I wanted to make
sure I wasn''t missing a nice rails
2006 Feb 03
6
Rails from the command line
I have controller that processes data in one table and puts results in
another. Now that its'' working, I would like to be able to run it from the
command line ( read: windows batch file). How can this be done?
It will be installed on a Windows box with InstantRails1.0, (if that
matters).
I will be doing more processes like this, so this is a good opportunity to
get it right.
--
Best
2006 May 11
7
Rails in Dr. Dobbs Journal ?
Hi,
I''ve read that Dr. Dobbs Journal''s last issue has a cover article about
Rails titled "Ruby On Rails - Java''s Successor?". Can''t find anything
about it in http://www.ddj.com
Does someone have the paper edition and can confirm that, and tell
how the article looks like, and so on.
Thanks,
-- Jean-Fran?ois.
--
? la renverse.
2006 Jul 17
3
Plugins and Engines
I''m trying to work out how to use the functionality from a plugin in an
engine. It sounds weird, but it''s actually not so strange.
I assume I can''t just add a vendor directory to an Engine, so some
strategy for getting the plugin in the lib folder is probably necessary
(and then requiring the plugin, perhaps?).
-- Yehuda Katz
--
Posted via