Displaying 20 results from an estimated 400 matches similar to: "select boxe"
2006 Apr 24
4
creating a select box
Hi
trying to create a select box in _form.rhtml.
I have a table called organisations that contains fileds, 2 being ''id''
and ''name''
these are the fields I need to bring over to the clients _form.rhtml.
whats the best way of going about that??
2 ways i have seen suggested that I cant get to work
-@organisations = Organisation.find_all placed this in def new
2006 Apr 25
4
RoR & IIS &
Hello all ?
is it possible to configure 2 or more aplications on IIS, each one in a
different virtual directory ?
thanks all
--
Bolo Michelin
Blog [Flash & RoR] http://blog.developpez.com/?blog=30
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060425/9b5d7b9b/attachment.html
2006 Mar 31
14
[newbi] Create a Model
Hello All,
Yesterday i put RoR with Locomotive. I am very happy :p.
So I follow this tuto
(http://developer.apple.com/tools/rubyonrails.html). I used Sqlite.
my database.yml
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Get the fast C bindings:
# gem install mysql
# (on OS X: gem install mysql -- --include=/usr/local/lib)
# And be sure to use new-style password
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 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 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 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 Feb 19
8
select, first option empty value?
using the below:
<%= select(''project'', ''project_type_id'', @project_types.collect {|x|
[x.name,x.id]}, {:include_blank => true}) %>
but i''d like that first option to have something like "select project
type" with an empty value?
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 Mar 07
4
Controllers More Than One Sub-Directory Deep?
Does anyone know how to make Rails aware of controllers that might
exist in directories that exist deeper than one level under the
app/controllers directory? I initially figured just adding additional
scope information might do the trik (i.e. Tabs::Admin::OneController
or Admin::Tabs::OneController), but that does not seem to work.
I''m guessing that I can just manually add these
2006 Jun 02
4
Web app developed in WInXP want to run on Linux
Hi All,
I have developed a web application using RoR on Window-XP. Now my server
is on linux and want to get this running on linux machine. I tried
starting the server but it failed to boot in boot.rb at this line:
unless RUBY_PLATFORM =~ /mswin32/
require ''pathname''
root_path = Pathname.new(root_path).cleanpath(true).to_s
end
so I changed(even though the file says
2006 Apr 03
3
[newbi] Problem Routes
Hello,
i try to follow this video
http://www.illanti.com/files/locomotive101.mov
After change my routes
routes.db
ActionController::Routing::Routes.draw do |map|
# Add your own custom routes here.
# The priority is based upon order of creation: first created ->
highest priority.
# Here''s a sample route:
# map.connect ''products/:id'', :controller =>
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 16
16
acts_as_authenticated current_user in a model?
What do I need to do to be able to use an acts_as_authenticated
current_user in a model?
Is there some sort of include or require I can do some where that would
allow this?
**********************************************************
Here is what I am trying to do:
**********************************************************
class Setting < ActiveRecord::Base
before_create :created_by_user #
2006 Mar 14
2
Where i can download docs for offline reference?
I have seen the testing doc or the FAQ on ROR site, but is there a zip
file for it?
2006 Jun 09
1
Rails Plugins With Views
Howdy Kids,
I currently have a Rails component we use in our CMS to display some
items... Well, everyone keeps telling me that components are going out of
style and could be depracated sometime soon so I''ve been looking at writing
a plugin.
Does anyone have an example of a plugin that includes views? I''d love to
check one out to get an idea of how to structure my own plugin.
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 Apr 18
3
install rail behind a proxy
Hello
i try to install rail. I am behin a proxy with no Authorization
C:\rubygems-0.8.11>gem install rails -p http://xxx.xxx.xxx.xxx
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source index for: http://gems.rubyforge.org
Install required dependency rake? [Yn] y
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 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