search for: brez

Displaying 20 results from an estimated 29 matches for "brez".

Did you mean: bret
2008 Jan 31
2
Multiple FB apps in a single Facebooker app?
...t 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 issue? thanks in advance.. brez
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 Jul 11
7
Rails associations: Easy Question requires dumb answer
***Scroll down to see the dumb quick question*** I have two Models: class Template < ActiveRecord::Base end which has this migration: /snip t.column :name, :string And the other model: class Product < ActiveRecord::Base has_one :template end with the migration: /snip t.column :qty, :integer, :default => 0 t.column :specialDescription, :string t.column
2006 Jun 10
7
Agile Web Development with Rails Page 33
I''m a real Newb; just bought AWDwR and using it with Win2000 - it took me ages, and only after reading Curt Hibbs Rolling with Ruby, to realise that I needed to use Cmd.exe before using AWDwR''s dave> instructions. I''ve created Say/hello.html and I still get "Template is missing" with http://localhost:3000/say/hello I''ve read
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 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
Why is my rxml view being wrapped by the rhtml template in views/layouts?
Why is my rxml view being wrapped by the rhtml template in views/ layouts? I was experimenting with REST, I had a nice little test program with one table: ''resources''. Here''s what the show method looks like: def show @resource = Resource.find(params[:id]) respond_to do |accepts| accepts.html accepts.xml end end I have a show.rhtml
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 Jul 20
2
Authentication & Authorisation - Whats the common approach?
Hi, Just wondering what the most popular approach is for authentication and authorisation in a rails application that is deployed and fronted by apache? Also when there are say a couple of rails apps being hosted. Authentication ============== [1] Options would seem to include: * Do it within rails/your app? Use of a "before_filter" per the Rails Recipes book * Use of Apache to
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 &amp; bold</b></em> But what if I wanted to nest tags with text, i.e.: <em>just emph and <b>emph &amp; bold</b></em> ? I''ve messed around with it and have only gotten bizzare results or nothing displayed at all -
2006 Apr 22
3
question about Rails with non-relational databases
I''m very uncomfortable with Rails right now because it seems to be totally wedded to relational databases. I want to develop my data and data structures in Tinderbox - a hypertext data development system from Eastgate systems (http://www.eastgate.com/Tinderbox/), export the data and datastructures, massage to some format, and then use with a dynamic frontend that builds a web page
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/.
2006 Apr 14
10
DHH Says...F You
WTF was this about? http://www.flickr.com/photos/planetargon/127984254/ Joe -- Posted via http://www.ruby-forum.com/.
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 02
9
RJS not cross browser compatible?
I have an RJS template that does the following page.insert_html :bottom, "some_id", ''<tr id="some_id"><td></td></tr>'' This works just find in safari and firefox. In IE and Opera it doesn''t work so great. Any ideas? Am I doing something wrong here? -- Posted via http://www.ruby-forum.com/.
2006 May 28
10
Equivalence of TSQL Stored Proc and User defined functions
RoR Equivalence of TSQL Stored Procedures and User defined functions As I browsed through the tutorials and online eBook ?Programming Ruby?, I have not come across the terms ?Stored Procedures? or ?User-defined functions? as I know them in SQL 2000. However, the online documentations in MySQL 5.0 show that Stored Procedures and User-defined functions are supported in MySQL 5.0. I wonder what
2006 Jun 21
5
Ok, its time. AJAX Games via Rails....
A couple of years ago I was building an online multiplayer game doing the frontend in Flash MX 2004 and using Colin Moock''s Unity server (http://moock.org/unity/) for the backend. This was to be along the lines of JungleWar and the Hidden and Dangerous mini games for those whom remember these: http://moock.org/unity/showcase/screenshots/hiddenanddangerous.gif
2006 Mar 10
8
XML Databinding frameworks
Are there any XML databinding frameworks available for Ruby / Rails, such as Castor or JaXB for Java? Also are there framework such as Apache Axis for WebServices for Rails or Ruby? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/3cf0cfd3/attachment.html