Displaying 3 results from an estimated 3 matches for "wbsurf".
2007 Oct 20
2
where to put code for my own paginator ?
I had to make my own pagination class in SQL Server. What I am
wondering is where is a good place to put the code so that every
controller and template can have access to it ?
Right now I have put it in application.rb, the controller base class.
This seems to work well, I did a project last summer where I put stuff
in the lib directory. The only problem with that is that if you change
any code at
2008 Jan 18
18
Rails versus PHP in complex HTML/CSS
I have done a bunch of Rails stuff on my own and my company uses PHP.
I often have to integrate very complex HTML/CSS into PHP. I know that
the PHP looks more closer to the HTML than Rails because Rails has
alot of link_to and other macro like calls that generate alot of stuff
that you don''t see in the template. I am wondering if that could make
it any tricker to generate the complex sort
2009 Apr 30
2
how to search all fields for a string in SQL ?
Using SQL or activerecord I am not sure how to search all fields for a
specific value ?
I know how to do this by just writing ruby code. To do it in SQL or an
activerecord find w/condition,
I don''t know how. I actually am supposed to combine an find w/
condition and a search all fields for a
value and AND those together. I think perhaps it can''t be done with a
single find ?