Displaying 20 results from an estimated 200000 matches similar to: "get list of printer"
2008 Jun 22
3
Routing Error No route matches "/employee/list" with {:method=>:get}
hi,
I am very frustrated by this error when I just put together a very
simple project from one of the textbook on RoR:
Routing Error
No route matches "/employee/list" with {:method=>:get}
For your reference,
#The following is EmployeesController.rb
class EmployeesController < ApplicationController
scaffold :employee # create scaffold code for controller
#
2008 Dec 08
0
Dot Matrix Printer
Hi,
Anybody have done a report for dot matrix printer.
"Tell me any reference" if you.know?
Thanks in Advance,
JK
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Aug 09
4
no route found to match "/rails/info/properties" with {:method=>:get}
After a new install (Ruby, Rails en Gem) on a newly installed OS. I''m
getting a ''no route found to match'' error. I Googled a bit, and saw
that more people had this problem with older rails versions. I''m on
Ruby 1.8.6, Rails 1.2.3 and Gem is 0.9.4, on a Mac running OS 10.4.9.
Any suggestion is welcome.
Regards,
Robert.
2008 Nov 01
2
get data from call back url
Hi...
I want to get parameters from call back url of my application
ex :-
http://localhost:3000/mail/aa/?hl=ene&zx=gfi1bdfgju6s&shva=1#inbox/11d555fsgw36fd424
as an example these params that attached how can I read when openning
page. I want put those values into Session variable..
help me
thankx
xxmithila
--~--~---------~--~----~------------~-------~--~----~
You received this message
2007 May 31
3
where to get list of all ActiveRecord classes
Anybody know how to get a list of all your model classes from a rails
environment?
I''d like to do something like "ActiveRecord::Base.subclasses" but that
gives me:
pcollins@horatio:~/proj/foobox$ script/console
Loading development environment.
>> ActiveRecord::Base.subclasses
NoMethodError: protected method `subclasses'' called ...
Anybody know how to do
2007 Nov 05
3
How to get rails command to default to MySQL instead of SQLite?
I''m running OS/X 10.5 Leopard. Although I have MySQL installed the
rails command creates a database.yml file that defaults to SQLite. How
do I get it to default to MySQL instead?
TIA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Nov 12
2
How to get hash values????
Hi,
please help me....
<% puts "Total #{@totalemail.inspect}" %>
My Output is: Total [{:email=>"aa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", :name=>"aa"},
{:email=>"bb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", :name=>"bb"}]
How to get email and name???
Thankyou.
--
Posted via http://www.ruby-forum.com/.
2007 Mar 19
4
Active session list
Hi all
Does anybody know how to get active session list or list of active
session ID in RubyOnRails?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2008 Dec 22
2
how to use the observe_field to get more than one field?
Hi,
I have two selctdropdown boxes name like "resolution" and "codecname".
Now i am able to get the single field value either from resolution or
codecformat select box.
ex:
observe_field ''resolution''
or
observe_field ''codecforamt''
is there any way to get the two fields in to the observe_field method ?
Can anyone give me suggestionfs or
2008 Jun 13
4
How to Print A Document Only
I am using PDF::writer to convert text to pdf files for printing. What I
would like to do is to be able to print it without allowing the user to
be able to read the files in pdf. What options do I have ?
If I send the files directly to the printer will I have difficulty down
the road with formatting text or embedding pictures in the printable
document? Is there some workaround where I make the
2007 Oct 29
2
UI drop down list pulled from database values in activescaffold
as i''m finding it difficult to override the form Ui elements using
activescaffold -= i''m looking for a help to build a drop down list in
UI (values pulled from databse through SQL query) and so user can
select these valus while submitting to database.
pls provide any example strictly using activescaffold plugin.
thanks
selvan-kalaiselvan
2008 Feb 28
2
change drop down list to radio buttons
In my RoR app I would like to change a drop down list, which dispays a
list of colors selected from the database. Instead I would like to
create a radio button for each color. The user is allowed to check one
color and this will be saved back into the database as the color for
this user.
I don''t know how to do this. Currently it looks like this:
<%= select(:user, :color_id,
2009 Apr 08
2
ADVANCED Rails Mailing List?
Is there an advanced rails mailing list? I''ve noticed that much of the
issues on this list are for beginner to intermediate issues, and
posters asking more advanced issues are rarely answered. I still find
this list to be very useful, but I would love to find a community of
more advanced RoR folks to discuss expert level implementations.
-Kevin
2007 Oct 05
1
Custom helpers for list of options?
Hi all,
I have a model that "belongs_to" many other models, many of those
models are just list of names, like country, state, city, profession
... I read about the country_select helper.
Is better to have all those tables or use custom helpers? what the rails way?
Thanks.
For example : http://pastie.caboo.se/104092
# = Schema
# country_id integer
# city_id integer
#
2007 Feb 08
3
Get categories where forum-user posted in
I''m developing a system similar to the ForumExample (http://
wiki.rubyonrails.org/rails/pages/ForumExample), and stumbled upon the
following.
Let''s say I wanted to get all the categories a certain user posted in.
How do I get that information withouth using a custom query
through :finder_sql (and thus losing the find_in_collection ownage)?
It would also be great to see how many
2009 Feb 09
2
how to get form parameters while using fields_for with nested attributes
hi all..
i am trying to use *fields_for* to get and save nested attributes in a form.
i have a ''Partner'' model associated with an ''Address'' model.
partner has_many :addresses
although the form is displaying fine, but on submitting it the following
error is shown:
*can''t convert HashWithIndifferentAccess into Array*
on this line:
*@partner =
2008 Mar 01
2
No route matches with {:method=>:get} Error in AWDWR Book
Hi I''m working on the AWDWR book and I''m on the admin section of the
book. I have rails 2 installed on my machine and I have ran into an
error when I created my controller login but when I go to
http://localhost:3000/login/index I get this error:
No route matches "/login/index" with {:method=>:get}
I haven''t touched the routes.rb file and when I generated
2008 Sep 23
1
Help with "No route matches "/MyTest/" with {:method=>:get}"
I just started working with Ruby. Anyways I can''t seem to figure out
how to have this message disappear. I was reading a tutorial and based
on it, when I type in http://localhost:3000/MyTest/ it should say
whatever I have written down on my my_test_controller.rb file.
I first ran: ruby script\generate controller MyTest
then I edited the my_test_controller.rb file
It currently says:
2008 Jun 08
1
Unable to get selected option with options_from_collection_for_select
I''m in Rails 2.1, Ruby 1.8.6 --
http://pastie.org/211063
<%= params[:doctor_id] %>
<%=
options_from_collection_for_select(Doctor.active, :id, :name, :selected
=> params[:doctor_id]) %>
<%=
options_from_collection_for_select(Doctor.active, :id, :name, :selected_value
=> params[:doctor_id]) %>
Returns:
53
<option value="49">Michael
2006 Nov 22
1
Peepcode REST podcast. ..didn't anybody get it ?
And if so, I''m going a bit bonkers here and need to watch it again, but
if I remember correctly, scaffold_resource generator was used, but for
nested resources
the show and index were removed from the controller ?
Is this correct as far as what happened in the demonstration and if so is it
correct as far as rest goes ?
TIA
Stuart
--
http://en.wikipedia.org/wiki/Dark_ambient