search for: glancast

Displaying 5 results from an estimated 5 matches for "glancast".

Did you mean: clangast
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
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 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 10
8
Creating a Dynamic/Custom form
I am pretty new at rails and seem to be stuck on an issue. Trying to find a way to get me app admin to create a form on our rails app. These would include: - Select form control type - Select required validation - Select price change if selected How should I even start going at this? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
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