Displaying 9 results from an estimated 9 matches for "mohnish".
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...Now here.. the command `ruby script/generate paperclip group_post
photo` worked perfectly fine for me.
The current error I am getting exactly looks like this:-
undefined method `has_attached_file'' for #<Class:0xb67119f0>
The **Application Trace** for the same is:-
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in
`method_missing_without_paginate''
vendor/plugins/will_paginate/lib/will_paginate/finder.rb:170:in
`method_missing''
app/models/group_post.rb:9
app/controllers/groups_controller.rb:27:in...
2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
...%>
<br />
<%= link_to ''New post'', new_post_path %>
This is what I get doing a **tail -f log/development.log**
ActionController::RoutingError (No route matches
"/photo/4/original/ruby-on-rails.jpg" with {:method=>:get}):
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in
`recognize_path''
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in
`recognize''
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems...
2011 May 25
0
Issues implementing jquery-form plugin for displaying image via an ajax call in my rails poc
...me issues wherein I guess my project app is some
how not able to detect the jquery.form.js file.... The exact error I am
getting is something like this from my log:-
ActionController::RoutingError (No route matches
"/javascripts/jquery.form" with {:method=>:get}):
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in
`recognize_path''
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in
`recognize''
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems...
2011 Jun 03
0
Rack Middleware support for Rails 2.0.2? If not what is the alternative to implement similar functionality in Rails 2.0.2..
...continued/).
I have referred to the rack-middleware Railscast by Ryan Bates(http://
railscasts.com/episodes/151-rack-middleware). I accordingly tried out
a `rake middleware` command in my config env. to check out the
middleware available wrt my rails app.
I go the following message/details:-
mohnish@mohnish-desktop:~/pocs_tried_for_use/postimage_poc3$ rake
middleware --trace
(in /home/mohnish/UP/pocs_tried_for_use/postimage_poc3)
rake aborted!
Don''t know how to build task ''middleware''
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/
rake.r...
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
Hello all,
I am trying to implement a feature in my app where a user posts a
message along with an image.
This is something similar to what is there in `www.diasp.org` .
I dealing with a pretty much outdated configuration of Rails 2.0.2 and
Ruby 1.8.7 , both running on Ubuntu 10.04 OS for project specific
purposes.
Initially, I found a problem in finding an appropriate plugin for
paperclip
2011 Jul 23
0
A way to talk to messaging api of linkedin through rails
Scenario:
I''m a registered user of a site(a rails app).
I have my contacts in linked in whom I would like to invite to see this
app(it would be followed up with their registration into this app).
For this , I would be sending them a message with a subject and body.
Rays of Hope:
I need to make use of the messaging api of linkedin and make it talk
with my rails app. I can''t
2012 Mar 14
0
Validating field uniqueness via Ajax call with appropriate message in Rails 3
Hello all,
I am trying to do a Rails + AJAX call validation to check for the
uniqueness of a field, by crawling the back end DB and return an
appropriate message based on the result.
I am on Rails 3.0.11.
Your kind inputs on what could be the best way to tackle this would be
of real help.
Is there a ruby gem / js plugin / jquery plugin that I can make use of?
Any blogs links implementing the
2013 Mar 14
0
Display custom links above top level arrays using Jbuilder
I have a custom JSON response in which I display a collection of 15
posts along with related data like comments etc., as part of an API
call. I am displaying the entire collection using Jbuilder .
json.array!(@posts) do |post|
..
..
end
I want to display pagination links above the response of the 15 posts,
in order to get the next set of posts with the appropriate next set of
next page and
2011 Mar 23
0
Implementing auto complete for more than one field in Rails
Hi,
I have an app, which implements a group feature. Each group has n
members. Also, each group has a group specific profile pic to it.
I have been able to implement auto complete for the group feature
keeping in mind the group name alone. I have referred to the following
tutorial for the same:- http://railsforum.com/viewtopic.php?id=23188
I am using **ruby 1.8.7** and **rails 2.0.2** for