search for: dennis_byrne

Displaying 12 results from an estimated 12 matches for "dennis_byrne".

2006 Jul 25
3
Ruby hangman (was Re: List etiquette question)
...it doesn''t use a db. To make up for that heresy it only works in Firefox and there''s a good chance of pornography appearing for words like "children''s books" and "fluffy bunnies". I hope I am redeemed. http://rubyman.texxors.com/ Bryan On 7/24/06, Dennis_Byrne@ak.blm.gov <Dennis_Byrne@ak.blm.gov> wrote: > > > Don''t worry. > > Let''s see this beast ! > > Dennis Byrne > > > > *"Bryan Tec" <proglists@gmail.com>* > Sent by: rails-bounces@lists.rubyonrails.org > > 07/24/2006 02:...
2006 Jul 13
4
script injection/cross-site scripting protection
When is it possible to set <script>while(true){}</script> as the value of project.name, what it the best way to escape the output of the following? <td><%= project.name %></td> Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060713/bbdedb86/attachment.html
2006 Jul 05
3
override created_on column name
We are using Rails for a project that must integrate with a legacy database. Is there a way to get Rails to automatically set the timestamp for a column named something other created_on or updated_on ? Also, how does one manipulate the size of the database connection pool? Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 28
20
Rails Vs JBoss Seam
I have been frustrated with J2EE technology just like any other developer who has worked in that technology for a long time. This made me learn about Rails and I was excited about RoR. Today I came across JBoss Seam framework and I am not able to contain my excitement. My passion for JEE development is back. It seems like it is better than RoR. I would like to hear differnt opinions about this
2006 Jul 11
1
session state w/ >1 processes
When routing requests to more than one fcgi process, what are my options with Rails? Are most people in the community just using some form of session affinity? Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060711/2a366faa/attachment.html
2006 Jun 27
2
Transaction syntax for > 1 table/model
If I want to wrap two account updates, the syntax is ... Account.transaction(dennis, david) do dennis.withdraw(10); david.deposit(10); end .. where both dennis and david are instances of Account. Can someone please let me know what the syntax is for starting and ending a *single* database transactions which spans two *different* kinds of models/tables ? Dennis Byrne -------------- next
2006 Jul 07
0
datetime/date problems w/ Oracle
I am "script\generate scaffold"ing w/ Oracle. The CRUD controls for DATE columns in _form.rhtml are generated as datetime_select, rather than date_select . This is understandable, as Oracle uses a DATETIME data type for DATE columns. I''m also not too bothered by the fact that I have to manually replace "datetime_select" w/ "date_select" for all
2006 Jul 08
1
overriding validation messages
I have the following in my model validates_numericality_of :lwind_id When a user submits a non numeric value for the lwind control, the default validaiton message is "Lwind is not a number". I need this to say "Land Window is not a number". I have placed the following in my model validates_numericality_of :lwind_id, :message => "Land Window is not a
2006 Jul 24
1
Testing w/out DB connection
I have several plain ruby classes that do nothing but implement algorithms. What is the prefferred way to run these w/out making a DB connection every time? Thanks, Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060724/5ff610dd/attachment.html
2006 Jun 26
0
Using varchar() and/or concatented pks
Can someone please direct me to some documentation on how to use Active Record w/ alphabetic and/or concatenated primary keys? Thanks. Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060626/b4788431/attachment-0001.html
2006 Jun 30
0
Setting default schema with Oracle
I wish to avoid putting the schema name inside each model class. set_table_name "schemaName.tableName" In Oracle one does this with the following statement ... alter session set current_schema = ApplicationDatabaseAccount; How do I do this for the connection Rails makes for me? How do I control the size of the connection pool? Thanks, Dennis Byrne -------------- next part
2006 Jun 22
2
rails on Oracle 10g - missing controller ?
I am trying to generate my first scaffold but I am getting a 500 error from http://127.0.0.1:3000/foo . Below is the information about my system, as well as the commands I am typing. I have also included the DDL ( Oracle 10g ). I am mid way through chapter 6 of "Agile Web Development w/ Rails". Why aren''t there any files under app/controllers/ ? C:\tmp\rubyWork>ruby