Displaying 20 results from an estimated 2000 matches similar to: "What do I need to learn Ruby, Rails, JavaScript, AJAX?"
2006 Mar 18
5
How would I get the previous id from the database?
I''m trying to get the id of the previous row prior to what would be
input and then rename an uploaded image to that row number.
So say the previous row was 19 and the image in that row was named
19.jpg, I''m wanting to name the next uploaded image as 20.jpg since the
row that would be added then would be 20.
Right now I''ve just got:
@new_tutorial =
2006 Jun 17
5
Having trouble listing tiers of categories
I have categories and sub-categories in a table called "categories".
Every row has a "parent" field to note if the entry is the sub-category
of another (never goes deeper than 1 level).
So there might be something like this:
id | name | parent
1 Dog 0
2 Pug 1
3 Siamese 5
4 Shih Tzu 1
5 Cat 0
6 Wiener Dog 1
7 Persian
2011 Oct 21
3
multi site with RoR
HI All,,
I have just installed rails. Also I have installed spree,spree-multi-
domains gems.
I could run the sample spree app but on the admin of spree could not
find facility to add multi domains, I have googled but could not find
how to create multi domains using rails or spree. If there are any
ruby gems to achieve or any other way please let me know. Below is
what I wanted exactly
1) A
2009 Nov 14
4
how to login in spree
any one cn tell me how i cn login in spree
when i click on login button it redirects t0 https://localhost/login
--
Posted via http://www.ruby-forum.com/.
2012 Jun 21
2
Rails production load order giving uninitialized constant (NameError)
Hi,
I have a related but separate question. Again, please redirect me if I''m
in the wrong place.
I''ve been getting this error in production (on Heroku) only (it happens
when the application is loading):
2012-06-21T09:30:19+00:00 app[web.1]: /app/app/controllers/spree/
checkout_controller_decorator.rb:3:in `block in '': uninitialized constant
2006 Aug 16
2
What would the ideal server setup be?
I have one dedicated server for all my various projects (both PHP as
well as Rails) and will be getting a second server to run only the Rails
apps on.
What is the ideal server setup in terms of RAM vs. Processor Speed (more
RAM or more processor speed?) and should I use Apace, lighttpd, mongrel,
or what?
I''ve got the money to afford something pretty solid...just don''t know
2017 Sep 30
4
Converting SAS Code
On 9/29/2017 3:37 PM, Rolf Turner wrote:
> On 30/09/17 07:45, JLucke at ria.buffalo.edu wrote:
>
> <SNIP>
>
>>
>> The conceptual paradigm for R is only marginally commensurate with
>> that of
>> standard statistical software.
>> You must immerse yourself in R to become proficient.
>
> Fortune nomination.
For newer list members wondering what
2015 Aug 25
2
mail_log proposal: recipient
As Timo seems to be on a committing spree; I'd like to propose that in
the mail_log_fields the recipient would be available.
Like probably many dovecot users, my MUAs save to Sent; so when grepping
the log to learn etc. that would just be useful
Kind regards
--
peter
2006 Feb 21
7
Self-referencial habtm relationship
Heyo!
I am setting up a self-referencial habtm relationship with the users
of my app. I am using Chad Fowler''s "Rails Recipes" to get me started,
and everything works great with the join table "people_friends". I add
friends by doing somebody.friends << somebodyelse. However, with my
app, there is an approval process so my join table has columns
person_id,
2006 Feb 06
4
Relationship Question (STI)
My girlfriend and I have been dating for two years, and she just told me she
has an STI...
Actually, I currently have three different models, like: Dog, Whale, Monkey
They all have some similar attributes, but, they are unique enough to
break into their own models. I could use STI, but I think the table would
just have too many columns.
Now, I wanted to let the Dog''s, Whale''s
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format.
By default my application is using forgot_password_en.rhtml template.
I read in the ROR Recipes book
"ActionMailer sees these templates, recognizes the pattern in their
file names, and automatically sets the MIME type of the message to
multipart/alternative and adds
2012 Dec 04
2
403 Forbidden from nginx when unicorn started in debug mode
I am using nginx with unicorn as a reverse proxy.
Has been fantastic, but needed to look through some code
for first time.
Using ruby 1.9.3p194 with rails 3.2.9, development mode with ssl enabled,
I start unicorn with -d
...and it does not get served up by nginx.
Any ideas, or more information needed?
Thanks!
Jet
Below is my unicorn.rb for developent:
# config/unicorn.rb
env =
2009 May 04
2
Spree 0.8.0 Released (Rails eCommerce Project)
Spree is an open source ecommerce solution for Ruby on Rails.
http://spreecommerce.com/articles/2009/05/04/spree-0-8-0-released/
I''ll also be leading a BOF at RailsConf where we will be chatting
about Rails commerce so hopefully I''ll see you there!
Sean Schofield
Twitter: @railsdog
2006 Feb 25
2
newbie advice
Hello Everyone -
Newbie here. My programming experience is primarily SQL, SAS (if anyone
knows that), and a little tiny bit of ASP. Want to get going on Rails.
Any suggestions? Was thinking of "4 Days on Rails". Thoughts?
Thanks - Brian
2006 Mar 08
3
migrations schema_info table, Rails Recipes Bug?
I have the rails recipes book and i was going through the migrations
recipe. Everything seemed to work except for the last part in trying to do
a rake migrate with a migration file version 1 and the schema_info version
set to 0. Without the force attribute, the rake migration fails, as
expected.
So the recipe says to run this:
ruby script/runner
2005 Sep 26
1
Fwd: Rapid GUI Development with QtRuby
Just in case some of you missed it, Pragmatic Programmers just published
their first of a series of short, PDF-only books. This one is on qtRuby.
It would be great to have something like this for wxRuby. I don''t think
wxRuby is quite ready to this (yet), but I thought I''d plant the idea.
Curt
---------- Forwarded message ----------
From: Dave Thomas <dave@pragprog.com>
2017 Sep 29
2
Converting SAS Code
I wish to second this approach to learning R.
I tried for several years to translate other stat programs or provide
parallel analyses with R.
This dabbling-in-R approach did not work
.
When a transferred to a research unit that could ill afford commercial
software, I devoted my entire time to doing everything in R.
This was a difficult learning process, but I eventually became proficient
2006 Mar 31
3
RJS templates outputting bloated code?
I''m an RJS newbie. I just did the tutorial at
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates, and
then used wget to look at the output the RJS template generates. This is
what I got:
try {
new Insertion.Bottom("list", "<li>Fox</li>");
new Effect.Highlight("list",{duration:1});
Element.update("header", "RJS
2006 Apr 06
8
Fastest learning path to RoR
hi!
with a 4GL background, wanting to learn RoR, what is the fastest
learning path i should take? should i go grab a RoR tutorial, and learn
Ruby along the way, or start with plain Ruby first?
thanks for any inputs!
2006 Feb 06
35
ROR Recipes Beta
Yesterday I got the beta version of ROR recipes book and the recipes are great. For those of you still thinking about it, I highly recommend the book.
The only thing I wish is that if there were some more recipes (greedy me), especially AJAX related and installing an application within your current application.
For instance, it will be great to see how one can implement the typo blog