similar to: Plugins? Components?

Displaying 20 results from an estimated 4000 matches similar to: "Plugins? Components?"

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 08
7
DRY methodology
because I am a grasshopper... Now that I can sort my ''list''...is there a logical way of not repeating myself to having essentially the same list view with multiple sorts? i.e. def list_cl # ordered by clients last name @placement_pages, @placements = paginate( :placements, :include => [:client], :order_by =>
2006 Feb 13
10
Clearing browser history?
Hello everyone, I''ve got an app where, when a user logs out, I want the browser history to be cleared so no-one can go back and see what the user was doing. I remember seeing info on how to do this before - can''t find it in Google (the search terms "clear", "browser" and "history" aren''t that great!), which means I can''t remember
2006 Feb 06
3
linked table confusion
placement.rb has_one :client has_one :case_manager client.rb belongs_to :case_manager has_many :placements case_manager.rb has_many :clients has_many :placements I am trying to create a view file for placements. I can pull columns from clients table in this view by using... <%= @placement.client.wholename %> but if I use <% @placement.case_manager.wholename %>
2006 Feb 13
9
Please e-mail (not only post) the Forum Instructions URL
Am I just blind, or are there no links to the instructions, e.g. the Search syntax or how to get back to a thread I started on RoR? Or do those links, buttons, whatever only show / work in IE? Thanks for any help; sorry if I can''t figure out something I should be able to. jandjharris (at) gmail.com -- Posted via http://www.ruby-forum.com/.
2006 Feb 02
8
How to get all selected rows in the mutli-selection listbox?
Hi, I have created a multiple selection listbox with rails, when I try to get the rows selected by user, rails send back only the first one, how can I get the other selected rows???? I created the listbox with the following function: select_tag("form__list1", options_for_select(["A","B","C","D"], selected = "A"), html_options =
2006 Aug 05
5
error with db:migrate
I''m new to ROR, and am working my way through the Agile Web Development Book. In the test application, the authors tell me to test my database connection by performing "rake db:migrate". When I do, I get the error "Don''t know how to build task ''db:migrate''" I''ve been looking around at the files, and I see a reference to a
2006 Feb 06
2
Globalize plugin, now I have two classes with the same name
Hi, newbie here. I''m using the Globalize plugin, which defines a model with the same name as one of my existing models. We both use a model called Country. The Globalize Country model (within vendors/...) is wrapped in module like this... module Globalize class Country < ActiveRecord::Base ... end end And this is my Country model (within app/models)... class Country <
2006 Feb 22
3
Reading files from dir
I have gif files in my public/images/posticons directory, I want to read their filenames without the extension to list the files as a set of radio buttons in the form: [code]<%= radio_button("thread", "posticon", imgname) %> <img src="/images/posticons/<%= imgname%>.gif" alt="" />[code] Would I be saving myself a lot of time and server
2006 Feb 16
6
session usage
Clearly I have the session and can see that session[:user_id] = 7 Now I want to use the results of this...in a page...so I am trying to use the instance variable @sess_user and at the top of the application controller, I have either... @sess_user = User.find([:first, "id = ?", session[:user_id]) or @sess_user = User.find([:first, "id = ?", session[:user_id]) gives me an
2006 Feb 15
9
Liquid - form helpers? multiple liquid templates?
Hi, Its taking me a long time to get my head around the Liquid plugin. I have a couple of questions which hopefully someone can help me with... - How difficult would it be to add some kind of Filter or Tag which would allow other Liquid templates to be included into the current Liquid template (eg. similar to render(:file => "filename") - How difficult would it be to add
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 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 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
2006 Jan 26
21
pagination_links help
I want append custom query parameters to my pagination links, like ?page=1&foo=bar. I can''t quite figure out how to do this with the pagination_links helper, although I believe the API says you should be able to: pagination_links(paginator, options={}, html_options={}) options are: :params: any additional routing parameters for page URLs Has anyone tried this? thanks, jeff --
2006 Feb 02
4
rails-1.0.0 gem rdoc problem
Just got a brand new install of ruby-1.8.4 and new gems downloaded, specifically rails-1.0.0. Seems rails does not generated rdoc for gem_server. Looking into the problem, it seems that there is an error when doing ''rake rdoc'' for rails-1.0.0. % rake rdoc (in /opt/local/ruby-1.8.4/lib/ruby/gems/1.8/gems/rails-1.0.0) rm -r doc unrecognized option `--line-numbers --inline-source
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 Feb 26
6
Having trouble getting Edge Rails running
Hello, I''ve been playing with this for hours, and got through a couple glitches (e.g. updating to Ruby 1.8.4) but this one is well beyond my N00b skills. When trying to run script/server I get: ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:87:in `as_load_path'': stack level too deep (SystemStackError) from
1999 Nov 03
1
Samba 2.0.6pre3 snapshots available.
As Andrew is a little busy right now I've made a Samba 2.0.6pre3 snapshot available at : Source code ----------- ftp.samba.org:/pub/samba/alpha/samba-2.0.6pre3.tar.gz RedHat 6.1 Intel RPM -------------------- ftp.samba.org:/pub/samba/alpha/samba-2.0.6pre3-19991102.i386.rpm RedHat 6.1 Source RPM --------------------- ftp.samba.org:/pub/samba/alpha/samba-2.0.6pre3-19991102.src.rpm Please
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