Displaying 20 results from an estimated 70000 matches similar to: "End User Documentation"
2006 Feb 23
3
rake error
I installed at least one gem since I thought I actually once was able to
run ''rake appdoc'' command since there is an api for my models and the
ez_where plugin that I installed earlier. I wanted to see the api for
pdf-writer which is the gem that I installed most recently.
(no, I haven''t given up the issue of ''looping'' that Kevin and some
others replied
2006 Feb 24
2
raking my brain to fix this
I am ''raking'' my brain to fix this problem - I have searched, googled,
looked through rake documentation, wiki.rubyonrails and I can''t fix...
This works
$ rake plugindoc
(in /home/craig/ruby-db/th-db)
rdoc -o doc/plugins/ez_where --title ''Ez Where Plugin Documentation'' --
line-numbers --inline-source -T html
2006 Feb 15
6
Problem creating appdoc documentation
Hello, can anyone help me.
After a few weeks I returned to the rails to play with it. But I
recognize that I''m now not abble to build appdoc. The same thing that
few weeks ago worked without an problem now give me an error:
unrecognized option `--line-numbers --inline-source''
$ rake --trace --verbose reappdoc
(in /home/radek/src/firma/giga-net/ncc/work)
** Invoke reappdoc
2006 Feb 28
5
rake appdoc errors
when running rake rake appdoc (os x 10.4) i get the following error:
unrecognized option `--line-numbers --inline-source''
any ideas?
sebastian
2006 Mar 06
2
Can''t see documentation after executing "rake appdoc"
I successfully got rake appdoc to work on the depot application (after
manually applying the patch for rake 0.70).
Everything appears to generate fine, but I can''t pull up the
documentation in my browser.
I''ve tried:
http://localhost:3000/doc/app/
http://localhost:3000/doc/app/index.html
I always get:
Recognition failed for "/doc/app/"
with
2005 Aug 29
2
Where to point the browser to for appdoc documentation
Under windows XP I created a batch file in the depot directory this takes care
of generating the application documentation. The default rake appdoc isn''t
working under windows right now (remove the -T option).
So, where do I point my browser to (so that I can view the new generated
application documentation)? Running gem_server didn''t help so far...
listing doc.bat
rdoc -o
2005 Dec 20
0
Patch lovin'' for #2018? ("rake appdoc fails on Windows systems")
Gurus (Guri? heh),
We got burned today by #2018 ("rake appdoc fails on Windows systems"),
and did a bunch of ferreting around (starting at the problems in
rdoc,rake,rdoc.bat) and ultimately came back to the conclusion that the
cleanest way to fix the problem is just a variation on a suggestion
already posted in that ticket.
I wrote up a patch against trunk from the suggestion there and
2006 Mar 26
17
activeldap
Obviously I am missing something and I don''t know what it is...
I am following the instructions at
http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html
and also here...
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap
my model looks exactly like this...
class LdapUser < ActiveRecord::Base
ldap_mapping :dnattr => ''uid'', :prefix
2006 Mar 28
7
Rails 1.1 and "freeze_gems"
I''m on OS X Tiger, and just upgraded my gems. I also ran ''rake rails:update''.
After that, I ran "rake freeze_gems", I recieve the following:
=====================
Freezing to the gems for Rails 1.1.0
rm -rf vendor/rails
mkdir -p vendor/rails
cd vendor/rails
Unpacked gem: ''activesupport-1.3.0''
mv activesupport-1.3.0 activesupport
Unpacked
2008 Jan 31
1
never have been able to run rake doc:app
Perhaps it''s just a Fedora thing but it would be nice to generate my
application''s API
$ rake doc:app --trace
(in /home/storage/users/craig/svn/th-db/branches/phase5)
** Invoke doc:app (first_time)
** Invoke doc/app/index.html (first_time)
rake aborted!
Don''t know how to build task ''doc/README_FOR_APP''
2006 Jun 15
8
postgresql sequence and migrations
I have a specific need to ''fixate'' my ''roles'' table sequence when
migrating.
at migration #4, I have 28 records in my roles tables and I can manually
reset the roles_id_seq but it stands to reason that since I am doing
everything else in the migration, I might as well reset the sequence
there too.
so I tried this in my migration file...
execute
2006 Apr 21
1
log file handling
I don''t see anything on wiki.rubyonrails.org or in rubyforge that
handles logs but I am looking to perhaps tarball/compress each day''s log
and save it/rotate it which I may be able to get done from logrotate on
the Linux system but I would have thought that there would be a ruby
way. I only see ''rake log:clear'' in rake --tasks.
Anyone have suggestions?
Thanks
2006 Apr 01
3
acts_as_taggable, wrong number of arguments
Hello,
When I try:
@tagged_items = Problem.find_tagged_with :all => ''kuba''
or
@tagged_items = Problem.tags_count :limit => 100
I get this error:
ArgumentError in Volume#index
wrong number of arguments (2 for 3)
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Apr 15
8
Migrations - adding a new table and automatically creating records
I want to create table called roles and then populate it with some new
records...This doesn''t work. Is there something I''m missing?
Craig
class AddRightsAndRolesTables < ActiveRecord::Migration
def self.up
create_table :roles do |t|
t.column "name", :string
end
Role.reset_column_information
Role.new :name => "Users Admin"
2006 Mar 27
5
Fixtures, Postgres & Constraints
Anyone have any tips for handling postgres constraints when using
fixtures to load the database, other than to sort out the proper
insertion orders or leaving the constraints out? I''d prefer not to do
the former since I''d rather use my app to generate my fixture data
(using a dump_fixtures task) and I''d prefer not to do the latter
because leaving out constraints till the
2006 Mar 07
17
Handling Erros from AWDWR
I''m getting to the point now where I really need to start trapping the
errors.
So from my AWDWR book, I added the following directly from the book into
application.rb...
def rescue_action_in_public(exception)
case exception
when ActiveRecord::RecordNotFound, ActionController::UnknownAction
render(:file => "#{RAILS_ROOT}/public/404.html",
2006 Feb 08
1
[Fwd: re: [0BB-0B7CC3CB-B2E7] FreeNX documentation and other miscellanea]
Just received one of these things for each email I sent to CentOS list
early this morning...about a 6.5 hour lag time...
what gives? I bet everyone starts seeing them real soon now unless it's
just my great fortune...
you should consider bouncing this subscription if it's valid.
Craig
-------- Forwarded Message --------
> From: Brian Trudeau <brian.trudeau at eastek-intl.com>
2006 Feb 08
2
helpers and plugins
First a helper...
Have a boolean field - on forms, it returns ''true'' or ''false''
It would be much nicer to have it say either ''yes'' or ''no''
is there a helper for this?
Where do I find a list of helpers beyond Agile book?
Secondly, plugins...
I know that I am going to have to look at authentication mechanisms and
2006 Mar 09
6
svn and ruby structure
I just set up svn and did a checkout.
When I set up the repository, I did an import of the entire base
directory of the rails application which was great because it allowed me
to do a checkout on to my computer with everything.
Of course, now on my home computer, I''ve got a changed database.yml and
environment.rb and the log files (because I''ve been running a copy on my
home
2006 Feb 23
5
layouts
I created a controller called reports, for which I didn''t have any model
or tables.
I wanted to use a menu/layout structure similar to all my other
models/controllers and added a layout named reports which then gives me
the menu/layout structure but is also now part of all my reports.
That isn''t gonna work so I renamed reports.rhtml to reports_forms.rhtml
(still inside my