Displaying 20 results from an estimated 20 matches for "jbresnik".
2008 Feb 02
3
Question abt redirect_to..
I found a reference to using attachment_fu and followed the lead of it
but having an issue with the redirect_to that renders the fb:render
tag - In my form I''m setting the canvas to false, file is being
uploaded / save fine but when I attempt to redirect:
redirect_to :action => :new, :canvas => true
Unfortunatly it looks like my callback URL is getting printed twice, e.g.
2006 Jul 26
7
RHTML in database?
Hi,
is it possible to store RHTML templates or partials in database?
thanks,
Bojan Mihelac
--
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com
-> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Aug 09
1
Berkeley DB XML Adapter?
Anybody thought abt an adapter for this? Obviously not in the purview of
ActiveRecord but could have a similar interface.. i.e. CRUD + find
[xpath] - Ruby binding does exist. Just curious.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 20
2
mysqld taking up 100% cpu
Every now and then, mysqld (5.0.22) jumps to 95%+ cpu usage and stays
there. Seems to be a common issue, as far as google can tell, but
details are alarmingly vague, and some people seem to suggest that
it''s a bad query causing it. How do I go about determining if it''s
something my application is doing?
martin
2006 May 30
3
collection.each { |x| puts x} in rhtml?
Been trying to use the short format for a collection in rhtml, i.e.
<% collection.each {|x| puts x} %>
Doesn''t seem to work though [outputs nothing]
?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 04
1
San Diego Rails Group?
Anyone in San Diego interested in organizing one?
2006 Aug 14
5
UML
In Rolling with Ruby on Rails tutorial -
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html - I saw that to
introduce a new element to my domain, I needed to define it in a table,
generate a model element with a similar name and the class would
autoamtically take the attributes from the table definition. Is it
possible to do this in the other direction... i.e to take the class
diagram
2006 Jul 17
7
SSL [X.509] Authentication in Rails?
Been doing some research but haven''t been able to determine much - has
anyone had any experience parsing incoming [on the request] x.509
certificates? Specifically, getting name, CA, etc. Here''s how you do in
Java Servlets for reference:
X509Certificate[] certs = (X509Certificate[])
request.getAttribute("javax.servlet.request.X509Certificate");
Thanks.
--
2006 Apr 12
9
Showing Images from a file store
Hi all.
I am wrting a small content management tool for my company and was
trying to display some images from our file store shown below.
<td> <img src="\\xx.xx.xxx.xx\xx\xx\xxx\abc.gif"/>
The app was displaying the image when it is under the \public\images
directory.
Is there anything special we need to do to get a file from outside the
root of the application?
Any help
2006 Aug 09
0
XForms?
Anyone had experience using XForms with rails? Did you have to write
xform helpers? Any info would be appreciated - thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jun 16
0
link_to_remote v. text_field?
Just curious if anyone had come across wanting to submit the value in a
text_field via link_to_remote [the more obvious way is to use
form_remote_tag]? It''s certainly possible using javascript but was
wondering if theres a rails construct..
--
Posted via http://www.ruby-forum.com/.
2006 Jun 21
0
Login Generator gotcha..
One for the archive:
Validation on a new password submission [/signup] was less than 30
characters [validates_length_of helper] but the resulting hash in the
database was more than 30 [c40] ? the result was that in a relation JOIN
that users the User model, the password *hash validates_length_of the
hash [and not the original textual password] which silently fails and
doesnt save the
2006 Jun 28
3
ERb question with xml
In the rdoc there''s an example:
xml.em { xml.b("emp & bold") }
Which produces:
<em><b>emph & bold</b></em>
But what if I wanted to nest tags with text, i.e.:
<em>just emph and <b>emph & bold</b></em>
?
I''ve messed around with it and have only gotten bizzare results or
nothing displayed at all -
2006 May 02
0
rxml props..
had someone today, say ''but yea can we offer this as XML?'' I said yea,
no problem [having never really done it before in rails].. nevertheless
I got it running using rxml while they were standing there.. anyhow
props to whoever put that together - very nice feature.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 19
0
XMLexamples?
Anybody got any good examples of using XML in Rails other than whats on
the wiki? esp. XSLT examples.. anything would be grand.
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 30
1
Applying a patch?
Is it possible to apply a patch to 1.1 without checking out the trunk,
etc?
If not any client recommendations for svn?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2008 Mar 06
1
Getting at the FB response XML in Facebooker
I''m working with Matt [rfacebook] on a ''Migration to Facebooker'' tag
that essentially sets the stage [with backward compatibility] for a
low-risk transition to Facebooker but had a quick question - doesn''t
look like it possible to get at the raw XML from Session/Service/etc -
is that a correct or perhaps I missed something? We don''t intend to
recreate
2006 Aug 02
1
PDF::Writer using rpdf templates..
I''ve been implementing this:
http://wiki.rubyonrails.org/rails/pages/HowtoGeneratePDFs
[PDF::Writer section on using rpdf templates]
Strangest thing tho is that it doesn''t work with IE [get a ''server not
found'' error] - after reviewing the headers and such, I noticed that
there was no file name for the generated PDF in IE - so I made sure that
this was in
2006 Apr 26
2
Multiple Select example?
I''ve been trying to sort out a multiple select dropdown but haven''t
found any good examples - anyone know of any or perhaps could make a
suggestion [see below]
Model:
1. Task AR has_many users
2. User AR belongs_to task
login/password attributes
Controller:
View:
<%= collection_select("task", "users" , @users, "id", "login", {},
2008 Jan 31
2
Multiple FB apps in a single Facebooker app?
May seem strange but I''ve gotten a couple requests from clients [2 out
of 4] abt this.. generally the requirement is that they want to serve
up slightly different content but from more or less the same app.. I
dug into init.rb and determined that its seems likely with some
rearranging of facebooker.yml config - is there anything else of the
top of anybody''s head that might be an