|
Walrus791 posted:Whats everyone using as a Rails IDE? I just installed Apanta/RadRails for Eclipse and its looking very convenient, if a little shallow. Still more then SciTE/Notepad++, but still, a nice IDE goes a long ways. I just use Textmate and have autotest, mongrel, and script/console open in different terminals as I develop. More window clutter but I never got into Eclipse/Radrails.
|
# ¿ Aug 9, 2007 14:08 |
|
|
# ¿ May 3, 2024 15:14 |
|
Roloc posted:The IIS one seems like a huge PITA which concerns me. Not that I am a huge fan of IIS but some of my clients are, anyone know a better way? That said I have a Rails app in production on a Windows server (internal app for the company I work for). I have Apache on the front proxying to mongrel for this one app, and proxying to IIS for the other apps on the server. It's not pretty but it works and the app gets low traffic so performance isn't really an issue.
|
# ¿ Aug 10, 2007 13:23 |
|
Nolgthorn posted:
code:
|
# ¿ Aug 10, 2007 20:14 |
|
Fork posted:
|
# ¿ Aug 10, 2007 21:22 |
|
MrSaturn posted:Speaking of all this migration business, how can I use rake db:migrate to just... add a field to a table? I'm still heavily developing my application, and I often find the need to add columns (as I develop features), and I don't want to have to wipe the contents of my db each time. Often rake db:migrate doesn't seem to do anything. code:
|
# ¿ Aug 10, 2007 21:33 |
|
MrSaturn posted:Ah, thanks!
|
# ¿ Aug 10, 2007 21:45 |
|
skidooer posted:I fail to see how one library can ruin another. ActiveRecord is not a required dependency. You can use whatever persistence layer you want. And is Og any better? Are there any other ORMs for Ruby besides those two?
|
# ¿ Aug 11, 2007 17:40 |
|
atastypie posted:Hobo is brand new, so there is very little up to date documentation let alone an entire book. You could print off the docs from the website and reference those instead. code:
vg8000 fucked around with this message at 13:26 on Aug 23, 2007 |
# ¿ Aug 23, 2007 02:33 |
|
cYp posted:I'm either going to get started learning PHP or Ruby on rails. I'm currently leaning towards php. Will this be a mistake in the future?
|
# ¿ Aug 23, 2007 23:29 |
|
crazysim posted:Many books have multiple authors. There are so many real world examples on this that I don't even know where to start with an example. I'm just a newbie, but habtm on first glance would make sense to me on that. There's also has_many :through, which can let you flesh out the relationship a more than a habtm can.
|
# ¿ Aug 24, 2007 13:37 |
|
scr0llwheel posted:So I'm thinking of starting a project with RoR but have one question: Is there a suitable way to do user registration, authentication, etc? Granted, I haven't looked into it very much, but all authentication stuff seems to be either the entire site or nothing. What I'd specifically like to do is to protect an admin control panel along with admin-only elements/controls on an otherwise publicly viewable page. There's a plugin called restful_authentication that's pretty much the standard if you're not going to write something custom. It'll give you all the username/password/login/session stuff, and you can build from that.
|
# ¿ Aug 28, 2007 21:07 |
|
shopvac4christ posted:How would one deploy a common library to all sites on a server? I ask the question this way because I'm coming from ASP.NET, where if we updated something in a global utilities library, we could just copy the DLL to separate projects, or even better, import it server-wide. I'm guessing it has something to do with plugins and maybe using capistrano to update the plugins for each site in a special deployment, but beyond that I wouldn't have any ideas. Either the same plugin copied to each site, or if possible build a gem and install that on the system for all the apps to use.
|
# ¿ Sep 7, 2007 20:21 |
|
brb buddy posted:I really don't care about using REST, as I don't even really know (or care to know at this point) what it is. I just want a simple way to authenticate multiple users, and restful_authentication does this with a method (logged_in? I believe it is). So basically I call that method and that's my security check. It's also got e-mail account activation, and it's scalable. I want a plugin to do that, if not I'll have to waste a lot of time learning how Rails handles cookies and sessions, and while that seems like an interesting future project I'd prefer if the user system would just work now. brb buddy posted:And Railscasts sucks, making it seem like it's easy as pie to get this plugin to work...It's not, the plugin doesn't loving work as intended.
|
# ¿ Sep 11, 2007 14:06 |
|
roop posted:Does anyone have a sample application that implements a one-to-many and has views that allow them to be created at once? Should I be combining the two above into one Model? Or should they be two separate models with a single controller?
|
# ¿ Sep 11, 2007 14:35 |
|
MrSaturn posted:does it go as /public/info.rhtml /public/contact.html The URL for this should end up like this: http://example.com/contact.html If you wanted some dynamic stuff on the page you'll have to make a new controller/view.
|
# ¿ Sep 13, 2007 23:03 |
|
Hammertime posted:
code:
|
# ¿ Sep 24, 2007 17:41 |
|
atastypie posted:I find my helpers are generally empty, with things like this going in my model: I tend to do the same thing.
|
# ¿ Oct 10, 2007 20:59 |
|
|
# ¿ May 3, 2024 15:14 |
|
MrSaturn posted:I'm very suddenly having a very odd problem. I'm running instant rails on vista, and as of last night, I can't start up mySql because Mysql's port is 3306, Apache's is 80 (unless you changed the ports they listen on). You might have another web server running on port 80 or something, check that first.
|
# ¿ Oct 10, 2007 23:58 |