r hire"
situation, in which case the OP's company is the copyright owner. It's
tricky, and obviously there is *lots* we don't know. Still stand by the
advice of OP to seek legal advice immediately. (Which I know you were not
discounting, Walter.)
> Walter
>
> On Oct 2
I just want to caution the OP. You may not own the code. It depends upon
who retains copyright, and licensing, etc. If you have paid the agency for
their work, which you should do if you have a contract, you *may* have a
right to the source code, or you may not, again, depending on your
contract. J
On Wed, Oct 23, 2013 at 6:18 PM, Walter Lee Davis wrote:
> Can anyone point me to a definitive guide to the new strong parameters? I
> didn't see it in the Rails Guides anywhere.
Hard to say about "definitive", but this is my go-to:
http://edgeguides.rubyonrails.org/action_controller_overview.h
sorry, that term is just too ambiguous. what sort of resources? what/how
do you want to manage them? what do you want this plug-in to actually do?
On Jun 3, 2013 5:37 AM, "Dani Dani" wrote:
> Hi,
> Does anyone know any good plugin/opensource "resource management tool" ?
> I need it for my cours
On Wed, May 29, 2013 at 7:25 AM, Anjania Catus wrote:
> Hi all, maybe it will be a strange question but as a sysadmin , I have to
> move a rails application with his environnement from a server to
> another(vps) . I would like know how can I clean correctly and safely the
> old server (the appli
Test them from tests.
On Wed, May 29, 2013 at 4:25 PM, Wins Lin wrote:
> With
>> rails console --sandbox
> I cant test my models, save data to db and all will be rolled back
> after.
>
> But is it possible to test view helpers from console? I talk about these
> helpers:
>> post_path
>> link_to
>>
On Tue, May 21, 2013 at 11:27 AM, John Merlino wrote:
> I was using this code
>
> url = "http://#{agent_host}:#{agent_port}/home/create_unit?";
>
>
> And it worked fine in development but for my config.yml, I was
> specifying localhost for agent_host. However in production, agent_host
> is
On Mon, May 20, 2013 at 10:36 PM, Majid L. wrote:
> Hi, I am new in mac and ruby on rails, please bear with me if I asked
> stupid questions :
>
> I tried to install, rails in my mac :"
>
> bdelmajids-iMac:~ majid$ gem install rails
> ERROR: While executing gem ... (Gem::FilePermissionError)
>
On Tue, May 21, 2013 at 12:01 AM, Rochit Sen wrote:
> Rochit Sen wrote in post #1109638:
>> mike wrote in post #1109637:
>>> On Monday, May 20, 2013 1:26:20 PM UTC-4, Ruby-Forum.com User wrote:
def load
>>> You need to configure the route in the config/routes.db file. In this
>>>
and now i'm not going to bother spending any more time on it
On Fri, May 17, 2013 at 11:58 PM, tamouse mailing lists
wrote:
> maybe read my follow up
>
>
> On Fri, May 17, 2013 at 1:44 AM, Assaf Shomer wrote:
>> tamouse mailing lists wrote in post #1108881:
>>>
maybe read my follow up
On Fri, May 17, 2013 at 1:44 AM, Assaf Shomer wrote:
> tamouse mailing lists wrote in post #1108881:
>> https://github.com/assafshomer/clear_button/pull/1
>>
>> On Mon, May 13, 2013 at 11:20 PM, tamouse mailing lists
>
> Tamouse, thank you.
>
On May 16, 2013 8:23 AM, "Matt Jones" wrote:
>
>
>
> On Wednesday, 15 May 2013 07:30:14 UTC-4, UA wrote:
>>
>> I have a Rails app. One of my clients is importing French Text which
>> is appearing weirdly. Check below example:
>>
>> 1. str = "--- \nFrench: \"3. Combien de r\\xC3\\xA9gions y a-t
On Tue, May 14, 2013 at 1:58 PM, Nike Mike wrote:
> How to combine cucumber features with selenium that runs on rails 3.2
This might be a good start to look at:
https://github.com/searls/remote-capybara-cucumber-example
--
You received this message because you are subscribed to the Google Grou
On Wed, May 15, 2013 at 6:30 AM, UA wrote:
> I have a Rails app. One of my clients is importing French Text which
> is appearing weirdly. Check below example:
>
> 1. str = "--- \nFrench: \"3. Combien de r\\xC3\\xA9gions y a-t-il
> au Cameroon?\"\nEnglish: 3. How many regions are there in Camer
On May 15, 2013 3:09 AM, "Saravanan P" wrote:
>
> Hello Everyone,
>
> I am getting following error while updating the record. i.e I have "save
draft" function so I am saving data while user click "save draft" using
ajax and I will change the form as update and set message id and payment id
in ajax
On Mon, May 13, 2013 at 11:23 PM, tamouse mailing lists
wrote:
> https://github.com/assafshomer/clear_button/pull/1
>
> On Mon, May 13, 2013 at 11:20 PM, tamouse mailing lists
> wrote:
>> let me push my change up and do a PR and see if you can see a diff: it
>> works for
https://github.com/assafshomer/clear_button/pull/1
On Mon, May 13, 2013 at 11:20 PM, tamouse mailing lists
wrote:
> let me push my change up and do a PR and see if you can see a diff: it
> works for me.
>
> On Mon, May 13, 2013 at 12:28 AM, Assaf Shomer wrote:
>> tamouse mail
let me push my change up and do a PR and see if you can see a diff: it
works for me.
On Mon, May 13, 2013 at 12:28 AM, Assaf Shomer wrote:
> tamouse mailing lists wrote in post #1108719:
>> On Sun, May 12, 2013 at 4:46 PM, Assaf Shomer
>> wrote:
>>>>
>>>>
On Sun, May 12, 2013 at 4:46 PM, Assaf Shomer wrote:
> tamouse mailing lists wrote in post #1108701:
>> On Sun, May 12, 2013 at 3:11 PM, Assaf Shomer
>> wrote:
>>> If you feel inclined to help, please clone the repo and run the test
>>> mentioned in the readme
On Sun, May 12, 2013 at 3:11 PM, Assaf Shomer wrote:
> I am having an issue where a feature works fine but the corresponding
> test fails, and I can't understand why.
> I created a mock application to demonstrate the problem.
>
> https://github.com/assafshomer/clear_button
>
> All it does is show
On Sat, May 11, 2013 at 1:11 AM, Unix R. wrote:
>> Okay, cool, I can see now what you are thinking of.
>>
>> Starting out, I'd make a module, gem, engine, whatever you choose,
>> that just allows you to test out the API; keeping it in it's own space
>> will help keep your application modular; you
On Sun, May 12, 2013 at 4:22 AM, Iago A. wrote:
> Hy guys, how I fix this problem?
What do you see when you follow the instructions on line 2:
Could not find a JavaScript runtime. See
https://github.com/sstephenson/execjs for a list of available
runtimes.
--
You received this message because y
On Sat, May 11, 2013 at 2:17 PM, spectergeek wrote:
> Creating a production DB (not production as in rails terms but production as
> in from sales order to shipping) for a small business. I'm completely new to
> rails and fairly new to web development. I'm going through the tutorial
> here http:/
I recently installed all this on a new macbook pro, with mountain lion
as of last october. Steps I took were:
1. Install and set up homebrew package manager [http://brew.sh/]
2. Install mysql via homebrew
3. Install rvm, ruby, gem, rails [http://rvm.io]
4. Create rails app [guides.rubyonrails.org]
On Fri, May 10, 2013 at 8:44 AM, Unix R. wrote:
> tamouse mailing lists wrote in post #1108475:
>> On Thu, May 9, 2013 at 8:47 AM, Unix R. wrote:
>>> any guide and example will really appreciate and help me to learn.
>> I guess my first question is: if you don'
On Thu, May 9, 2013 at 7:20 AM, Scott Eisenberg wrote:
> Try this for the naming conventions
>
> http://itsignals.cascadia.com.au/?p=7
>
>
> On May 9, 2013, at 3:26 AM, "ank k." wrote:
>
> hi!! i am a newbie in ROR, I am getting this error i understand what the
> error says but don'y know why i a
On Thu, May 9, 2013 at 8:47 AM, Unix R. wrote:
> Hello Experts,
>
> i am trying to use pulp gem on my ruby application, i did the gem
> installation and generated new scaffold, but i am not able to get how i
> can use that gem in my application ?
>
> https://github.com/duritong/ruby-pulp
>
> this
On Wed, May 8, 2013 at 7:20 PM, Waynn Lue wrote:
> I'm getting exceptions from my server when a bot starts crawling random
> incorrect un-escaped URLs (up to a few thousand now), specifically with % in
> the URL. I've looked at a bunch of issues in rack here and here and rails
> here, and looked a
On Thu, May 9, 2013 at 11:59 AM, Sumit Srivastava
wrote:
> Hi,
>
> I have a partial which is being rendered in a view in controller A. This
> partial has a form which calls 'update' action in controller B. If update
> fails I have the render back the original view again with the proper errors.
> I
> 2013/5/7 Colin Law
>>
>> On 7 May 2013 13:17, tamouse mailing lists
>> wrote:
>> > On Tue, May 7, 2013 at 1:08 AM, Maddy wrote:
>> >> Hi Folks,
>> >>
>> >> My search fields,
>> >>
>> >> Firstname*
>&
On Tue, May 7, 2013 at 12:43 PM, John Merlino wrote:
> I'm looking at the documentation:
> http://ruby-doc.org/stdlib-2.0/libdoc/net/http/rdoc/Net/HTTP.html
>
> And I notice two uses of Net::HTTP. Both are using GET requests. But
> what's the difference? When to use which?
>
> Net::HTTP.start(uri.
On Tue, May 7, 2013 at 1:37 PM, Robert Walker wrote:
> Fritz Anderson wrote in post #1108098:
>> ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.0]
>> Rails 3.2.13
>>
>> I have a validates ... :uniqueness constraint on one of the attributes
>> of an ActiveRecord class.
>>
>> In my test
On Tue, May 7, 2013 at 2:06 PM, Linus Pettersson
wrote:
> Absolutely, that's a valid argument. However, if you need to do some
> customizations and start monkey patching a gem you may open it up for
> vulnerabilities as well, right? Plus, it would make your code messy when you
> have some code in
On Tue, May 7, 2013 at 1:08 AM, Maddy wrote:
> Hi Folks,
>
> My search fields,
>
> Firstname*
> Lastname*
> MI - Middle initial
> State*
> ID
> Birthday
>
> when people will search John Bolton in any state for example AL (Alabama),
> all John Bolton names in only AL will show up.
> So if there are
On Mon, May 6, 2013 at 12:38 PM, Linus Pettersson
wrote:
> Hi!
>
> I watched this video the other day: http://vimeo.com/39498553
> where they argue that it may be a better idea to roll your own
> authentication solution using has_secure_password instead of using, for
> instance, Devise.
>
> I star
On Wed, May 1, 2013 at 9:48 AM, HaCos wrote:
> Hello, i am looking for a technique or even better a gem that i could use in
> order to design a step-by-step guide for my members when they first sign-in.
> To be more specific i need a way to guide users after they register in order
> to to show the
On Thu, May 2, 2013 at 10:51 PM, Emil S wrote:
> How about migrating your user table using ActiveRecord?
> I can get the data of a user from the old DB in some way, and migrate into
> the new DB using this :
>
> User.create(email: 't...@test.com', password: 'unencrypted password from old
> db', pa
On Apr 29, 2013 5:40 PM, "akkdio" wrote:
>
> am a beginner and I appreciate an answer to help me understand where my
knowledge gap is:
>
> The app is to display a post. The posts belong to a category (appetizers,
entrees...) My thought was to use scopes to display all the appetizers on
the posts
I am here in PDX this week @ RailsConf2013; anyone else attending?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegrou
On Wed, Apr 24, 2013 at 2:47 PM, Colin Law wrote:
> On 24 April 2013 19:00, Dave Castellano wrote:
>> Hi,
>> I’m an amateur learning rails and could use some help…
>> I created a join table “pictures_questions”
>> and append to it in the following way:
>> @picture = Picture.new(params[:picture])
On Thu, Apr 25, 2013 at 1:30 AM, Arvind Vyas wrote:
> I am also looking for part time job ,i have 1.3 year of exp in rails
>
>
> On Thu, Apr 25, 2013 at 4:39 AM, Numan Ilyas wrote:
>>
>> Hi guys,
>>
>> I am looking for part time job as learning experience for rails. I've
>> total 6 years of exper
On Thu, Apr 25, 2013 at 10:18 AM, Pat Johnson wrote:
> No, there is no "ruby generate" or "ruby new" commands that would generate a
> skeleton program. Ruby itself is just like any other compiled on the fly
> interpreted programming language. You can simply write code in a text file
> and execute
On Wed, Apr 24, 2013 at 2:56 AM, jane d. wrote:
> I have been looking for answer.but nothing quite fit my description. My
> rails app keeps crashing with routing error.
Look at what it's trying parse as a route:
ActionController::RoutingError (no route found to match
"/javascripts/prototype.lite
On Apr 22, 2013 6:52 AM, "Javier Quarite" wrote:
>
>
> On Sun, Apr 21, 2013 at 11:49 PM, tamouse mailing lists <
tamouse.li...@gmail.com> wrote:
>>
>> The RSpec book from pragprog actually spends a bit of time discussing
rails testing using both cucumb
On Apr 21, 2013 10:53 AM, "ROR User" wrote:
>
> Can anyone suggest an advanced resource for learning proper ROR testing?
I've been writing web apps with ROR for nearly a year now but have been
neglecting to write the proper test suites as I'm not sure exactly what
requires a test and what doesn't
On Apr 21, 2013 11:24 AM, "Frederick Cheung"
wrote:
>
> On Sunday, April 21, 2013 3:15:37 PM UTC+1, tamouse wrote:
> > On Sun, Apr 21, 2013 at 6:39 AM, Wins Lin wrote:
> >
> > > Dheeraj Kumar wrote in post #1106428:
> >
> >
> > Seeds have been in Rails for quite some time; how does information
>
On Sun, Apr 21, 2013 at 6:39 AM, Wins Lin wrote:
> Dheeraj Kumar wrote in post #1106428:
>> You could refer the edge guides:
>> http://edgeguides.rubyonrails.org/migrations.html#migrations-and-seed-data
>
> Thank you. Didn't know about this resource.
Seeds have been in Rails for quite some time;
On Apr 19, 2013 2:26 AM, "Jan van der Pas" wrote:
>
> I got my S3 credentials defined in my production.rb, linkwise to this
heroku post. However when I'm testing it on Heroku, I get this error in my
logs: "ArgumentError (missing required :bucket option)". What could be
wrong?
>
with the complete
On Fri, Apr 19, 2013 at 10:50 AM, Ronald Zhang wrote:
> Currently the javascript contains functions for a calendar app so users
> do not have to insert the date manually
>
> Here is some of the HTMl
>
>
> readonly style = "border:0px;">
> "cal.select(document.forms['calendar1'].date1,'anchor1'
Well done. I haven't had a chance to do more than glance at the
README, but it looks quite complete and useful.
On Wed, Apr 17, 2013 at 1:22 PM, mónster wrote:
> Hello,
> Along back I've been developing my very first open source project and
> finally decided to publish it. It is a star rating sys
On Tue, Apr 16, 2013 at 7:15 PM, Wins Lin wrote:
> I have such a code in my "create" method:
>
> respond_to do |format|
> if user.save()
> format.html {redirect_to(:action => "show")}
> else
> format.js
> end
> end
>
> So if save() is successful I want full redirect to a different pa
Did you ask this question twice?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, sen
On Sun, Apr 14, 2013 at 7:19 PM, wrote:
> I'm working on a project at the moment that has a rather unusual requirement
> and I'm hoping to get some advice on the best way to handle it or even some
> pointers to info that can help me build a solution.
>
> Ok, so this is what I need to do. The appl
On Mon, Apr 15, 2013 at 7:10 AM, Wins Lin wrote:
> tamouse mailing lists wrote in post #1105626:
>> On Sun, Apr 14, 2013 at 6:31 PM, tamouse mailing lists
>> wrote:
>> The Rails application is not brought up and shut down for every
>> request. It lives in a long runn
On Sun, Apr 14, 2013 at 6:31 PM, tamouse mailing lists
wrote:
> On Sun, Apr 14, 2013 at 5:26 PM, Wins Lin wrote:
>> How to set some variables on bootstap? I need a few variables to be
>> initialized with default values every request. For example in ZF there
>> is a class Bo
On Sun, Apr 14, 2013 at 5:26 PM, Wins Lin wrote:
> How to set some variables on bootstap? I need a few variables to be
> initialized with default values every request. For example in ZF there
> is a class Bootstrap whose methods are called automatically every
> request. Is there something similar
On Apr 4, 2013 8:51 PM, "Dave Castellano" wrote:
>
> Hi,
>
> I am slowly learnng ROR and wondering if anyone can point me in the
> general direction to go with the following problem.
>
> User is filling out a form (question model) and needs to leave the page
> to select an image from a gallery (
On Apr 5, 2013 9:18 PM, "haxuan lac" wrote:
>
> I tried create 1 pseudo by Faker but it's very slow.
> I fake 1000 record about 20 minutes.
> And 1 record take me 2-3 hours.
> please give me some advice about this time I had done with fake pseudo
> data(1000 and 1 pseudo).
> Thanks
On Apr 4, 2013 7:20 AM, "Johan Vauhkonen" wrote:
>
> Is it a viable alternative to separate client and back end?
>
> To have AngularJS take care of everything client side and Rails take care
of only the back end?
>
Absolutely, you can go so far as to have your SPA initial download be a
static ind
On Apr 4, 2013 1:35 AM, "Johan Vauhkonen" wrote:
>
> I think for me, using Sinatra would mean I'd have to write a lot of
things that Rails bring which I don't want to
Agreed; we were talking alternatives and for his needs, he really only
needed the pipeline.I was just trying to illustrate that st
On Tue, Apr 2, 2013 at 8:43 AM, Johan Vauhkonen
wrote:
> I'm planning on creating a single page application using AngularJS on the
> client side.
>
> I'm not sure if I should use Rails as it is, or the Rails API gem or some
> other solution.
> Anyone got any suggestions on how you structured your
On Tue, Apr 2, 2013 at 6:31 PM, Barry wrote:
> Ok guys, finally gem caused several issues, which was hard to debug, so
> finally I just set up my own jquery validation, and it was no so hard as I
> imagined. Like this solution, not always gems are suitable, and it was good
> practice)
Now that yo
I am unfamiliar with this concept of separating helper functions. In
the interest of DRY code, what you're doing makes complete sense to
me.
On Tue, Apr 2, 2013 at 4:54 PM, John Merlino wrote:
> I came across some posts which postulate that it's undesirable to
> share helper methods across contro
On Wed, Mar 27, 2013 at 3:26 AM, tamouse mailing lists
wrote:
> On Tue, Mar 26, 2013 at 9:15 AM, Paulo Ribeiro
> wrote:
>>
>>
>> Em terça-feira, 26 de março de 2013 01h49min23s UTC-3, tamouse escreveu:
>>>
>>> On Mon, Mar 25, 2013 at 2:51 PM, Paulo Ribe
On Tue, Mar 26, 2013 at 9:15 AM, Paulo Ribeiro wrote:
>
>
> Em terça-feira, 26 de março de 2013 01h49min23s UTC-3, tamouse escreveu:
>>
>> On Mon, Mar 25, 2013 at 2:51 PM, Paulo Ribeiro
>> wrote:
>> > Em segunda-feira, 25 de março de 2013 14h39min09s UTC-3, Matt Jones
>> > escreveu:
>> >> On Sund
On Mon, Mar 25, 2013 at 11:59 PM, Avi wrote:
> I have an array:-
>
> session[:new] = Array.new
> session[:new] = [1, 2, 3, 4] - I am keeping these object ids in session.
>
> I want to delete one id from the session - as session[:new] = [1, 2, 3]
> How to delete one of the ids ?
Off the top of m
On Mon, Mar 25, 2013 at 2:58 PM, Y S wrote:
> How should we approach the problem is the tab character is to be included in
> the string. For example,
>
> <% c = '\t' %>
>
> just shows the tab as a space.
The tab char (\t) is not converted by html_escapes() as far as I know;
if you want to make i
On Mon, Mar 25, 2013 at 2:51 PM, Paulo Ribeiro wrote:
> Em segunda-feira, 25 de março de 2013 14h39min09s UTC-3, Matt Jones
> escreveu:
>> On Sunday, 24 March 2013 12:59:00 UTC-4, Paulo Ribeiro wrote:
>>>
>>> Thx for your reply. I want to make the models more light. I want to make
>>> models what
Can you run git remote -v and see what it says?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to
> On Sat, Mar 23, 2013 at 5:37 PM, tamouse mailing lists
> wrote:
>>
>> On Sat, Mar 23, 2013 at 1:20 PM, Jodi Showers wrote:
>> > I'm just about to scale to a second app server - so good timing
>> >
>> > in which ways did you find cron to be a p
On Sat, Mar 23, 2013 at 4:46 PM, Colin Law wrote:
> On 23 March 2013 21:37, tamouse mailing lists wrote:
>> ...
>> The primary issue when you bring in multiple servers is
>> synchronization of the workers. Cron can't do that, as it only knows
>> about one serve
see the short and long term options before
> them.
>
> J
>
>
>
>
> On Sat, Mar 23, 2013 at 2:01 PM, tamouse mailing lists
> wrote:
>>
>> Please bottom post (appending). It makes responses easier to find.
>>
>> On Sat, Mar 23, 2013 at 10:32 A
Please bottom post (appending). It makes responses easier to find.
On Sat, Mar 23, 2013 at 10:32 AM, Jodi Showers wrote:
> that is a good thinking, just like normalization - then comes a time to
> denormalize
>
> we have millions of visitors per month - and about 50 asynch processes -
> having on
On Fri, Mar 22, 2013 at 10:23 AM, Michael Armistead
wrote:
> Well, I ended up solving the problem. After doing the things stated in this
> thread, and many other things found online with no success, I rebooted my
> computer. When it booted up, Ubuntu told me it was running in low graphics
> mode e
On Fri, Mar 22, 2013 at 11:55 AM, Barry wrote:
> sorry, problem is solved, I just needed so set up unique id for every
> element I create
Unique id's are in the standard:
http://www.w3.org/TR/html401/struct/global.html#h-7.5.2
> and than every new element has needed lenght
What does this part m
On Thu, Mar 21, 2013 at 8:41 PM, Michael Armistead
wrote:
> I think There's a problem with my database. It looks like the majority of my
> tests say "could not find table 'users'". I have tried "rake db:setup" and
> "rake db:migrate" but no luck.
> Thanks!!!
>
>
> On Thursday, March 21, 2013 6:24:
On Thu, Mar 21, 2013 at 4:27 PM, Y S wrote:
> Say I have a hidden field inside a form which tells me which quote character
> some file uses. The details are irrelevant, but I need to have a string
> value that could have a double quote. Assume we have a variable
>
> @quote_char = '"'
>
> Now, in t
On Thu, Mar 21, 2013 at 2:27 PM, mukul saharia wrote:
> friends,
> i want to host my rails app on godaddy... can any one tell me complete
> process...
What kind of service? Hosted web, VPS, ??
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" gr
On Tue, Mar 19, 2013 at 1:37 AM, haxuan lac wrote:
> I'm create a login form using Bcrypt-ruby but have error:
>
> uninitialized constant User::BCrypt
What is User::BCrypt supposed to be? Where/how did you define it? (It
appears you didn't, actually. Show some code so we have a half a
chance of h
On Wed, Mar 20, 2013 at 8:11 PM, Dheeraj Kumar
wrote:
> Jordan Bedwell is correct. Ruby's constants are /meant/ to be not changed,
> but you can define a constant and change its value later. Ruby will produce
> a warning 'already initialized constant'
>
> Also note that your constant's internal re
On Tue, Mar 19, 2013 at 7:36 AM, Barry wrote:
> I'm trying to follow DRY way of coding. I decided to make my code cleanes.
> Basically, app has 2 types of what to show to user, depending on content. So
> I want to set up inside show method conditional, and then two different
> inner methods for co
On Wed, Mar 20, 2013 at 6:35 AM, wrote:
> Thank you for the suggestion, yes of course I would have given up years ago
> without RBs fantastically clear material.
>
> However edit multiple does not work on multi-level nested attributes. Yet
> edit a single multi-level nested attribute (using updat
On Sun, Mar 17, 2013 at 7:33 PM, Dave Aronson
wrote:
> On Sun, Mar 17, 2013 at 5:51 PM, tamouse mailing lists
> wrote:
>
>> Good grief. Please don't include an *entire* digest in your messages.
>
> You think he's even still around to bother reading your repl
On Sun, Mar 17, 2013 at 4:08 AM, Anthony Ortiz wrote:
> Hey guys,
Good grief. Please don't include an *entire* digest in your messages.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving em
On Sat, Mar 16, 2013 at 4:26 AM, Colin Law wrote:
> On 16 March 2013 04:21, Jason Hsu, Android developer
> wrote:
>> I'm going through Michael Hartl's Rails tutorial, and I am happy to report
>> that (as of the end of section 7) I'm able to get things working. (That
>> said, I skipped the sectio
come to new land, expect everyone speak your language...
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To
On Thu, Mar 14, 2013 at 9:06 AM, Scott Ribe wrote:
> On Mar 14, 2013, at 2:52 AM, tamouse mailing lists wrote:
>
>> Hmmm... dunno whether to laugh or cry...
>
> Definitely don't cry.
>
> Unless you're the customer ;-)
I know Kristen was being rather tongue-in
On Thu, Mar 14, 2013 at 5:16 AM, Sumit Srivastava
wrote:
> Also I did try it this way,
>
> arel = OfferOrder.includes(:a, :b).joins(:c).select('(CASE WHEN
> ISNULL(c.fields2) THEN c.fields1 ELSE c.field2 END) ')
>
> Got error,
>
> ActiveModel::MissingAttributeError (missing attribute: a_id):
>
>
>
On Fri, Mar 15, 2013 at 4:08 AM, Colin Law wrote:
> On 15 March 2013 07:56, Ryo Saeba wrote:
>> All right, this is what I get, wehen I type "rails g Model DingDong"
>
> Please don't top post, it makes it difficult to follow the thread.
> Insert your replies inline in the previous message. Rememb
Hmmm... dunno whether to laugh or cry...
On Mar 13, 2013 2:15 PM, "Petite Abeille" wrote:
>
> On Mar 13, 2013, at 8:08 PM, "Shefali S." wrote:
>
> > How to extract table contents from a doc,docx and pdf using ruby on
> > rails .Please reply as soon as possible
> > Thank You..!!!
>
> Try this:
seq', 1)"
> end
>
> & on console by :- heroku pg:reset DATABASE --confirm MY_APP_NAME
>
> So, now every time I reset, I need to run the migration & it works.
>
>
> On Wed, Mar 13, 2013 at 2:16 AM, tamouse mailing lists <
tamouse.li...@gmail.com> wr
On Tue, Mar 12, 2013 at 7:58 AM, avinash behera
wrote:
> The main reason I am doing this is :-
> I am uploading some images to s3 amazon.
> I am saving those images in s3 through rake script.
> I have two tables having images.
> Both are saving in one folder in s3.
Do you mean they are being save
On Fri, Mar 8, 2013 at 10:24 PM, Roman Mirk wrote:
> Could you please be more specific or provide an example if possible?
Read up on rspec mocks in the RSpec book, and there are several
examples around the net.
--
You received this message because you are subscribed to the Google Groups "Ruby
On Fri, Mar 8, 2013 at 7:54 PM, Arman Mirk wrote:
> I'm using Attachment_fu for a model that has 3 attachment fields with s3
> for storage.
>
> Unit testing this model is very slow. This made me think if there is a
> way to switch between storage types during testing and
> development/production?
On Thu, Mar 7, 2013 at 1:44 PM, Shlockdoc wrote:
> Bump
>
> On Mar 5, 11:40 am, Shlockdoc wrote:
>> We are a Digital Engagement shop based in the NYC area. We are looking for
>> a two RoR developers to join our team of designers and developers
>> preferably a SR and Jr, - salary commensurate wit
On Tue, Mar 5, 2013 at 1:32 PM, byrnejb wrote:
> I have this code in a working RoR-3.1 app:
>
> # save
> #
> # Override AR save method to catch DBMS specific errors
> # such as uniqueness constraint violations
> def save
> super
> rescue ActiveRecord::StatementInvalid => this_exc
On Tue, Mar 5, 2013 at 3:48 PM, Michael Graff wrote:
> Howdy.
>
> I have these models:
>
> User, field "mundane_name"
> user has_one :instructor_profile (may or may not exist)
>
> instructor_profile, field "sca_name"
> belongs_to :user
>
> I would like to craft a search on these fields, which is e
On Mon, Mar 4, 2013 at 12:10 AM, Salman Tariq Mirza wrote:
> Has anyone tried to use metroUI with rails. Ive been following the
> ruby.railstutorial.org and understood how twitter bootstrap was used.
> Similarily I installed the metro-ui-rails gem, included it in my gemfile and
> imported it in my
On Thu, Feb 28, 2013 at 4:33 AM, Colin Law wrote:
> On 28 February 2013 10:28, Pardeep Dhingra wrote:
>> Hey,
>>
>> According to me you should not use any IDE. Instead if you are ubuntu
>> you can use gedit with its plugins for autocomplete and indentation
>> etc...
>
> I like jEdit for the edito
On Tue, Feb 26, 2013 at 2:42 PM, Matt Jones wrote:
> Plan.where('user_id NOT IN ?', [3,4,7])
Slight correction:
Plan.where('user_id NOT IN (?)', [3,4,7])
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group an
1 - 100 of 155 matches
Mail list logo