similar to: The Rails3 way for in-place editing

Displaying 20 results from an estimated 1000 matches similar to: "The Rails3 way for in-place editing"

2010 Jun 04
4
Mac OS/X and Rails 3 ?
Hello List, Label me a newb, but how do you install Rails 3 on your Mac? Google sent me to these URLs: http://weblog.rubyonrails.org/2010/2/5/rails-3-0-beta-release/ http://guides.rails.info/3_0_release_notes.html http://asciicasts.com/episodes/200-rails-3-beta-and-rvm From early Feb 2010 I see this short recipe: gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail
2011 Apr 05
2
"Lazy" image resizing?
I''m looking at Dragonfly, which seems to offer what I''m looking for in this area: the ability to upload an image, then later request that image at a different geometry, and either get a cached copy of that resized image, or create and cache that image. Can anyone point me to alternatives? Is this something that can be added to Paperclip? I''ve only ever used
2009 Aug 17
1
ajax with will_paginate
Hello All i am calling users/list.html.erb using <%= link_to_remote("MEMBER LIST",:update => "mcont", :url => {:controller => :users, :action => :list }) %> after that i want to do paging in list file but i doesn''t want to refresh page so that i want to do ajax + will_paginate. if any idea about it....... -- Posted via
2013 May 17
5
Active Admin with Ajax call
Hello everyone. I''m begining with Ruby on Rails, and i''m facing some trouble with "ActiveAdmin with ajax." Here''s the situation: It''s a Kennel''s web site, so, while i''m creating a new dog, i have one select/options for the dog''s father, dog''s mother, and dog''s race. After select the dog''s
2010 Jun 17
1
SQLite - show html from entry
Hi, I have an entry in my database that has line breaks. I want those line breaks to actually appear as line breaks when the entry is displayed. So, I did something like: <%= string_var.sub("\n","<br>":) %> It partially works. It actually replaces the < with &lt and the > symbol with &gt. Is there a work around this? Thank you, Eric -- You
2009 Feb 11
1
Ruby on Rails: Talk | Google Groups
This is more an architectural question.... I am looking to create a domain that sells widgets (as an example) widgets.com Now I have three sales reps, that each sell different kinds of widgets, and do not need to know about each other. larry.widget.com moe.widget.com curley.widget.com I don''t want to repeat myself (of course!) with the shopping cart logic or the transactional
2010 Nov 18
7
Rails 3 ActiveRecord queries - I'm missing something very BIG
Hi, I know I am missing something very big regarding the changes with respect to activerecord in Rails 3. I can''t find the explanation. And I''m sure someone will kick my ass for not finding the right piece of info in the docs and guides. Please do. I have a working piece of code but I don''t like it. So. Very basic association: class Project < ActiveRecord::Base
2011 Mar 07
4
Railscasts down?
I have not been able to get railscasts.com recently, surely it has not been taken down also, along with the wiki. Colin -- 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
2006 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using Rails built-in javascript/prototype helpers, with just one extra line of code in your layout, a plugin, and one small enhancement to the helpers. Something like this: [php] <% form_remote_tag :controller => ''foo'', :action => ''bar'', :unobtrusive => true %> # which produces
2012 Mar 04
4
How to retrieve a FileBlob from 'ActionDispatch::Http::UploadedFile' instance?
I have used ''remotipart'' gem to upload files asynchronously to server side. The instance passed to the server side is of ''UploadedFile'' . The Rails API mentions all the methods( like read(), open() ) and attributes for the class, however I am not sure how to retrieve the File and store it on the database. The documentation hardly says anything. Googling
2011 Jun 10
0
Rails 3.1 RC4 with jruby-1.6.2 and stream-renderer missing constant Fiber
I just followed the railscast http://asciicasts.com/episodes/266-http-streaming to have streaming. calling the http://localhost:3000/users ends up with following error: [INFO] NameError (uninitialized constant ActionView::StreamingTemplateRenderer::Fiber): [INFO] /home/kristian/projects/sandbox/rails3.1/rails3.1-test5/ target/rubygems/gems/actionpack-3.1.0.rc4/lib/action_view/renderer/
2011 Sep 06
8
Ajax and rails 3 UJS (jquery)
Hi, guys, I''m in the midst of moving an app from rails 2.3.8 to rails 3.0.9. Sadly, rails 3 no longer has javascript generators and I''m now forced to do more javascript. For my project, I have selected jQuery as the javascript framework for my rails 3.0.9 app. What I have done to have my app''s deletion link (for each item) trigger an alert box when the deletion
2010 Nov 14
5
Authlogic and rails 3 : NameError in User sessionsController#new
Hi everybody, I''ve installed Authlogic on Rails 3 following the Railscast (http:// railscasts.com/episodes/160-authlogic), and the resources I was able to find on the web, but I''m facing a problem. Once I''ve generated the user_sessions controller and mapped the login and logout routes, I get an error if I try to load the login page : uninitialized constant
2013 Feb 19
4
Float::INFINITY ranges in where() clause
This seems like such an obvious idea that I''m having trouble believing I''m the first to think of it. Why not take ranges containing Float::INFINITY and translate them to the appropriate greater than or less than comparisons? Example: class Person scope :voters, -> { where(born_on: (-Float::INFINITY..18.years.ago)) } end This would generate something along the lines of
2006 May 11
1
Yahoo Container Library
Just a note that Yahoo came out with some more widgets Check out http://com1.devnet.scd.yahoo.com/yui/container/index.html. Maybe we can adopt some of their ideas. * I like the Module library and its subclasses * you can do unobtrusive html and use this when you instantiate the javascript objects dom _______________________________________________ Rails-spinoffs mailing list
2012 Sep 21
9
Using PostgreSQL with RoR on windows. Help!
So I just got involved in a huge team project with RoR and PostgreSQL. But I can''t find anywhere on the internet to find a proper way to put them together. I did find one but it is for iOS :-/ http://railscasts.com/episodes/342-migrating-to-postgresql?view=asciicast I have them both installed and the gem package for postgres also. the database.yml is already configured. I just
2005 Jul 12
11
how to cancel/stop a script.aculo.us effect
I apologise for what is probably a totally noob question here, but I''m at a loss after pouring over the docs and the source code for prototype and scriptaculous... After you''ve started an effect, how do you access it to cancel or change it? I had assumed it was something like this: myEffect = new Effect.Appear(element, {duration:1.5}); myEffect.cancel(); ... but that
2010 Feb 12
2
What happens to RJS in Rails 3
I know that Rails 3 ideal of unobtrusive javascript will result in the removal of all inline javascript. But where does that leave RJS? It looks like PrototypeGenerator is still a part of the Rails core, so I''m going to assume that RJS templates will remain unchanged. Still looks like gems/plugins such JRals will be necessary for use of other JS frameworks. Can anyone confirm or deny
2006 May 12
7
RJS and page.select collection size
I need to implement a conditional in my RJS template which looks something like: if (page.select(''row1'').first != null) page << "new TableRow.MoveAfter(''row1'', ''newrow'');" else page << "new TableRow.MoveAfter(''row2'', ''newrow'');" end Now, dumb question.. My
2013 May 23
3
Xen/ARM multiboot (v2) support
Hi Ian, can we push multiboot v2 support for Xen/ARM still into 4.3? It looks like it can coexists with zImage in the same binary - the multiboot structure can be put just behind the zImage header and the code can determine how it has been started: zImage bootloaders clears r0, multiboot one''s would set r0 to the MB magic. I will sketch a patch tomorrow, just wondering if we can have