Displaying 20 results from an estimated 2000 matches similar to: "act_as_state_machine plugin inaccessible"
2006 Jan 28
8
how to pass search parameters to pagination links
I have a search page with a text_field as below
<%= text_field ''program'', ''program_name'' %>
After I perform the search in my controller I go to a search results
view which shows search results and uses Rails pagination. Now how to
pass the search paramters (i.e. params[:program][:program_name] in my
controller) to the pagination links (next and
2006 Jun 01
5
Content Management System
I am looking for a good CMS based on Rails that has at least these
attributes:
1. Ease of use ( as it will be used by people who are not html literate)
2. Very easy/flexible to change layout.
So far I have looked at
http://rcms.oopen.de/Home/ (have not installed it yet)
http://adminpages.flowdev.de
http://demo.radiantcms.org/admin/pages
http://www.eribium.org/eribium/
MuraveyWeb does not seem
2006 Jan 17
2
change error messages for Validation helpers?
Is it possible to change error messages for Validation helpers? I am
writing an app against a existing database (so no control over column
names), but when there is validation error (e.g. with
validate_presence_of) I would like to customize the field name. For
example for telephone whose field name is PhoneNumber I would like to
chnage it to "Telephone Number cannot be empty" rather
2006 Jan 05
3
MS SQL server connection problems
I am trying to connect to a remote sql server and I am getting the
following error:
c:/ruby/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb:57:in `connect'': Open
(DBI::Databa
seError)
OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist
or access
denied.
HRESULT error code:0x80020009
Exception
2006 Feb 01
1
Rails pagination problem
I am having this problem with pagination query in my controller class.
I am using SQL server and following code to create pagination fails,
complains about column name ''program_name'' (which is valid
column/attribute of program)
The error message is:
DBI::DatabaseError: S0022 (207) [Microsoft][ODBC SQL Server
Driver][SQL Server]Invalid column name
2006 Jul 12
4
error when using plugin discover
When I run ./script/plugin discover to register new plugin sites I get
stopped at this point with the following error.
...
http://svn.northpub.com/plugins/
http://rhnh.svnrepository.com/svn/public/rails/plugins/
(eval):3:in `each'': undefined method `[]'' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:658:in
2006 Apr 23
1
file_column does not work with update model
When I am creating a model, everything works but not during update
(where I use Model.update_attributes(model_attributes) ).
I get the error:
Do not know how to handle a string with value ''image_xxx.jpg'' that was
passed to a file_column. Check if the form''s encoding has been set to
''multipart/form-data''.
The form is indeed multipart. Does
2006 Jan 04
2
how to display validation error messages for multiple record form
I am trying to figure out how to display model validation error messages for
a multiple record form.
My form is for setting up new accounts and collects information for two
models - Accounts and Users.
My create method collects the parameters from the form and adds them to a
Account object and a User object then runs account.valid? and user.valid?.
If it''s valid it updates the models
2006 Mar 23
5
Dirt simple .rcss templates
There was some discussion on this list recently about doing .rcss
templates in Rails using a custom template handler. I''ve come up
with a very simple way to support rcss without a handler. Turns out
all it takes is a route and an action that calls render(:file...). I
put a full write-up on my blog earlier today:
2006 Jun 13
4
script/plugin discover breaks?
Hi everyone,
I was trying to discover some new plugins, but the script breaks at a
certain point:
$ ./script/plugin discover
Add http://delynnberry.com/svn/code/rails/plugins/? [Y/n]
Add http://svn.recentrambles.com/plugins/? [Y/n]
Add http://svn.hasmanythrough.com/public/plugins/? [Y/n]
Add http://www.svn.recentrambles.com/plugins/? [Y/n]
Add http://sean.treadway.info/svn/plugins/? [Y/n]
Add
2006 Jun 12
3
standard way of downloading & using rails standard plugins
Hi,
I am a newbie to ruby & rails.
Can anybody give me some inputs as to how to download & use standard rails
plugins.
Any help regarding this will be greatly appreciated.
--
If not you then who.....
If not now then when......
-----------------------------------------------------
With Best Regards,
Medha.
-------------- next part --------------
An HTML attachment was scrubbed...
2006 Feb 02
6
How do I? Same Model, Different Controllers, Different Validations?
Hi all --
The simple question is: How do I set different validations for the same
Model, when accessed in different Controllers?
Here''s the scenario: I have a store/cart app, with a customer-facing
shopping cart, and a typical Admin side. The Admin side also has an
Order Entry component, where our staff can enter orders received by fax,
telephone, etc. Both the customer-facing cart
2006 Apr 16
2
Making requests in order
Hello all,
This is an interesting problem I have been working on. What I have is a
little multiuser project request tracking application. What happens is
that I log in and create projects and assign people to the projects.
Each project has steps associated with it, and the steps need to be done
in a certain order. Now, I have to request that the assigned person
perform each of the steps, and
2006 Jan 30
1
Introduction & time_zone_select with mapped TimeZone question
I''m new to this list, I''m a student in History, Computerscience and a
bit of Philosophy from the Netherlands... I have started using rails a
few weeks ago, I did read the Agile Webdevelopment with Rails book, and
I generally started to love Rails for it''s sheer beauty and intelligent
structure...
However I came across something that puzzles me quite a bit. It''s
2005 Oct 06
5
webrick seen only on local machine
I am running the webrick server (/script/server) and I would like to be
able to view the application from any browser. However, I can only see
my application from a browser opened up on the localhost. When I use
any other browser it times out. I have already modified the following
line in the /script/server file (I''ve tried the numeric ip address also)
so that it is the real ip
2006 Apr 18
11
how to release a plugin
I''ve developed a very useful (at least to me) plugin for rails. How do
I go about releasing it. I have an account with rubyforge but I don''t
know how to let rails know about it.
Charlie Bowman
www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Oct 03
3
WriteBoard for Programmers? (code support)
Anyone think it''d be useful to make a WriteBoard type application
that supported ruby, html, etc. and allowed programmers to
collaborate on writing scripts or just code in general and track each
others changes? Just a thought.
- Jim
2005 Sep 19
5
switchtower beta gem?
would it be possible to get another beta gem posted for switchtower?
core rails has been getting nice regular updates to the beta gems, but
switchtower is still back at 1962.
2006 Aug 02
10
Ruby deamon
We are building a web-based application with Ruby on Rails and MySQL
backend. The client now wants us to add various workflow features that
will eventually expand into SOAP web services.
These workflow features include tasks such as automatically sending
reminders for due tasks, or if a particular set of information hasn''t
been logged by a certain time to automatically send an email
2005 Oct 06
3
Ruby/Rails TextMate macros
Could someone kindly send me a copy of the TextMate macros that pertain
to Ruby and Rails? I am assuming they are stored in or can be exported
to some kind of plain text file...
Sadly I am not yet able to make the leap from Linux (and Windows) to a
Mac and I am using Slickedit, which has *zero* built in support for
Ruby/Rails. I can add macros and code templates so I thought it might be