search for: singhi

Displaying 20 results from an estimated 90 matches for "singhi".

Did you mean: singh
2007 Sep 04
2
specing helpers fails on restful routes
...ject, but it seems the specs fail with the error: You might have expected an instance of Array. The error occurred while evaluating nil.<< if the restful routes helper are used either in spec files, or the helper file. What can I be doing wrong? Or how can I fix this. Thanks! -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com
2006 Mar 01
5
rails models, logging and testing
...matically ?found? using an Active Record finder method and put in an instance variable named for the fixture." But when I am trying to repeat this I am getting errors, am I missing something or doing something wrong or have other people also experience the same problem? Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read the latest news at: http://news.kreeti.com ,---- | "War is Peace! Freedom is Slavery! Ignorance is Strength!" | -- Orwell, 1984, 1948 `----
2006 Mar 13
3
"./blah/blah" vs. "/blah/blah"
...Edge rail, it doesn''t work and the page doesn''t shows any output there is no error in the development log as well. But changing the above to "/blah/blah" seems to fix things. Was I wrong in using the earlier convention or is something else amiss? Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "All animals are equal, but some animals are more equal than others." | -- Orwell, Animal Farm, 1945 `----
2006 Apr 02
2
Problem with edge rails
...llo, When I am trying to run rake migration tasks, I get the error as shown below. I am using ruby 1.8.4 and edge rails. What am I missing or doing wrong? C:\rails\temp1>rake db:migrate (in C:/rails/temp1) rake aborted! no such file to load -- rails_version Thanks for your help. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | Great wits are sure to madness near allied, | And thin partitions do their bounds divide. | | (John Dryden, Absalom and Achitophel, 1681) `----
2006 Mar 21
8
How to avoid multiple submits/posts?
...;'s Refresh button? On Aughey''s advice in #irc I tried using `redirect_to'' a new `:action'' but this approach doesn''t seems to work. Any idea what might be wrong or how to tackle this problem? Thanks for your help. P.S.- I am using edge rail. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "All animals are equal, but some animals are more equal than others." | -- Orwell, Animal Farm, 1945 `----
2006 Jun 19
2
Autocompleter enhancement feature request
...s is that in an empty field it is not possible to select an item from the drop down by clicking on it. (using arrows and tabs work fine). Please help me implement this feature. What am I doing wrong or missing in my implementation, which causes me to face the above problem? Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | Great wits are sure to madness near allied, | And thin partitions do their bounds divide. | | (John Dryden, Absalom and Achitophel, 1681) `----
2006 Apr 03
5
rails migrations - enhanced usage
...half not. Also, as the schema number is changed, so things cannot be rolled back. Is there any way to make the entire migration action atomic, i.e., everything or none at all? Also, while dropping tables how can I determine whether a particular table exists in the database? Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "War is Peace! Freedom is Slavery! Ignorance is Strength!" | -- Orwell, 1984, 1948 `----
2006 May 18
5
acts_as_classifiable plugin
Hello, I am pleased to announce the availability of the plugin acts_as_classifier which allows using the ''classifier'' gem in a Rails application. This plugin can be downloaded from http://opensvn.csie.org/sksinghi/acts_as_classifiable/ This plugin is useful in scenarios where you want to distinguish between spam or non-spam comments, Or maybe you want to track the preferences of each user and then based on that make suggestions to them, etc. More information + example on this can be found at: http://cu...
2006 May 03
7
anybody using GoDaddy for hosting ?
Is anybody hosting with GoDaddy.com? I''m about to set up a hosted account for my RoR app and see that they''re now offering RoR hosting. I''d really appreciate hearing from anybody who''s tried them for RoR. Any congrats / complaints / etc. you had / are having would be really appreciated! Thanks, Bill -------------- next part -------------- An HTML attachment
2006 Mar 08
2
RJS - page object in helpers?
...sages :textilize => true) page.visual_effect ''flash_messages'', :appear end and RJS file update_flash_messages page Notice the passing of `page'' object. Will it not be convenient if Rails does it automatically. Or am I missing something? Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com ,---- | Great wits are sure to madness near allied, | And thin partitions do their bounds divide. | | (John Dryden, Absalom and Achitophel, 1681) `----
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious about how Ruby Web Dev was done prior to rails. Any veterans want to share their insights? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 Apr 02
2
rails db indexing and through association
...table.column :picturable_type, :string, :limit => 10, :null => false end add_index :pictures, [:picturable_type], :name => "pictures_index_picturable_type" add_index :pictures, [:picturable_id], :name => "pictures_index_picturable_id" -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "War is Peace! Freedom is Slavery! Ignorance is Strength!" | -- Orwell, 1984, 1948 `----
2006 Jun 15
2
AJAX form inside table - error
...9;'}) %> <%= hidden_field_tag ''member_id'',10 %> <tr> <td ></td> </tr> <%= submit_tag "Save", :class => "button" %> <%= end_form_tag %> </table> Thanks for your help. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "All animals are equal, but some animals are more equal than others." | -- Orwell, Animal Farm, 1945 `----
2006 Jun 27
4
Action Mailer - weird rendering issues
...}/app/models/thought_observer.rb:17:in `after_save'' #{RAILS_ROOT}/app/models/thought_observer.rb:5:in `after_save'' The line 17 of thought_observer.rb contains ThoughtNotifier.deliver_share_notification(thought,user,notification.notification_code) Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "All animals are equal, but some animals are more equal than others." | -- Orwell, Animal Farm, 1945 `----
2006 Feb 21
4
Models, Helpers, Modules, etc.
...rollers from this class? Or again use modules to do so? [2]How can I provide an alternative name for a column in a model. alias_method :new_column_name, :old_column_name provides a new name only for the reader method, I want this to be done for the writer also. Thanks for your help. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read the latest news at: http://news.kreeti.com ,---- | "All animals are equal, but some animals are more equal than others." | -- Orwell, Animal Farm, 1945 `----
2006 Jul 13
2
Iframe upload indicator
I''m using the iframe trick to upload files with form_tag and a target pointing to the iframe. All is working, but I would like to display an indicator of the upload. All I want to do is show a hidden animated gif via Element.show. With form_remote_tag, i could use the :loading and :complete callbacks to do an Element.show and Element.hide. How do I achieve a similar effect with form_tag?
2006 Jul 20
1
Model CRUD via web services
Hello, I was wondering if there was any automated (may be scaffolding) way of exposing Model CRUD via web services. I found this ticket for django, but nothing for Rails. http://code.djangoproject.com/ticket/115 Thanks in advance for your opinions and suggestions. Regards. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "War is Peace! Freedom is Slavery! Ignorance is Strength!" | -- Orwell, 1984, 1948 `----
2006 May 04
1
Switching to production mode
...9;'ruby script\console'' it says loading development mode. Also, the webrick sends log messages to development.log file instead of production.log, from which I can guess that it is in development mode. Any hint or clue on what might I be doing wrong. Thanks for your time. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "War is Peace! Freedom is Slavery! Ignorance is Strength!" | -- Orwell, 1984, 1948 `----
2006 Feb 28
1
Cache Magic field for totaling
...ache field for associations, I want a similar cache for totaling up values (say account_balance = sum_of_deposits - sum_of_withdrawals). I was wondering if rails, already has another surprise in store for me, or is there any plug-in or how-to for doing these kind of things. Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read the latest news at: http://news.kreeti.com ,---- | "O thou my friend! The prosperity of Crime is like unto the lightning, | whose traitorous brilliancies embellish the atmosphere but for an | instant, in order to hurl into death''s...
2006 Jul 13
6
Webservices Xml-Rpc and authentication
Hello, I want to build an application where i have client and server. I need to exacute commands with XM-RPC. I can get all this working, following the howto''s in wiki and main website. But the problem is they are all unsecure. I can''t seem to find any web service examples where they use authentication, or ssl. Just wondering if anyone know how i go about doing this. At the