search for: rwalker348

Displaying 8 results from an estimated 8 matches for "rwalker348".

2007 Feb 01
12
RESTful Rails and other musings
Hi all, I would first like to introduce myself to the Ruby on Rails (RoR) community and to say that I hope to begin to build some relationships with other RoR developers. I''m a long time Java programmer (5+ years). Java was my first experience with Object Oriented Programming (OOP). Before Java I developed using many other languages including C, Pascal, Fortran, BASIC, Visual Basic,
2007 Mar 06
2
need to create a NewsLetter Funtionality in RoR
Hi, Me a newbie in RoR - switching from .NET. i want to write an application that has a newsletter functionality where I can create an interface where in I can have options to send newsletters to multiple people in the database. i need to make a form which has from hardcoded, to is selected from te database maybe a listbox next to it and then a subject and text area. how wud i go about doing
2007 Dec 30
4
:dependent for not destroying
Hi, Is there a way to use the :dependent option to set a certain attribute to null rather than destroying the records? For example, take the following models: User id, integer name, string group_id, integer belongs_to :democrats Groups id, integer name, string has_many :users If I delete a certain group, is there a way to have the ''group_id'' attribute of all the
2007 May 10
13
REST own action
I can sent my own action to a users_controller stating in routes.rb map.resources :users, :member => { :network => get } I defined in my users_controller the network action.... so I can have an url like "http://localhost:3000/users/168.xml;network" now I would like to have another action network_plus which is a little bit different fron the network.. sure, I can state another
2007 May 10
6
Where put buissness logic?
I''ve always think that it belongs to controller but I''ve read few articles that it should be done by model and controller should be thin glue betwean model and view. Where should I put it? Regards -- I''ve probably left my head... somewhere. Please wait untill I find it. Homepage (pl_PL): http://uzytkownik.jogger.pl/ (GNU/)Linux User: #425935 (see
2007 Sep 12
1
Counter cache like plugin for sum
Hi list, Is there a plugin similar to counter_cache except for caching sums instead of counts? The reason I ask is for performance and convenience for reporting. --~--~---------~--~----~------------~-------~--~----~ 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
2007 Oct 19
0
Rails 2.0 serialize
ActiveRecord in Rails 1.2.x has a method: serialize(attr_name, class_name = Object). I was wondering, given the new JSON serialization in 2.0, if it will be possible to request JSON instead of YAML when serializing data to a database column? Same goes for XML. It seems logical to modify the method to: serialize(column_name, options = {}). Then you could do something like: class User <
2007 Jun 18
2
mysql-5.0.41 and mysql native gem
Has anyone else had problems with the mysql native gem when using MySQL 5.0.41. It appears that this version of MySQL has moved some depended library files. I rolled back to MySQL 5.0.37 and all seems to be working now. But, just wanted to know if anyone else has experienced this issue. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed