One thing to check in these situations is whether there's an MTU
(https://en.wikipedia.org/wiki/Maximum_transmission_unit) mismatch
with the don't-fragment bit set. This is lower level than your app
stack but often just mentioning those words can be enough to get other
folks to fix the issue :-)
Are you in the US?
On Mon, Jun 18, 2018, 23:44 Karthikeyan A K <77mi...@gmail.com> wrote:
> Hello All,
>
> One of the startups I am coding for is expanding. We are looking for
> freelance Ruby on Rails backend developers who can put in at lease 25 hours
> a week. The work is completely
On Monday, June 4, 2018 at 7:30:31 PM UTC+9, fugee ohu wrote:
>
> You don't want to accomodate them in allowing them to input the special
> character do you?
>
There's no reason I can see of in our app (or almost any Rails app) you'd
want to allow the "\b" character as user input.
--
You
Somehow, users sometimes enter "\b" (the backspace character) into our web
forms.For the sake of example, say they enter in "Foo\bbar" into a form.
This then gets saved to the database as is "Foo\bbar". When I later include
this in my html, it gets added as is (so my html contains "Foo\bbar").
Hello, I'm facing quite a strange issue with GCP (Google Cloud Platform)
deployments.
I've recently updating my Ruby on Rails application to 5.2 (was 5.1.4
previously) and I started using the the encrypted credentials feature
(which I believe is amazing, to be honest), but it looks like GCP is
Hi Hassan,
Thanks for the tips below, they helped.
Finally fixed it by instantiating the angular app in application.js rather
than in it's own app.js.coffee file and letting sprockets handle it.
Thanks for your time.
Paul
On Friday, April 8, 2016 at 4:32:07 PM UTC+1, Hassan Schroeder wrote
;, ["$scope","$log", ($scope, $log) -> ]
Any help is greatly appreciated, and if you need anything more from me, let
me know and I'll be happy to supply.
Thanks
Paul
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk&qu
gt;
>
>
> Sandeep Jain
>
> Software People Inc.
>
> <mailto:sandeep.j...@softwarepeople.us>
> sandeep.j...@softwarepeople.us
>
> Ph: 631-863-0299, 631-410-4741, 631-921-2111 C Fax: 631-574-3122
>
> Twitter: Software People @spincjobs
>
&g
Using web workers in Rails seems a little awkward. I was wondering if
anyone had a nice work flow.
1) Since they are loaded directly, they can't be in the asset pipeline, so
I created a folder under public: public/web_workers/
Disadvantages:
- The web worker code isn't minimized.
- The web
Nevermind... I was using the <%= message %> variable instead of <%=
@message %> O_o
On Monday, September 7, 2015 at 6:42:37 PM UTC-4, Patrick Paul-Hus wrote:
>
> Hi, I have a pretty standard and simple mailer model with its own html and
> text view. When I send it, the
Hi, I have a pretty standard and simple mailer model with its own html and
text view. When I send it, the content of the email is actually sorta
headers and the actual message isn’t there.
The mailer looks like this:
class TestMailer < ApplicationMailer
default from: "nore...@foobar.com"
Hi Nilay,
Ruby and Rails are changing all the time, so it's always useful to post
which versions you are using, if I missed it in your post I apologise.
On Tuesday, August 11, 2015 at 7:03:24 PM UTC+1, nilay singh wrote:
Thanks for reply paul . If you can suggest me how should I use
be to add some Javascript that removes the link from the
page after the first click before the request is sent to the browser, and
maybe display an indictor/spinner that informs the user that the click is
currently being handled.
Regards
Paul
--
You received this message because you are subscribed
https://github.com/ejschmitt/delayed_job_web
On Mon, Jul 20, 2015 at 1:04 PM, Jeff Pickhardt pickha...@gmail.com wrote:
Thanks. What I'm looking for is an admin dashboard to manage your queues,
see how many jobs are in it, see what's failing, etc. Do you know of
anything like that?
--
Sent
https://gist.github.com/
On Mon, Jul 20, 2015 at 2:31 PM, Elizabeth McGurty emcgur...@gmail.com wrote:
This solution is very interesting to me. I was not aware that I could post
a link to GitHub and get help. I think that it would be hugely useful to
many folks here, if you could elaborate.
there's a somewhat experimental
pg_audit extension that uses triggers to maintain a change log. Oracle has
AUDIT, etc..
Paul
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice
--
You received this message
to orchestrate
some sequence during the original job scheduling.
On Tue, Jun 16, 2015 at 10:28 PM, amtest vgrkrish...@gmail.com wrote:
Hi, thanks for the response paul, actually i am trying to do export the
csv, so that will take bit time to getting data and push to s3 that's why i
put the delay, so
If you want to sequence the jobs why not just make it one job where the
second job is just a method call? One important purpose of asynchronous
jobs like this is to get them out of the way of a main loop. By making it
one job you've done that so there's no obvious (so far) pressure to punt
the
and well implemented features like a UI to select which files
to check in, easy to review diffs, refactoring, completion, etc. Totally
worth the small outlay considering the time it saves me.
https://www.jetbrains.com/ruby/
Paul, vi power user since 1992 (later vim)
On Mon, Feb 24, 2014 at 11:12 AM
On Mon, Jun 1, 2015 at 7:03 AM, Gm javapla...@gmail.com wrote:
Thank you all.
Paul, I end up doing this:
sorted_by_second_value = Hash[hash.sort_by { |_, v| v[1] }]
sorted_by_second_value.to_a.reverse.to_h
Here you're converting an array (hash.sort_by { |_, v| v[1] }) to a hash (
Hash
.
sorted_by_second_value
.map { |_, v| v[1] }
= [74, 75, 84, 99, 100]
Paul
On Fri, May 29, 2015 at 6:24 AM, Gm javapla...@gmail.com wrote:
Hi, I have this hash:
hash = { 4049=[4133, 100], 5814=[4075, 84], 382543=[4064, 74],
382544=[4065, 99], 382545=[4066, 75] }
I need to sort (DESC
The crawler has to be able to see it. Publish more content perhaps based on
user content, eg tag clouds or have users' published content be public.
Doesn't sound like your site is a match for AdSense frankly though.
On Sunday, May 24, 2015, Anthony Galli li...@ruby-forum.com wrote:
First off,
/banner/chset.c
contains encoding of the letters and then
http://www.opensource.apple.com/source/text_cmds/text_cmds-9/banner/banner.c
uses it. It goes further by correctly printing drop characters like j, p,
q, etc.
HTH,
Paul
On Thu, May 7, 2015 at 5:29 PM, Miles Morales nncy.vall...@gmail.com
Whom are you sending email to? Because which service you connect to,
and how, affects how Gmail restricts the recipients.
Make sure you're lined up fully with,
https://support.google.com/a/answer/176600?hl=en
Specifically you may need to be using, smtp-relay.gmail.com
HTH,
Paul
On Thu, Apr 23
I know this is an old thread, but did you ever find a solution? I'm
having an identical issue with Rails sending a zip file!
--
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 unsubscribe from
I have a rails app (v4.1.6 at the moment) that uses Devise. I have
configured a subfolder to serve up WordPress for a blog. That is:
http://my_app.com -- rails app
http://my_app.com/blog -- wordpress
That is all working great, but I also want the user to be logged in to
wordpress when logged
Now you can find it at Github
https://github.com/Aufree/bootstrap-material-design.
I have a bit of work to do before it will be done, but if you'd like to
contribute feel free to fork it.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
to do that with curl. I'll
post if my experiments look useful, but if anyone has already figured it
out, please post.
On Sun, Jul 20, 2014 at 10:43 AM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
On Sat, Jul 19, 2014 at 7:11 PM, Paul p...@nines.org wrote:
I'm getting a 500 error on my
I'm getting a 500 error on my website that obviously comes from a bot. I'd
like to duplicate that error so that I can try to suppress the email
message that gets sent to me.
The error contains:
(ArgumentError) invalid %-encoding
It's in a show action, so it's a GET command. I can see the URL
belong to the core app, or would I have
ANOTHER engine with the models in?
thanks,
Paul.
--
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
Hi,
There was a post in this forum saying it is possible to stream the way
of transition the sidekiq job status back to browser with rails 4, but
it didn't include too much details.
Does anyone know anything about this new technology? What is it and how
to let browser know a job is completed. I
Hassan Schroeder wrote in post #1140691:
Is 'ActionController::Live' what you're referring to?
Yes, this is the module/class that pushes notifications back to client
browser side using the server-sent event. That's COOL!
--
Posted via http://www.ruby-forum.com/.
--
You received this
the development environment - this is the massively
personal choice that is likely the big decision maker for most.
There's no point justifying what each person likes any more than their
taste in broccoli but ultimately if you really like OS X or Linux,
well... :)
Paul
On Tue, Feb 25, 2014 at 2:00 PM
Unfortunately, it's not open source. Sorry.
On Fri, Feb 7, 2014 at 1:30 AM, tamouse pontiki tamouse.li...@gmail.comwrote:
On Tue, Feb 4, 2014 at 10:50 PM, Paul p...@nines.org wrote:
Don't know about best practice, but what I did was create a single page
app, with an appcache manifest
On Wednesday, February 5, 2014 4:46:54 PM UTC, Frederick Cheung wrote:
On Wednesday, February 5, 2014 2:26:45 PM UTC, paul h wrote:
Hi All,
I need to post data from my rails app to an external web form I do not
have any control over. There is no public API, so I was wondering if anyone
to tagging a
cuke scenario with a @javascript tag in order to automate page interaction.
I will start looking into Selenium this weekend, but was wondering if
anyone had any ideas that might point me in one or other direction.
Thanks
Paul Hollyer
--
You received this message because you
Don't know about best practice, but what I did was create a single page
app, with an appcache manifest. Since the browser URL changes, you still
have to create a bunch of entries in your routes file, but they all point
to the same controller method. Then all the user data is stored in
LocalStorage
I have tried to use the rails console to run the following:
Teamplayer.includes(:live_player)
It tells me:
Association named 'live_player' was not found on Teamplayer; perhaps you
misspelled it?
so the tables are named live_players and teamplayers respectively. There
is also another table
I'm sorry you didn't get any responses to this. I've been trying to get it
working, too. If you make any progress, please let us know on this list. --
For my purposes, it was sufficient to create a once-a-minute polling loop
to ping the server, but I'd much rather figure out how to do the server
I don't know for sure, but I used devise, but then I ended up cutting out
most of the functionality, so it probably would have been easier to go a
different route. I don't use any of the devise views except for the link
that one clicks from their email when they forget their password. The login
Hi Everyone,
I'm trying to use Rails 4's ActionController::Live functionality to do a
chat-like interface in my app. I've found a number of blog posts, all of
which seem to be based on Aaron Patterson's original one here:
http://tenderlovemaking.com/2012/07/30/is-it-live.html
Has anyone here
to
make the parameter safe.
On Wed, Sep 11, 2013 at 7:21 PM, Robert Walker li...@ruby-forum.com wrote:
Paul Lynch wrote in post #1121214:
If, in your view, you are expecting params[:name] to be a string, but
actually rails has parsed it into {.=1234} (or something more
malicious
ISE here. Silently
swallowing ArgumentError or NoMethodError is a terrible idea, since it also
can obscure real bugs.
If you really want that behavior, try:
%= sanitize(params[:name]) rescue '' %
--Matt Jones
On Thursday, 12 September 2013 09:26:18 UTC-5, Paul E. G. Lynch wrote
in code to check that the params values I am sanitizing are
strings, but it seems like it would be better for sanitize to handle that,
and perhaps just return the empty string if the processing of the input
raises an exception.
--Paul
--
You received this message because you are subscribed
One more thing. The host has a www directory. When using rails the app
is in another directory with a .htaccess and a RewriteRule in www
pointing to the rails app and dispatch.fcgi. Could it be a problem with
that?
--
Posted via http://www.ruby-forum.com/.
--
You received this message
Additional question.
Should I run RAILS_ENV=production bundle exec rake assets:precompile
on the server? Must I do that each time I add a new asset, e g image or
new css file?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
Walter Davis wrote in post #1115639:
I find that I do have to do this after every change at the server. I
don't need to include the environment, it seems to be a default somehow.
rake assets:precompile is enough (I do run rvm on the server, so the
bundle exec part is inferred as well).
Not sure the solution is in here but
https://www.altamiracorp.com/blog/employee-posts/rails-3
Didn't work for me. I really need a solution to the path problem :-)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
My page doesn't load css and images in production mode. For css I get a
path like /appname/assets/ What's wrong? Should be without
appname.
I tried the config.assets.paths but no luck.
My app runs on fcgi (if that could mean anything) on the production
server. Locally I use passenger and
Any problems sending a lot of emails with rails like this:
@members = Members.all
@members.each do |m|
MemberMailer.message(@message, m).deliver
end
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
It sounds like you might want to implement an offline app instead. There is
browser support in most browsers for appcache to make all your assets
available offline, and there is the javascript call navigator.onLine that
will tell you if you are offline or not. You'll have to create and maintain
an
.
So, mydomain.com already exists and is a PHP app. I want
mydomain.com/railsto point to my rails app.
It looks like this case was handled in Rails 2 with relative_url_root, but
that was deprecated a long time ago. What is the standard way to do this
now?
TIA,
Paul
--
You received this message
Fernando Jesus wrote in post #571:
Have u solve your problem? i have the same issue U_U but without
coffeeScript
Sorry to say, but no I didn't. Still looking.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
Colin Law wrote in post #1110840:
On 31 May 2013 18:36, Paul Bergstrom li...@ruby-forum.com wrote:
If I have a file in view /test called index.js.erb and in it a simple
alert(hello) shouldn't that run when I go to /test/index? It doesn't.
I think you will have to give us a bit more detail
Colin Law wrote in post #1110879:
On 1 June 2013 09:00, Paul Bergstrom li...@ruby-forum.com wrote:
Not sure how I can explain it better. It's a very simple example.
When going with the browser to an action with a corresponding *.js.erb
file should the JavaScript in that file run, like alert
or we can't help.
Thank you for your help. Should this basic example work, onload? Or
should I skip extra js-files?
Am 01.06.2013 11:52 schrieb Paul Bergstrom li...@ruby-forum.com:
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
Colin Law wrote in post #1110893:
On 1 June 2013 10:52, Paul Bergstrom li...@ruby-forum.com wrote:
in the browser to see what is being sent to the browser.
Colin
Doesn't seem to load. This should be so incredible simple. Why doesn't
it work? What have I missed?
No idea what you mean
Norbert Melzer wrote in post #1110905:
2013/6/1 Paul Bergstrom li...@ruby-forum.com
I mean, if your js-file is /app/views/test/index.js.erb AND your
controller
is /app/controllers/test_controller.rb AND you have route setup to the
index action, then you have to point your browser to
http
I have a strange problem that I suspect has to do with compiling. In
development do I need to do anything after I change the code? It still
loads a file, looking in the log file, that it shouldn't. I thought
Rails didn't compile in development.
--
Posted via http://www.ruby-forum.com/.
--
You
Kad Kerforn wrote in post #1110772:
what do you mean by : Rails didn't compile in development
can you copy your log file in a gist ,
Le vendredi 31 mai 2013 09:45:09 UTC+2, Ruby-Forum.com User a crit :
Not sure what I mean. I just assumed it was something with compiling.
But it could be
Colin Law wrote in post #1110802:
On 31 May 2013 15:21, Paul Bergstrom li...@ruby-forum.com wrote:
I'm kind of lost with Rails right now. What was simple and beautiful is
no more. I've never understood REST and I think this is what gives me
problems.
That and this compiling thing
If I have a file in view /test called index.js.erb and in it a simple
alert(hello) shouldn't that run when I go to /test/index? It doesn't.
--
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
I'm able to get json data back after an ajax call and into a div. But
how do I get it into html, styled format?
How about getting it to a partial? How do I do that in coffeescript?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
Benjamin Iandavid Rodriguez wrote in post #1110828:
For what you say.
After you get the JSON response the partial is already processed so you
just need to update the correct div with the correct info.
Use jQuery's append or html properties to update your divs.
2013/5/31 Paul Bergstrom li
I get an array back in json. That is loaded but without styling.
--
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 unsubscribe from this group and stop receiving emails from it, send an email
a = [1,2,3,4,5,6,7,8,9,10]
b= a.reverse.reverse
On Friday, May 24, 2013 9:56:39 AM UTC-4, Ruby-Forum.com User wrote:
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
b = a + [nil]
p a #= [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
p b #= [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, nil]
Is there any other Rubyist way to
.,
ObjectSpace.each_object(Class).map { |x| x.to_s =~ /(.*)::.*stri/i and $1
}.compact.uniq
= [RubyToken]
ObjectSpace.each_object(Class).to_a.map(:to_s).grep(/(.*)::.*stri/i) { |_|
$1 }.uniq
= [RubyToken]
Paul
--
You received this message because you are subscribed to the Google Groups Ruby
How do I define the route for a search form that goes to index action,
which either lists all, if no search, or the search result?
--
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 unsubscribe
+ for Devise
I don't want to do all the work that has already been done for me by the
Devise authors.
I always generate the views and modify them to suit, and I generally create
a partial to handle whatever login/logout/account settings links I need,
but other than that, when writing a standard
Hi folks!
I'd like to add an acts_as_notified method to my active record classes
(User, for example) which, when the model is saved triggers some other
function, such as sending a mail, updating a log table etc.
I can get the acts_as_notified class method in the class, but I'm having
two
Hi!
I have a User model that has_and_belongs_to_many Awards.
The awards table is pre-populated, and there's an awards_users join
table.
In a rails console, If I do:
u = User.find(1)
u.awards.build(award_id: 1)
the award model that is built is an actual Award model, not an
AwardsUser model, like
| 1
4 | 1
6 | 1
Thanks.
Colin Law wrote in post #1106758:
On 24 April 2013 09:19, Paul Ols li...@ruby-forum.com wrote:
the award model that is built is an actual Award model, not an
AwardsUser model, like I would expect.
so, If i try to save the user model
appear to
be common.
I suppose I could move the images into the /public folder. I think that
would work, but I'd prefer to keep my configuration as standard as possible.
Thanks,
Paul
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group
I would create a dummy rails app, add Devise and your model (probably
called User), then study the differences between your current database and
the one in your dummy app.
I did that migration a couple of years ago and didn't have any problem. You
just have to set the type of password hash
This doesn't quite answer your question, sorry, but this is how I handle
it...
For security reasons, I don't start my single page app unless the user is
already logged in. That is, my splash screen is just a regular page, using
Devise, and it does the standard POST when the user clicks the log in
Looks pretty cool at first glance! I was thinking of abstracting something
similar. I'll try this first, though, on my next new project.
On Tue, Mar 19, 2013 at 2:37 PM, gsw garyswea...@gmail.com wrote:
Hey,
We've been using this for a while in production and just made some
security fixes
Hi guys
I'm a Rails virgin. I'm pulling my hair out with the install.
So far, I've checked that I've got Ruby Gems, see below;
Pauls-iMac:~ pauldoran$ ruby --version
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
Pauls-iMac:~ pauldoran$ gem --version
1.3.6
I'm trying to
Has anyone started seeing the error:
Disallowed type attribute: symbol
when making an ActiveResource call after upgrading to Rails 3.2.11?
I found this blog entry which seems to completely describe the problem:
me an example of what could replace myvalue that would create
havoc?
On Mon, Jan 14, 2013 at 9:26 AM, Jordon Bedwell envyge...@gmail.com wrote:
On Mon, Jan 14, 2013 at 8:23 AM, Paul p...@nines.org wrote:
Has anyone started seeing the error:
Disallowed type attribute: symbol
I found
! Sigh.
On Mon, Jan 14, 2013 at 10:36 AM, Jordon Bedwell envyge...@gmail.comwrote:
On Mon, Jan 14, 2013 at 8:59 AM, Paul p...@nines.org wrote:
I didn't quite understand what you mean by that fix. Do you mean the
security fix which caused my problem or the patch described by the blog
post
I have 2 distinct types of users (artists and curators) in my system and
they currently share all associations (eg has_one :portfolio).
However, a curator shouldn't have a portfolio so I would like to only
add that association when required. Obviously I could just return nil
for that method, but
that a product
belongs to a category so you
can use
I think the OP wants to hide the params completely, could he not create a
route that uses POST instead of GET?
Paul
.com/produce/fresh-georgia-peaches--17/product_details or
.com/categories/produce/products/fresh-georgia-peaches--17
in
each other.
Anyway, if anyone else does understand what that caveat actually means I'd
appreciate an explanation.
On Tuesday, November 13, 2012 4:17:22 AM UTC, Greg Donald wrote:
On Mon, Nov 12, 2012 at 4:09 AM, Paul Leader
pa...@paulleader.co.ukjavascript:
wrote:
Perhaps I'm bing a bit
is correct
then I'm not sure I understand how the example works.
Paul
--
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@googlegroups.com.
To unsubscribe from this group, send email
/
If your start-up idea might even win some money :-)
http://aws.amazon.com/startupchallenge/
Paul (who hosts also at Joyent, Rackspace and Bytemark (UK))
On Fri, Nov 9, 2012 at 9:57 AM, why-el wael.khobala...@gmail.com wrote:
Hey friends!
I am in the process of drafting a funding proposal
Hi,
I've been googling around looking for a good approach to doing live
updates of my webpage. I've got a fairly extensive application
already, using traditional rails, and I'd like to have a page update
in real-time, hopefully without having to completely rewrite the app.
One of the most
?
Thanks
Paul
--
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@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
To view
Hi Norbert,
Thanks for the reply, but can you elaborate a little?
On Wednesday, October 10, 2012 12:01:54 PM UTC+1, Norbert Melzer wrote:
Am 10.10.2012 09:47 schrieb paul h pa...@hollyer.me.uk javascript::
# I want to be able to display 'bar' on the contacts page
= link_to Contacts
On Wednesday, October 10, 2012 2:30:57 PM UTC+1, jim wrote:
On Wed, Oct 10, 2012 at 11:25 PM, paul h pa...@hollyer.me.ukjavascript:
wrote:
Hi Norbert,
Thanks for the reply, but can you elaborate a little?
On Wednesday, October 10, 2012 12:01:54 PM UTC+1, Norbert Melzer wrote:
Am
On Wednesday, October 10, 2012 5:38:15 PM UTC+1, Matt Jones wrote:
On Wednesday, 10 October 2012 06:25:25 UTC-7, paul h wrote:
Hi Norbert,
Thanks for the reply, but can you elaborate a little?
On Wednesday, October 10, 2012 12:01:54 PM UTC+1, Norbert Melzer wrote:
Am 10.10.2012 09
On Wednesday, October 10, 2012 3:28:45 PM UTC+1, Colin Law wrote:
On 10 October 2012 08:47, paul h pa...@hollyer.me.uk javascript:
wrote:
Hi,
rails 3.2.8
I must be missing something basic (and it's been driving me mad) because
I
am trying to send one additional data
The docx format is actually pretty simple: it is a zipped set of
files. If you upload it to the server and unzip it, you'll see a set
of xml files. You can poke around and figure out the format, or you
can find a spec on line.
On Thu, Sep 13, 2012 at 9:59 AM, Walter Lee Davis wa...@wdstudio.com
I have, `Transaction.has_many :splits` and Split has an amount:integer
attribute. I'd like to ensure `transaction.splits = [split1, split2, ...]`
the sum of split1.amount + split2.amount + ... == 0. It seems that
:before_add deals with the splits one by one whereas what I'd like is to
check
I think you want member instead of collection in your route file.
Collection is used when you don't have an id; member when you do. In
your controller you are using the id, so I'm assuming that this is the
URL you want: http://localhost:3000/customers/1/friend
On Mon, Aug 13, 2012 at 3:42 PM,
Hi,
I am looking into a new website, and a couple of potential designers
have recommened using a CMS system built on Ruby on Rails ... one
bespoke and one using a customised version of Refinery.
Both have said that we will own all the coding, and so will in theory
have the flexibility to host
index: GET /media
show: GET /media/1
edit: GET /media/1/edit
create: POST /media
update: PUT /media/1
new: GET /media/new
delete: DELETE /media
I wasn't suggesting changing this retroactively, I was supporting the
idea of the inflections gem, which would allow an replacement that
didn't require
On Tuesday, July 31, 2012 7:48:08 PM UTC+1, Jodi wrote:
I suggest opening your console - type Person - the console should return
to_s of the class - if not, the person model isn't in your path
better yet, take this opportunity to write some tests
+1
- start with the Person model
I just ran into this again. I attempted to call a model Media, and
the scaffold decided that I meant Medium, which is NOT a newspaper;
it's someone who has a seance. As I often do in that situation, I
deleted those files and changed the name to MediaOutlet so it would
act predictably.
Here's what
of
assumptions based on the info supplied)
BW
Paul
--
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@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk
I personally don't like them at all. I wish that all the names of
controllers/routes/models were unchanged so I wouldn't have to keep
deciding whether I needed to pluralize. I remember spending too much
time trying to straighten out a scaffold I created named series. It
created a model named
1 - 100 of 637 matches
Mail list logo