Archive for June 23rd, 2006
Plugin: cssForm
AD.D SoftWare have developed a new plugin for Rails called cssForm that lets you create forms without tables, entirely using CSS.
The interesting thing about this plugin is the way it lets you wrap certain behavior around standard elements. This technique could be very useful to pick about and redevelop for your own preferences.
Add comment June 23, 2006
How to search for a string on multiple fields across multiple joined tables in Rails
In my project I have to write a search controller, in which I have to search for a string on multiple fields across join tables.
There are two controllers Project, Publication and two models project and publication.
Project has many publication and publication belongs to project.
I wanted to search for a string on all fields of project and publications. For that I wrote a query in which I have to mention all the fields on which I wanted to search.
This was fine, but after some days I found a plugin: TextSearch. This changed the whole stuff.
This is a very useful plugin for search and you should try this.
For more detail please visit http://wiki.rubyonrails.org/rails/pages/TextSearch
1 comment June 23, 2006






