Displaying 20 results from an estimated 5000 matches similar to: "User engine problems with 1.1.4 + Test driven development??!"
2006 Jan 16
17
LoginEngine / UserEngine conceptual help
All,
I have a small Intranet app I''m trying to get ready for remote access.
(I only have 15 or so users for now and I don''t plan to be adding
very many more.).
I have installed the login engine and it seems to be working as
advertized. (Great job!)
For my needs I don''t want random people to be able to register and get
access to my app, but I will need to register
2006 May 05
2
newbie ruby string match question
All,
I want to know in the Application.rb controller if I''m on the login screen.
When I''m on the page I care about the controller variable is
"#<ActiveRbac::UserController:0x408b3d6c>"
So I want something like:
if controller contains ActiveRbac::UserController
What is the right syntax for the above?
Thanks
Greg
--
Greg Freemyer
The Norcross Group
Forensics
2006 Apr 22
5
ActiveRBAC 0.3.1 Released
Hi
I am happy to announce the 0.3.1 release of ActiveRBAC Engine. The
biggest improvement on the 0.3 release is that it runs with Rails 1.1
now.
Get your personal copy now from
https://activerbac.turingstudio.com/releases :)
There is a manual PDF with a tutorial available at
https://activerbac.turingstudio.com/releases/ActiveRbacManual.pdf
which is also included in the full
2006 Apr 10
1
LoginEngine 1.0.1
Hi,
The LoginEngine has been updated to 1.0.1.
Notable changes:
* User model now does very basic email validation
* All tests now pass on both Rails 1.0 and 1.1
* Many bugs fixed!
Please refer to the Engines documentation for how to update.
http://www.rails-engines.org/download
The subversion URL for the tag is:
http://svn.rails-engines.org/login_engine/tags/rel_1.0.1
= v1.0.1
* Added
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
2006 Jul 04
3
Engine Not Starting
I''ve used login_engine successfully before with webrick, and now using a
provider that uses fcgi. login_engine doesn''t seem to start up, in the
development log file, I get only routing errors for the page requested.
The login_engine unit tests pass fine.
My question is if an engine is not loaded, not in a path, etc, how is
this indicated in rails? None of the log files even
2006 Aug 15
7
Engine broke under rails 1.1.6
ActionController::RoutingError (Recognition failed for "/user/signup"):
All the controller in Engine can not be recognized,I update my engine to
the latest version,the application even can not be started.Something
more need to be done?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 24
14
engines
This page:
http://www.rails-engines.org/download
makes it sound like SVN is optional for using engines, but when I try to run the second
command ("ruby script/plugin install engines"), I get the NoMethodError on nil as
described in the second issue reported here:
http://www.rails-engines.org/wiki/pages/Engines+plugin%3A+Known+Issues
So, which is it? Do I have to have SVN installed
2006 Feb 15
5
Lighttpd now works for production. Development is broken?
I''ve finally gotten lighttpd working for my production instance (SUSE
10.0 with SSL).
(Had to install the fcgi dev toolkit, the SUSE 10 ruby-fcgi rpm, and
the fcgi gem. I''m not positive all 3 were required, but that is what
I did.)
Now the devel instance of my app is broken.
I''m not sure how to fix it.
Previously I was using WEBrick for both devel and production.
2006 Apr 12
8
newbie radrails question
I''ve just install Eclipse with RadRails for the first time.
I''m trying to follow the very simple DemoAppPart1 at
http://wiki.awebfactory.com.ar/awebfactory/published/DemoAppPart1
When I click on the DepotServer and try to start it WEBbrick is not starting.
I can cd to the base directory and run script/server and it works.
Any idea what I''m doing wrong?
Thanks
Greg
2006 Feb 11
4
Timesheet application for Rails
Hi all,
I am looking for some time tracking software for our small company. Does
anyone knows if such project on rails exists? I need simple
functionality such as recording spent time for employees and managing
projects or tasks. Ideally, it would be possible to integrate it into
Instiki and to some existing database. There are some other solutions,
but it seems to me that RoR would be ideal
2006 Feb 10
5
Re: Manually running dispatch.fcgi fails (Please help!!)
I''m really lost on this issue. Do I need to reinstall rails / gems?
The rest of my rails setup seems to be working. I just can''t run
dispatch.fcgi. (Details in original message below).
I have no idea how to troubleshoot this. I''m not even positive it is
supposed to be runnable from the command line. I found a
troubleshooting guide that implied it was supposed to
2006 Aug 10
7
Mongrel and SSL?
I have a small intranet app with only 20 or so users.
I''m currently using lighttpd w/ssl for production and mongrel for dev.
I don''t think Mongrel supports ssl, but what is the easiest front-end
to put in front of it? Pound?
Thanks
Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
2005 Dec 27
3
created_on & updated_on - helper to display date only
All,
My initial list is rather busy. I would like to shorten the
created_on and updated_on fields to just display the date, not the
time. Best wold be a simple 12/28/05 type of presentation.
I''ve found the format helpers in rdoc. (ie.
distance_of_time_in_words_to_now ), but none seem to be what I''m
looking for.
How do I control the date format of a timestamp field?
Thanks
2005 Dec 22
4
Is "case" a magic name
I''m a newbie.
My first app is using a table called cases. With just "scaffold
:case" I get the basic list to show up.
I just did a "generate scaffold case case" (I think that is correct).
Now when I try to list my cases, I''m getting a syntax error on all of
the view source code that references "case".
ie. <% for case in @cases %>
Thanks
2006 Jul 10
3
search plugin?
All,
I know there are 3 or 4 search plugins out there.
I''m trying to find one that will allow me to search associated fields.
My database content is pretty small, so efficiently is not so
critical. On the other hand I have ton of :belongs_to type fields, so
I need something that works well with the Rails models.
Any recommendations?
== Example of what I need to work
Assume I have a
2006 May 16
3
Best way to handle namespace collisions?
All,
I have a little namespace collision here. I am trying to use both
RubyfulSoup (an HTML parser - which I highly recommend by the way) and
the ActionView::Helpers::TextHelper class. Within the TextHelper class,
there''s an attempt to create a new "Tag" object. However, Tag is also
defined in the RubyfulSoup gem and it is _this_ Tag class whose
initialize method is
2006 Jan 03
7
best authorization?
Hello,
I want to allow some users to manage other user accounts, but do not want them to manage the admin account.
I have tried auth_generator, login_engine and user_engine
I am having a hard time gettign this to work.
Looking for advise and help.
Thanks
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 16
2
My first test - named fixture not autoloading instance variable
I''m trying to write a test like the one at the bottom of page 148 in
Agile Rails.
I''m using rails 1.0
I''ve created the fixture correctly I''m pretty sure because the test
database table is being populated per the fixture.
I have what I think is a simple unit test:
=========
require File.dirname(__FILE__) + ''/../test_helper''
class CaseTest
2006 Apr 04
4
Ruby 1.8.4 on SUSE 10.0 howto
All,
I just installed ruby 1.8.4 on my SUSE 10.0 box. It was slightly
convoluted so I thought I would post the solution here.
Once this runs for a day or so I will try upgrading my rails to 1.1
=== Ruby 1.8.4 on SUSE 10.0 Howto
I downloaded the src.rpm from
http://mirrors.kernel.org/opensuse/distribution/SL-OSS-factory/inst-source/suse/src/ruby-1.8.4-9.src.rpm
Then I installed it with