Displaying 10 results from an estimated 10 matches for "penguini".
Did you mean:
penguins
2012 Sep 20
7
jQueryUI autocomplete (Rails 3.1): can't get source as url to work
Hey,
I''m able to duplicate everything in Ryan Bates'' screencast on jQueryUI
autocomplete (#102<http://railscasts.com/episodes/102-auto-complete-association-revised>),
except for the piece that calls the server for completion data.
Here is my view html:
<input data-autocomplete-source="/searches" id="search-markets"
2011 Jul 29
7
Rails and Service Oriented Architecture (SOA): any downsides?
Hey folks,
I like what I''m reading about improved performance via Service
Oriented Architecture for my Rails app. Stepping in that direction
will require some code reorganization, though. Has anyone regretted
the time invested in Rails SOA or suffered any other drawbacks that
might -- from a business perspective -- have disinclined them from
going SOA?
Lille
--
You received this
2011 Jun 06
0
quick question: are errors best checked on controllers by stubbing save/update_attributes?
Hi,
Is it best to simulate errors in functional testing by stubbing the
controller save/update_attributes to return false? Will I miss
anything important if I always test controller behavior in the case of
errors in this way?
Thanks,
Lille
--
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
2012 Feb 08
0
do I mount rack apps in Rails (3.1) for faster APIs?
Hey,
I''m not sure I fully appreciate the best use(s) for Rack apps (e.g.,
Sinatra apps) in a Rails (3.1) application...
Scenario: I have in mind a bunch of RESTful controller actions linked
to models -- all for providing an API.
Approach 1: handle each resource from its own mounted Rack app:
+ ''Rails 3 in Action'' advises mounted rack apps for Rails APIs because
they
2012 Apr 15
0
including third party javascript API in Rails 3.1 works in server mode, but not when testing
Hey,
I can use google maps api v3 in my Rails 3.1 app in development by
including the following in the layouts/application header:
<script src="https://maps.googleapis.com/maps/api/js?key=[...my key
here...]&sensor=false&libraries=places" type="text/javascript"></
script>
But when I integration test my app (capybara-webkit) I get a js error
associated
2010 Jul 07
1
what is a session stored via the active_record_store option unique to?
Hi,
After a bunch of snooping in AWDWR and Railsguides I can''t reach a
good understanding to the following question: What is a session stored
via the active_record_store option unique to? In other words, how does
rails bind the user to their session under the active_record_store
option?
This concern has arisen in the following way...
...I have two use levels in my app: 1) authenticated
2010 Jul 12
1
newbie: what is preferred approach for including javascript files?
Hi,
What is the cost of not cacheing javascript? If that cost is serious,
do I prefer to selectively include javascript files only for view
where they are needed? In other words I see four options:
1) Cache everything in layouts/application.html.erb and don''t worry
about selective inclusion of .js files where they are needed;
2) cache some things in (e.g., dependencies like jquery) and
2010 Nov 30
3
how to 'delete' an object from an association collection in-memory only
Hi,
My Rails app offers opportunities to try out models on a ''what-if''
basis, where dependent associations can be modified to obtain
alternative results for the parent. Is there a way to delete/destroy
the member of a collection so that I can play around with the
accordingly modified parent in memory, without actually committing the
destruction of the collection member to the
2010 Jul 06
4
how to make confirm boxes conditional?
Hi,
I''d like to make the :confirm option in my link_to/button_to erb
elements conditional. So, if the page is in some state, no
confirmation is requested, but not otherwise, etc.
So far, my only (ugly) approach is to replace the linker html itself
depending on changes in state, but I believe there must be an easier
way to ''toggle'' the confirmation option on/off.
Can
2010 Jul 09
6
deployment question: has anyone deployed w. sqlite?
Hi,
I''d like to make a demo version of my app available, but I''m not ready
to get into database stuff, yet. Has anyone ever deployed with sqlite
(what I used to develop my app)? If so, what hosting service(s) would
you recommend?
Thanks,
Lille
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this