similar to: observe_field for jquery + rails3

Displaying 20 results from an estimated 60000 matches similar to: "observe_field for jquery + rails3"

2010 Sep 09
0
Rails3: jquery-rails gem sets 'config.action_view.javascript_expansions' but cannot be overriden in 'config/application.rb'
Hello, I''ve created a new Rails3 app and I''m using jQuery instead of prototype. Gemfile: gem ''jquery-rails'' in my config/application.rb I want do the following: config/application.rb if Rails.env.production? config.action_view.javascript_expansions[:defaults] = %w(jquery.min rails application) else
2010 Dec 20
2
The Rails3 way for in-place editing
Currently I want to implement in-place editing directly on the index-page (for the sake of learning just xx products with a name to be edited). These are my favorite links from yesterday''s research (for the archives): *On the spot is a Rails3 compliant unobtrusive javascript in-place-editing plugin: http://rubygems.org/gems/on_the_spot
2010 Oct 11
0
Converting observe_field to UJS in Rails 3
I am trying to rewrite my website in Rails 3 and Ruby 1.9.2. Can some one help me convert my observe_field which is working under Rails 2.3.5 to Rails 3. I would like to avoid using JQuery as over the last year everything I have tried in JQuery has failed, including this one. Perhaps due to my lack of knowledge. I would not like to install the legacy upgrade. What I have in my website is several
2010 Feb 08
1
can use use observe_field with a 3rd party server?
Hi- I''m trying to implement an auto-complete using Yahoo''s autocomplete server, which basically suggests search completions: http://ff.search.yahoo.com/gossip?output=fxjson&command={your searchterms}'' if you want to see the results in your browser, use xml instead: http://ff.search.yahoo.com/gossip?output=xml&command={your searchterms}'' So, I can
2011 Oct 24
1
JQuery autocomplete example
I was trying to follow along on the github example (https://github.com/crowdint/rails3-jquery-autocomplete) for building an autocomplete and ran into a small set of problems. I''m not using the exact names of models, but I suppose I could. It''s just a dummy set. For me: Model is Package and attribute is Brand. I don''t understand what the reference to class
2010 Oct 21
0
attachment in the database with thumbnail generation - rails3
What is the best solution for handling blob database storage with rails3? I used attachment_fu before, but it doesn''t seem to work well with rails3. Anyone got it working? paperclip seems nice, but i need database storage for backups and security. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,
2011 Dec 02
1
How to implement ActionMailer callbacks for rails3?
Hi, Is it possible to implement callbacks(like before_deliver :some_methodes, after_deliver :other_methods) with ActionMailer in Rails3? Please somebody help me or give me an idea :) Already I saw http://railscasts.com/episodes/206-action-mailer-in-rails-3 but it I like to do it as callbacks -- Best Regards Abdul Barek Senior Software Engineer -- You received this message because you are
2010 Oct 02
0
Ajax observe_field not vorking on Rails
down vote favorite I am trying to create some kind of search in my ruby on rails application and I want to add ajax support. I want when a user types in a search box a word, ajax automatically generates the results. And I have searched almost all internet and I couldn''t find answer to following question: When I type into my text area nothing happens. It is like ajax is not working at
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody, I''m trying to use the prawn gem into a new rails3 application on debian. What I did: As root: - install rubygems, from http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz - gem install rails - gem install prawn - gem install pdf-reader - gem list | grep prawn => prawn (0.8.4) prawn-core (0.8.4) prawn-layout (0.8.4)
2010 Aug 30
1
in a rails3 - rspec then require 'authlogic/test_case' and now I broke stuff?
I''m a newb here and probably shouldn''t be using Rails3 yet to start with, but for some reason I was feeling adventurous. I''m also learning to use rspec along the way and things ''were'' working out with my ''rake spec'' until I tried to follow some examples for test Authlogic with rspec. I ''think'' what started the
2011 Feb 07
1
[Rails3] How to define RAILS_ENV for rake?
With Rails3, it is no longer possible (well soon to be deprecated) to do: $ RAILS_ENV=test rake db:migrate So what''s the new way of doing it? -- Posted via http://www.ruby-forum.com/. -- 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
2010 Aug 22
1
rails3: t.index in migrations not working anymore
Hello, I''m playing around with Rails3 and trying to upgrade one of my applications to Rails 3.0.0.rc and I get an error which should be still working. Migration: t.index :name When I execute rake: rake aborted! An error has occurred, all later migrations canceled: undefined method `index'' for #<ActiveRecord::ConnectionAdapters::TableDefinition:0x4b2b6b0> Does some one
2010 Jul 08
1
[Rails3] Issue in modifying locale and redisplaying page
In a test app, I have a drop-down selection to change the language of the site. I use an Ajax request to an action in which the locale is changed, and the it''s redirected to the home page unfortunately, the locale seems to be changed but the home page doesn''t reflect the new language .. application_controller.rb .. before_filter :set_locale def set_locale I18n.locale =
2010 Feb 06
2
observe_field example of two related selects
I''ve done the ''Googling'' for days now to find an example of using two dependent select statements on a form where the user selects the parent record value and the observe_field ''kicks in'' to create another select that shows parent.children offerings. Is there anyone I can pay to provide me with the simplest example? If so, please contact me by email.
2012 Jan 16
0
Rails3 logging issue in development.log
I have a rails3 app, i need to log all into development.log, But when i check after the execution, the development.log is empty...How to rectify this problem... *development.rb* * * ApiMofobi::Application.configure do # Settings specified here will take precedence over those in config/application.rb # In the development environment your application''s code is reloaded on #
2010 Sep 30
0
upgrade to Rails3 question
Hi! After upgrading to Rails3 and the latest plugins, two of the plugins: delayed_job and oauth_plugin don''t work. They display a similar problem, I am not able to use methods they provide. In delayed_job''s case I can''t use Model.delay.method (undefined method) and with oauth_plugin adding oauthenticate in the controller returns undefined method too. Could I have
2010 Jul 19
0
redcloth with rails3 and ruby 1.9.2
is redcloth working with rails3 and 1.9.2? I don''t see it here - http://railsplugins.org/ redcloth 4.2.3 throws this exception when trying to use the method textilize: uninitialized constant ActionView::Helpers::TextHelper::RedCloth I might need to use the 1.9.2. can you guide me how to use the 1.9.2 version? (I assume i''ll have to clone the repo but not sure what to do next).
2010 Sep 24
0
template.base_path in rails3
Hi! With Rails 2 template.base_path and template.name were available in views. What are the Rails3 equivalents? -- M. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2010 Jul 08
0
Rails3 -- Replacement for ActionController::Base.relative_url_root?
I have a post on stackoverflow which outlines the problem I am having: http://stackoverflow.com/questions/3181746/what-is-the-replacement-for-actioncontrollerbase-relative-url-root In short, I ported a rails 2.x to rails3 and started getting a deprecation warning for using ActionController::Base.relative_url_root. I switched to using config.action_controller.relative_url_root and while any
2012 Mar 23
0
deploy rails3 application on windows server 2011
Dear All, I want to deploy the rails3 app on the windows server, but i searched a lot and also test a lot, all failed. could anyone show me the details of the setting? Thanks. Daisy -- Posted via http://www.ruby-forum.com/. -- 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