Displaying 20 results from an estimated 3000 matches similar to: "Creating a Dynamic/Custom form"
2011 Jan 12
14
WickedPDF vs PDFKit vs. Prawn, etc.
Thoughts on using WickedPDF vs PDFKit vs. Prawn or others for developing
forms with dynamic content?
TIA,
Garrett Lancaster
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2011 Jan 11
9
Can I omit respond_with.
If I don''t want xml results but only html can I omit respond_with in
some actions?
For example index from:
respond_with(@sectors = Sector.all)
becomes only
@sectors = Sector.all
isn''t it?
--
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
2010 Dec 21
8
Rails - escape_javascript without all the \n\n\n\n\n
Hello, I''m using escape_javascript to return a partial to the browser
via ajax.
Something like:
$("#inject").html("<%=escape_javascript(render :partial =>"feed/
index")%>");
Problem is escape_javascript ends up outputing all kinds of wasted
space like
\n\n\n\n\n \n
Is there anyway in Rails to escape_javascript more
2007 Apr 10
10
Could eBay be built with Rails?
My friend and I (both new to RoR) were having a discussion today about
whether or not you could build an exact replica of eBay using on Ruby
on Rails. I think that it could in fact be done, or at least a very
close model of the same concept. My friend seems to think that maybe
in fact, it could not be done.
What are your thoughts? Could an eBay clone be built using only Ruby
on Rails? What do you
2003 Jan 02
1
Samba Share out of space
I seem to have a problem in a folder within a samba share. For some odd
reason it's ran out of space in the folder. But other folders within the
share aren't out of room. Can someone please help!
Thanks,
Roger Miranda
Sumac Clothing Company
49 Adelaide Street
Winnipeg, Manitoba
Canada, R3A 0V8
t:??(204) 942-0091 (ext. 203)
????(866) 266-9488
f:??(204) 943-5939
c:? (204) 228-2032
e:?
2011 Jan 21
3
File Column open tmp file
Does anyone know how to open a file like the below?
"Filedata"=>#<File:/var/folders/9D/9D8PtWGBFgmSvF-Ue+uD9++++TI/-Tmp-/RackMultipart20110121-7108-6aqdij-0>}
file_column is used to upload a document and i need to open it just with
the information above,
Any ideas?
JB
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
2011 Jan 23
1
Force UTF-8 encoding
I''m writing an upload script for contact management, but having encoding
issues:
#=> Encoding::UndefinedConversionError: "\xFA" from ASCII-8BIT to UTF-8
I will not always know the encoding supplied, and this is the result of
`some_string.encode("UTF-8")`
I have also tried .force_encoding("UTF-8") to no avail. For now I''m
simply trying to
2011 Apr 18
1
has a field through an association
Hey guys,
Trying to figure out how to do something like the following:
class Child
belongs_to :parent
has_field :some_field, :through => :parent
end
class Parent
has_one :child
attr_accessible :some_field
end
child.some_field #=> parent.some_field
child.some_field = value #=> sets parent.some_field = value
I can of course accomplish this by adding custom accessors
2011 Mar 21
2
Keyboard repeat error - VNC Xen virtual framebuffer
Hello Xen-Users,
I am currently provisioning old Linux guests as HVM on a server, and giving
clients access through VNC. The current setup uses the default Xen
framebuffer as a VNC server (all configuration files have vnc=1 and a few
other settings), and my clients are using vinagre (a.k.a. Remote Desktop
Viewer) on Arch as their VNC client.
Problem: Keyboard input is not consistently handled
2003 Oct 24
1
Printing from Win2000
Hello,
I have just started using samba a couple of weeks ago. I am using
Slackware 9.1 and windows 2000. i can see everything. on my windows box i
can see my linux box and visa versa. but i have a HP deskjet 932c on my
linux box and i want to be able to print from windows. windows can see the
printer in network neighborhood but it says that it is unable to connect
access denied. i
2009 Jun 22
5
has_many through , or habtm , using form
i think there ara two ways of relate products and categories ,
basically i want to fix one product(e.g hp dv7....) to some categories
(notebook,17"notebooks...)
i made a table named categorization(incuding category_id,product_id
fields) then in models i write these codes below
class Product < ActiveRecord::Base
has_many :categories, :through => :categorizations
2009 Aug 19
10
acts_as_list / acts_as_tree / acts_as_nested_set - which one
I am creating forum application which needs usage of acts_as_list or
acts_as_tree or acts_as_nested_set.
I am unable to decide among these. please could some one recommend from
their experience?
--
Posted via http://www.ruby-forum.com/.
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi:
I am using authlogic, and following railscast tutorial. I am running
into this error code with the password confirmation.
authlogic password confirmation is too short
Has anyone experienced this error? I need your help.
Thanks in advance for your help.
2009 Aug 13
10
default value if textfield is empty
Hey all,
im not sure where to set a default value if a textfield is empty?
For now i do it in the controller, and check if the submitted parameter
is blank.
But this seems not to be the best solution...
Thanks for your help!
--
Posted via http://www.ruby-forum.com/.
2010 Aug 30
16
<b> tag in HTML 5 (was Re: Re: assert_select for <p><b>text</b>value</p>)
On 30 August 2010 15:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
> Colin Law wrote:
>> I have the following html
>> <p><b>text</b>value</p>
>> I can use
>> assert_select "p>b", "text"
>> to check the text portion, and
>> assert_select "p", "value"
2010 Jun 14
7
"NoMethodError in AdminController#index" error
hi, im totally a newbie so i have got no idea whatsoever why i got this
error, the thing that happend was i was doing a little coding along with
the lynda.com rails series that i got this error.
well as u can see this is the error which i get on terminal, but there
is another one in browser too which says : "NoMethodError in
AdminController#index " u can see it in the picture here :
2010 Jul 12
7
How do I clean up corrupted files from zpool status -v?
Hi Folks..
I have a system that was inadvertently left unmirrored for root. We were able
to add a mirror disk, resilver, and fix the corrupted files (nothing very
interesting was corrupt, whew), but zpool status -v still shows errors..
Will this self correct when we replace the degraded disk and resilver? Or is
there something else that I''m not finding that I need to do to clean up?
2017 Oct 31
2
Email Alerts for Multiple UPSs with upssched
Ah! So I can detect the source UPS in the upssched.conf and pass it as a distinct event to the shell script. That sounds like an excellent approach.
Thanks!
GMH
From: O'Shaughnessy, Mike [mailto:Mike.OShaughnessy at gd-ms.com]
Sent: Tuesday, October 31, 2017 12:46 PM
To: Garrett Michael Hayes <Garrett at VerbalImaging.com>; nut-upsuser at lists.alioth.debian.org
Subject: RE: Email
2009 Sep 01
9
Ruby on Rails Project Opportunities
Hi
I am currently recruiting for a number of freelance contracts and
permanent internal positions, both junior and senior, for Europe''s
largest and most dynamic Ruby on Rails development projects, offering
the chance to work alongside some of the industry''s leading figures in
the Web 2.0 development community. Selected locations include Germany
(eg Berlin, Munich, Hamburg,
2010 Sep 23
8
HowTo; Rails 3, having Tabs that load content via jQuery ... No Page Refesh
Hello, I''m interested in learning the correct/smart approach for
implementing a web page with tabs and a content panel... When the tab
is clicked by the user the tab''s content is fetched and inserted with
jQuery... no page refresh...
Example, Facebook, when you click Photos or Events, it doesn''t refresh
the browser, just replaces the content with AJAX in the