similar to: Where i can download docs for offline reference?

Displaying 20 results from an estimated 3000 matches similar to: "Where i can download docs for offline reference?"

2006 Apr 17
15
Version 1.1.2 CHM Documentation File
I finally got around to compiling the Rails 1.1.2 Documentation into a CHM file this morning. You can download the file directly from here: http://delynnberry.com/files/rails-documentation-1-1-2.chm. Let me know if you encounter any problems with the file. -- DeLynn Berry delynn@gmail.com http://delynnberry.com
2006 Jan 20
11
Userstamp Plugin
I''m pleased to announce a new plugin for Rails: Userstamp. You can read my blog post at http://www.delynnberry.com/articles/2006/01/20/userstamp-plugin and/or read all about it at the perminant page http://www.delynnberry.com/pages/userstamp. Any comments or suggestions for improvement are much appreciated. -- DeLynn Berry delynn@gmail.com http://www.delynnberry.com A dump of the Readme
2006 Nov 24
14
CHM Documentation for Rails 1.2.0 - RC1
Since the first release candidate of Rails 1.2.0 was announced yesterday, I decided to update my CHM documentation file for this release. You can find the updated file via my CHM Documentation Project Page [1], or you can download the file directly from here: http://delynnberry.com/assets/2006/11/24/rails-documentation-1-2-0-pre-release.chm. [1] -
2006 Feb 07
13
CHM Documentation for Rails Version 1.0
Just wanted to let everyone know that I just posted an updated CHM file that contains documentation for Rails Version 1.0. You can read all about it here<http://www.delynnberry.com/articles/2006/02/07/rails-chm-documentation-version-1-0>. I plan to continue updating the CHM file as newer versions of Rails are announced, but I also want to finish an article that includes a rake file that will
2006 Oct 16
6
Rails CHM Documentation - 1.1.6
Just a quick email to let those interested know that I''ve posted an updated version of my CHM document that now has all the documentation from the 1.1.6 release of Rails. You can read more about it here: http://delynnberry.com/2006/10/16/rails-chm-documentation-version-1-1-6 I''m also planning on creating a pre-release version based on what is currently available in Rails trunk.
2006 Jan 20
11
HABTM relations
Hi, I have 3 tables with HABTM relation. USERS -> QUOTE_TO_USER <- QUOTES Table QUOTE_TO_USER has 3 attributes: quote_id, user_id, component. I have a form where I can tie multiple users to QUOTE. This is easy one, thru "user_ids" (@quote[:user_ids] = @params[:quote][:user_ids]). In this form I have all users and I just check those I want to tie to this quote, however
2006 Jan 31
2
Problem generating CHM Rails doc
Hi, I have problem generating chm file for the rails doc. I''ve commaned the rdoc to generate the chm by: rdoc -f chm -o chm_folder action* rails-* It gave me the following error: vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb:3:15: Expected class name or ''<<''. G ot RubyToken::TkLT: "<" By adding
2006 Jan 25
12
DRY in Models
I am building an app right now that needs to grant access to three levels of members right now - each will have their own table in the DB. When creating the add_user action I am converting the password into a hashed password through the model. The way I am doing this right now, I will inevitably end up with repeated code in three different models. Is there a way I can define this code in
2006 Mar 31
6
Split Validations?
I have a single table that two people enter data into. Person A creates the record and I need to specify certain required fields in his form. Person B has a separate form and she fills in additional fields and I need to specify that some of these are required. Since the data is all in one table and since the validations are in the model, won''t Rails complain when person A tries to
2006 Jan 23
3
[OT] Lighttpd + AWStats
Hello ~ I have posted a tutorial on my blog, http://www.benr75.com/pages/lighttpd_awstats_tutorial, on how to get AWStats and Lighttpd to work together. I thought it might be of interest to Rails folk as I know many run Light. Enjoy, -- Ben Reubenstein http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 05
5
Attach a PDF File to an Email
Hello ~ I have an email that I need to attach a PDF to. The email is being sent, and a file is attached but it is not the original file. I am following the example: attachment :content_type => "image/jpeg", :body => File.read("an-image.jpg") changing it to: attachment :content_type => "application/pdf", :body => File.read("pdf/my.pdf")
2006 Apr 28
4
Conditional in Model
Hello ~ Is there a way to determine within a model which controller/action instantiated the model? Thx, -- Ben Reubenstein http://www.benr75.com
2006 Feb 07
11
Possible Rails Security Issue?
I have an e-commerce site and users check out with a form. The results of that form are sent to a "confirm your order" page via POST. I take great pains to NEVER store the full credit card number on my server--just the last 4 digits. I was very surprised to find that by default Rails will record POST requests with parameters in the production.log. And those parameters
2006 Mar 16
4
Handling/Catching Exceptions
Hello! I was wondering, sometimes I raise an exception in my Rails apps, e.g.: raise SecurityError unless @post.user == logged_in_user Now: is there any way to catch that SecurityError exception somewhere and render a custom template? E.g., I want to render ''app/views/content/security_error.rhtml'' Does anyone know how to do this? Thanks a bunch, Rob
2006 Apr 08
5
Strange error ...
I''m getting a very strange error in a very vanilla Rails app setup: compile error ./script/../config/../app/views/home/index.rhtml:1: parse error, unexpected $, expecting kEND _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" ... ? Anyone know what this might be? I installed the Login Engine and the error started. I''m using
2006 Mar 16
3
image doesn''t show (rhtml path???)
Hi, we try to show an image which is not inside the rails framework, and we are not able to see the image!!!! does someone know how to do this??? our rails is installed on /opt/rails/project1/, so inside "project1" we have all the rails directory like "app", "public", etc.) our image is on the "/usr/images/" so in our link on the rhtml. we use a link
2006 May 04
1
Wiki Best Practice
Hello Rails Community ~ Today I added tagging support to one of my Rails apps following this Wiki page: http://wiki.rubyonrails.org/rails/pages/ActsAsTaggablePluginHowto/versions/32 It outlined adding the necessary database tables with a schema description in table format. I altered the article to use a migrations approach with the code from the migration I created to add the two tables,
2006 Jun 27
2
Render partials in folders
Right now I have partials in a view folder corresponding with my controller. ie: controller: example, view: example/_partial.rhtml and I call it with render :partial => ''partial'' How do I add the partial to another folder and call it? ie: controller: example, view: example/new_folder/_partial.rhtml render :partial => ''new_folder/partial'' # does NOT work
2006 May 01
2
how to reference a file for download
I have an app that uploads files into the directory RAILS_ROOT/documents/ I tried to access the file for downloading using <a href="#{RAILS_ROOT}/documents/file_name">my file</a>. Rails prepends the controller name to the link so I get <a href=" http://localhost:3000/tasks/show_document/config/.../documents/file_name" What''s the right way to do this?
2006 Apr 08
4
rails won''t cache my action
I''ve decided to dive into page caching for my rails app. I''m doing my testing with webbrick and it refuses to display the cached page for a particular action. I''ve modified my paginator helper to put the page parameter in the url so that the paginated page can be used with caching. This works perfectly when the page parameter is in the url (ie browse/2006/2 or